Revision 270 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/src/main/java/org/gvsig/tools/swing/api/dynobject/dynfield/JDynFieldComponent.java
JDynFieldComponent.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Geographic Information System of the Valencian Government |
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
2 |
*
|
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
|
4 |
* of the Valencian Government (CIT)
|
|
5 |
*
|
|
6 |
* This program is free software; you can redistribute it and/or
|
|
7 |
* modify it under the terms of the GNU General Public License
|
|
8 |
* as published by the Free Software Foundation; either version 2
|
|
9 |
* of the License, or (at your option) any later version.
|
|
10 |
*
|
|
11 |
* This program is distributed in the hope that it will be useful,
|
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 |
* GNU General Public License for more details.
|
|
15 |
*
|
|
16 |
* You should have received a copy of the GNU General Public License
|
|
17 |
* along with this program; if not, write to the Free Software
|
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
19 |
* MA 02110-1301, USA.
|
|
20 |
*
|
|
21 |
*/
|
|
22 | 22 |
/* |
23 | 23 |
* AUTHORS (In addition to CIT): |
24 | 24 |
* 2010 Institute of New Imaging Technologies (INIT): |
... | ... | |
40 | 40 |
|
41 | 41 |
/** |
42 | 42 |
* @author <a href="mailto:reinhold@uji.es">cmartin</a> |
43 |
* |
|
43 |
*
|
|
44 | 44 |
*/ |
45 | 45 |
public interface JDynFieldComponent extends ValueField, ComponentService { |
46 | 46 |
|
47 |
public static class PARAMETERS{ |
|
48 |
public static String MANAGER = "manager"; |
|
49 |
public static String DYNFIELD = "dynobject"; |
|
50 |
public static String PARENT = "dynfield"; |
|
47 |
public static class PARAMETERS { |
|
48 |
|
|
49 |
public static String MANAGER = "manager"; |
|
50 |
public static String DYNFIELD = "dynobject"; |
|
51 |
public static String PARENT = "dynfield"; |
|
51 | 52 |
} |
52 | 53 |
|
53 | 54 |
public void addValueChangedListener(ValueChangedListener listener); |
... | ... | |
63 | 64 |
* @return the DynField |
64 | 65 |
*/ |
65 | 66 |
public DynField getDynField(); |
66 |
|
|
67 |
|
|
67 | 68 |
public Object getFieldValue(); |
68 |
|
|
69 |
|
|
69 | 70 |
public boolean isMandatory(); |
70 | 71 |
|
71 | 72 |
/** |
... | ... | |
73 | 74 |
* |
74 | 75 |
* @return the DynObject |
75 | 76 |
*/ |
76 |
// public DynObject getDynObject();
|
|
77 |
// public DynObject getDynObject();
|
|
77 | 78 |
|
78 | 79 |
public boolean isValid(); |
79 | 80 |
|
... | ... | |
94 | 95 |
|
95 | 96 |
public void setFieldValue(Object value); |
96 | 97 |
|
97 |
|
|
98 |
|
|
99 | 98 |
} |
Also available in: Unified diff