27 | {
28 | public Query getQuery();
29 | public Object[] getAssemblyParameters();
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/paging/ItemListPageControl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui.paging;
19 |
20 |
21 | import javax.swing.JComponent;
22 |
23 |
24 | /**
25 | *
26 | * @author XDEV Software
27 | * @since 4.0
28 | */
29 | public abstract class ItemListPageControl extends AbstractPageControl
30 | {
31 | public ItemListPageControl(P pageable)
32 | {
33 | super(pageable);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/identity/IdentityContext.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.identity;
19 |
20 | /**
21 | * Objects of this type can have an Identity of type I set for the context they stand for.
22 | * @author Thomas Muenz
23 | *
24 | */
25 | public interface IdentityContext extends IdentityReceivingContext
26 | {
27 | public Identity getContextIdentity();
28 | }
29 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/sqlengine/types/ValueReadingQuery.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.sqlengine.types;
19 |
20 | import com.xdev.jadoth.sqlengine.exceptions.SQLEngineException;
21 |
22 | /**
23 | * @author Thomas Muenz
24 | *
25 | */
26 | public interface ValueReadingQuery extends Query
27 | {
28 | @Override
29 | public R execute(final Object... parameters) throws SQLEngineException;
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/xdev/io/event/SocketEvent.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.io.event;
19 |
20 |
21 | import java.util.*;
22 |
23 |
24 | public class SocketEvent extends EventObject
25 | {
26 | private int port;
27 |
28 |
29 | public SocketEvent(Object source, int port)
30 | {
31 | super(source);
32 |
33 | this.port = port;
34 | }
35 |
36 |
37 | public int getPort()
38 | {
39 | return port;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/util/file/FileProcessor.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.util.file;
19 |
20 | import java.io.File;
21 |
22 |
23 | /**
24 | * The Interface FileProcessor.
25 | *
26 | * @author Thomas Muenz
27 | */
28 | public interface FileProcessor
29 | {
30 |
31 | /**
32 | * Process file.
33 | *
34 | * @param file the file
35 | */
36 | public void processFile(File file);
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/xdev/db/locking/LockTimeoutEvent.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.db.locking;
19 |
20 |
21 | import java.util.EventObject;
22 |
23 |
24 | /**
25 | * LockTimeoutEvent.
26 | *
27 | * @author XDEV Software (RHHF)
28 | * @since 4.0
29 | *
30 | */
31 | public class LockTimeoutEvent extends EventObject
32 | {
33 |
34 | public LockTimeoutEvent(Object source)
35 | {
36 | super(source);
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/laf/AbstractLookAndFeel.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui.laf;
19 |
20 |
21 | import javax.swing.JFrame;
22 |
23 |
24 | /**
25 | *
26 | * @author XDEV Software
27 | * @since 3.2
28 | */
29 | public abstract class AbstractLookAndFeel implements LookAndFeel
30 | {
31 | @Override
32 | public void extendedStateWillChange(JFrame frame, int extendedState)
33 | {
34 | // do nothing by default
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/sqlengine/internal/ColumnValueAssignment.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | /**
19 | *
20 | */
21 | package com.xdev.jadoth.sqlengine.internal;
22 |
23 |
24 | /**
25 | * @author Thomas Muenz
26 | *
27 | */
28 | //public class ColumnValueAssignment extends QueryPart implements ColumnValueTuple
29 | public interface ColumnValueAssignment extends ColumnValueTuple
30 | {
31 | public void setValue(Object value);
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaTypeMemberDefinition.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 | /**
21 | * @author Thomas Muenz
22 | *
23 | */
24 | public interface JavaTypeMemberDefinition extends JavaTypeMemberDescription, JavaCodeAssembable
25 | {
26 | public void registerAtOwner(JavaTypeDefinition javaClass);
27 | public void setOwner(JavaTypeDefinition javaClass);
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/ItemListOwner.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui;
19 |
20 |
21 | /**
22 | * Identifies objects as a holder or user of a {@link ItemList}.
23 | *
24 | * @author XDEV Software
25 | */
26 | public interface ItemListOwner
27 | {
28 | /**
29 | * Returns the associated {@link ItemList} of this object.
30 | *
31 | * @return The associated {@link ItemList} of this object.
32 | */
33 | public ItemList getItemList();
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAccessibleObjectDefinition.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 |
21 |
22 | /**
23 | * Represents an AccessibleObject (super class of Field, Method and Constructor)
24 | * @author Thomas Muenz
25 | *
26 | */
27 | public interface JavaAccessibleObjectDefinition
28 | extends JavaAccessibleObjectDescription, JavaClassMemberDefinition
29 | {
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/lang/functional/aggregates/Aggregate.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.lang.functional.aggregates;
19 |
20 | import com.xdev.jadoth.lang.functional.Operation;
21 |
22 | /**
23 | * @author Thomas Muenz
24 | *
25 | */
26 | public interface Aggregate extends Operation
27 | {
28 | @Override
29 | public void execute(E element);
30 |
31 | public R yield();
32 |
33 | public Aggregate reset();
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/sqlengine/interfaces/AssembableSqlExpression.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.sqlengine.interfaces;
19 |
20 | import com.xdev.jadoth.sqlengine.dbms.DbmsDMLAssembler;
21 |
22 | /**
23 | * @author Thomas Muenz
24 | *
25 | */
26 | public interface AssembableSqlExpression
27 | {
28 | public StringBuilder assemble(
29 | DbmsDMLAssembler> dmlAssembler, StringBuilder sb, int indentLevel, int flags
30 | );
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/XdevToolBarSeparator.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui;
19 |
20 |
21 | import javax.swing.JToolBar;
22 |
23 |
24 | @BeanSettings(useXdevCustomizer = true)
25 | public class XdevToolBarSeparator extends JToolBar.Separator
26 | {
27 | public XdevToolBarSeparator()
28 | {
29 | super();
30 | }
31 |
32 |
33 | public XdevToolBarSeparator(int orientation)
34 | {
35 | super();
36 | setOrientation(orientation);
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAccessibleObjectDescription.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 |
21 |
22 | /**
23 | * Represents an AccessibleObject (super class of Field, Method and Constructor)
24 | * @author Thomas Muenz
25 | *
26 | */
27 | public interface JavaAccessibleObjectDescription
28 | extends JavaClassMemberDescription, JavaAnnotatedElementDescription
29 | {
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaTypeMemberDescription.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 | import java.lang.reflect.Member;
21 |
22 | /**
23 | * @author Thomas Muenz
24 | *
25 | */
26 | public interface JavaTypeMemberDescription extends JavaModifierableCompilationObjectDescription, Member
27 | {
28 | public JavaTypeDescription getOwnerType();
29 |
30 | public int getNestingLevel();
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/collections/Collecting.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.collections;
19 |
20 | /**
21 | * @author Thomas Muenz
22 | *
23 | */
24 | public interface Collecting
25 | {
26 | /**
27 | * Add the passed element to be added to this Collecting instance.
28 | * Returns true if this instance has been changed as a consequence of the call.
29 | * @param e
30 | * @return
31 | */
32 | public boolean add(E e);
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/XdevPage.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui;
19 |
20 |
21 | import java.awt.LayoutManager;
22 |
23 |
24 | /**
25 | * @deprecated replaced by {@link XdevWindow}, will be removed in a future
26 | * release
27 | */
28 | @Deprecated
29 | public class XdevPage extends XdevWindow
30 | {
31 | public XdevPage()
32 | {
33 | super();
34 | }
35 |
36 |
37 | public XdevPage(LayoutManager layout)
38 | {
39 | super(layout);
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaClassMemberDescription.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 | /**
21 | * Represents a Java member. A member is a {@link JavaCompilationObject} that belongs to a {@link JavaCompilationUnit}.
22 | *
23 | * @author Thomas Muenz
24 | *
25 | */
26 | public interface JavaClassMemberDescription extends JavaCompilationObject
27 | {
28 | public JavaClassDefinition getOwnerClass();
29 | }
30 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/cql/CqlAggregator.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.cql;
19 |
20 | import com.xdev.jadoth.collections.Collecting;
21 | import com.xdev.jadoth.lang.Equalator;
22 |
23 | /**
24 | * @author Thomas Muenz
25 | *
26 | */
27 | public interface CqlAggregator> extends CqlProjector
28 | {
29 | public boolean aggregate(E element, Equalator equalator);
30 |
31 | public CqlAggregator reset();
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/JavaSourceDefinable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java;
19 |
20 |
21 | /**
22 | * The Interface JavaSourceDefinable.
23 | *
24 | * @author Thomas Muenz
25 | */
26 | public interface JavaSourceDefinable {
27 |
28 | /**
29 | * Assemble java source definition.
30 | *
31 | * @param sb the sb
32 | * @return the string builder
33 | */
34 | public StringBuilder assembleJavaSourceDefinition(StringBuilder sb);
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/lang/aspects/Aspect.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.lang.aspects;
19 |
20 | import com.xdev.jadoth.lang.signalthrows.ThrowBreak;
21 | import com.xdev.jadoth.lang.signalthrows.ThrowContinue;
22 | import com.xdev.jadoth.lang.signalthrows.ThrowReturn;
23 |
24 | /**
25 | * @author Thomas Muenz
26 | *
27 | */
28 | public interface Aspect
29 | {
30 | public Object invoke(C context) throws ThrowBreak, ThrowContinue, ThrowReturn;
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/lang/functional/iterables/RandomArrayIterator.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.lang.functional.iterables;
19 |
20 | /**
21 | * @author Thomas Muenz
22 | *
23 | */
24 | public class RandomArrayIterator //implements Iterator
25 | {
26 | private final E[] array;
27 |
28 | int count;
29 |
30 | public RandomArrayIterator(final E[] array, final int count)
31 | {
32 | super();
33 | this.array = array;
34 | this.count = count;
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/src/main/java/xdev/db/locking/LockTimeoutListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.db.locking;
19 |
20 |
21 | import java.util.EventListener;
22 |
23 |
24 | /**
25 | * EventListener to get informed about lock timeout.
26 | *
27 | * @author XDEV Software (RHHF)
28 | * @since 4.0
29 | *
30 | */
31 | public interface LockTimeoutListener extends EventListener
32 | {
33 |
34 | public void timeoutImminent(LockTimeoutEvent e);
35 |
36 |
37 | public long getNotificationThreshold();
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCallableObjectDescription.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 | /**
21 | * Method, Constructor
22 | * @author Thomas Muenz
23 | *
24 | */
25 | public interface JavaCallableObjectDescription
26 | extends JavaAccessibleObjectDescription, JavaClassMemberDescription
27 | {
28 | public Iterable iterateParameters();
29 | public Iterable iterateDeclaredThrowables();
30 | }
31 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCommentLine.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 | /**
21 | * @author Thomas Muenz
22 | *
23 | */
24 | public interface JavaCommentLine extends JavaComment
25 | {
26 | public class Implementation extends JavaComment.Implementation implements JavaCommentLine
27 | {
28 |
29 | public Implementation(final String commentString)
30 | {
31 | super(commentString);
32 | }
33 |
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/util/strings/AppendableAssembable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.util.strings;
19 |
20 | /**
21 | * The Interface AppendableAssembable.
22 | *
23 | * @param the generic type
24 | * @author Thomas Muenz
25 | */
26 | public interface AppendableAssembable
27 | {
28 | /**
29 | * Assemble string.
30 | *
31 | * @param appendable the appendable
32 | * @return the a
33 | */
34 | public A assembleString(A appendable);
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/laf/MetallLookAndFeel.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui.laf;
19 |
20 |
21 | import javax.swing.UIManager;
22 |
23 |
24 | public class MetallLookAndFeel extends AbstractLookAndFeel
25 | {
26 | @Override
27 | public void setLookAndFeel() throws LookAndFeelException
28 | {
29 | try
30 | {
31 | UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
32 | }
33 | catch(Exception e)
34 | {
35 | throw new LookAndFeelException(e);
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/sqlengine/annotations/ReferenceColumn.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.sqlengine.annotations;
19 |
20 | import java.lang.annotation.ElementType;
21 | import java.lang.annotation.Retention;
22 | import java.lang.annotation.RetentionPolicy;
23 | import java.lang.annotation.Target;
24 |
25 |
26 |
27 | /**
28 | * The Interface ReferenceColumn.
29 | */
30 | @Retention(RetentionPolicy.RUNTIME)
31 | @Target({ElementType.FIELD})
32 | public @interface ReferenceColumn {
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/xdev/lang/Nullable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.lang;
19 |
20 |
21 | import java.lang.annotation.*;
22 |
23 |
24 | /**
25 | * A program element annotated @Nullable may have or return a
26 | * null value and should be null-checked before it is used.
27 | *
28 | * @author XDEV Software Corp.
29 | *
30 | */
31 |
32 | @Target({ElementType.FIELD,ElementType.PARAMETER,ElementType.METHOD})
33 | @Retention(RetentionPolicy.RUNTIME)
34 | public @interface Nullable
35 | {
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaClassMemberDefinition.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.codegen.java.codeobjects;
19 |
20 | /**
21 | * Represents a Java member. A member is a {@link JavaCompilationObject} that belongs to a {@link JavaCompilationUnit}.
22 | *
23 | * @author Thomas Muenz
24 | *
25 | */
26 | public interface JavaClassMemberDefinition extends JavaClassMemberDescription, JavaCodeAssembable
27 | {
28 | public boolean setOwner(JavaClassDefinition javaClass);
29 | }
30 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/sqlengine/exceptions/NoDatabaseConnectionFoundException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.sqlengine.exceptions;
19 |
20 |
21 |
22 | /**
23 | * The Class NoDatabaseConnectionFoundException.
24 | *
25 | * @author Thomas Muenz
26 | */
27 | public class NoDatabaseConnectionFoundException extends SQLEngineException {
28 |
29 | /** The Constant serialVersionUID. */
30 | private static final long serialVersionUID = -6809786966137871167L;
31 |
32 |
33 |
34 |
35 |
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/lang/Copyable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | /**
19 | *
20 | */
21 | package com.xdev.jadoth.lang;
22 |
23 | /**
24 | * Copyable objects can create copies of themselves that will behave exacely as they do.
25 | * This does not neccessarily mean that all data is copied. E.g. fields that do internal caching and are set on
26 | * demand could be left out in the copy process.
27 | *
28 | * @author Thomas Muenz
29 | *
30 | */
31 | public interface Copyable
32 | {
33 | public Copyable copy();
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/locking/LockRenovator.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui.locking;
19 |
20 |
21 | import xdev.db.locking.PessimisticLock;
22 |
23 |
24 | /**
25 | * Renovator for regenerating a {@link PessimisticLock}s duration.
26 | *
27 | * @author XDEV Software jwill
28 | * @since 4.0
29 | */
30 | public interface LockRenovator
31 | {
32 | /**
33 | * Regenerates the given lock.
34 | *
35 | * @param lock
36 | * the lock to regenerate.
37 | */
38 | void renovateLock(PessimisticLock lock);
39 | }
40 |
--------------------------------------------------------------------------------
/src/main/java/com/xdev/jadoth/lang/functional/controlflow/_intControllingProcessor.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package com.xdev.jadoth.lang.functional.controlflow;
19 |
20 | import com.xdev.jadoth.lang.signalthrows.ThrowBreak;
21 | import com.xdev.jadoth.lang.signalthrows.ThrowContinue;
22 | import com.xdev.jadoth.lang.signalthrows.ThrowReturn;
23 |
24 |
25 | /**
26 | * @author Thomas Muenz
27 | *
28 | */
29 | public interface _intControllingProcessor
30 | {
31 | public void process(int i) throws ThrowBreak, ThrowContinue, ThrowReturn;
32 | }
33 |
--------------------------------------------------------------------------------
/src/main/java/xdev/ui/DatePopupOwner.java:
--------------------------------------------------------------------------------
1 | /*
2 | * XDEV Application Framework - XDEV Application Framework
3 | * Copyright © 2003 XDEV Software (https://xdev.software)
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU Lesser General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU Lesser General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Lesser General Public License
16 | * along with this program. If not, see .
17 | */
18 | package xdev.ui;
19 |
20 |
21 | import java.awt.Component;
22 |
23 | import xdev.ui.text.TextFormat;
24 |
25 |
26 | public interface DatePopupOwner
27 | {
28 | public DatePopupCustomizer getDatePopupCustomizer();
29 |
30 |
31 | public TextFormat getTextFormat();
32 |
33 |
34 | public Component getComponentForDatePopup();
35 |
36 |
37 | public String getText();
38 |
39 |
40 | public void setText(String text);
41 |
42 |
43 | public void hideDatePopup();
44 | }
45 |
--------------------------------------------------------------------------------