Revision 306 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/org.gvsig.tools.swing.serv.field/src/main/java/org/gvsig/tools/swing/serv/field/JBooleanDynFieldComponentFactory.java
JBooleanDynFieldComponentFactory.java | ||
---|---|---|
27 | 27 |
* http://www.geoinfo.uji.es |
28 | 28 |
* Universitat Jaume I, Spain |
29 | 29 |
*/ |
30 |
|
|
31 |
/** |
|
32 |
* |
|
33 |
*/ |
|
34 | 30 |
package org.gvsig.tools.swing.serv.field; |
35 | 31 |
|
36 | 32 |
import org.gvsig.tools.dataTypes.DataTypes; |
... | ... | |
46 | 42 |
* Swing Factory for the DynField of type boolean. |
47 | 43 |
* |
48 | 44 |
* @author 2010 - <a href="cordinyana@gvsig.org">C?sar Ordi?ana</a> - gvSIG Team |
49 |
* @author 2010 - <a href="mailto:reinhold@uji.es">Cristian Mart?n </a> - |
|
50 |
* gvSIG Team |
|
45 |
* @author 2010 - <a href="mailto:reinhold@uji.es">Cristian Mart?n </a> - gvSIG Team |
|
51 | 46 |
* @version $Id$ |
52 |
*
|
|
47 |
* |
|
53 | 48 |
*/ |
54 | 49 |
public class JBooleanDynFieldComponentFactory extends |
55 | 50 |
AbstractJDynFieldComponentFactory implements JDynFieldComponentFactory { |
56 | 51 |
|
57 | 52 |
private static final String FACTORY_DESCRIPTION = ""; |
58 | 53 |
|
59 |
/* |
|
60 |
* (non-Javadoc) |
|
61 |
* |
|
62 |
* @seeorg.gvsig.tools.swing.serv.field.AbstractJDynFieldComponentFactory# |
|
63 |
* createJDynFieldComponent() |
|
64 |
*/ |
|
54 |
public JDynFieldComponent createJDynFieldComponent(ValueField parent, |
|
55 |
boolean writable) throws ServiceException { |
|
56 |
// TODO: take into account the writable flag |
|
57 |
return new JBooleanDynFieldComponent(parent); |
|
58 |
} |
|
65 | 59 |
|
66 |
public JDynFieldComponent createJDynFieldComponent(ValueField parent) |
|
67 |
throws ServiceException { |
|
68 |
return new JBooleanDynFieldComponent(parent); |
|
69 |
} |
|
70 |
|
|
71 |
/* |
|
72 |
* (non-Javadoc) |
|
73 |
* |
|
74 |
* @see |
|
75 |
* |
|
76 |
* |
|
77 |
* |
|
78 |
* org.gvsig.tools.swing.spi.AbstractSwingServiceFactory#getFactoryDescription |
|
79 |
* () |
|
80 |
*/ |
|
81 | 60 |
@Override |
82 | 61 |
public String getFactoryDescription() { |
83 | 62 |
return FACTORY_DESCRIPTION; |
Also available in: Unified diff