|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyEditorSupport com.atomikos.beans.DefaultPropertyEditor
public class DefaultPropertyEditor
A default Property Editor. Instances can be constructed with custom component and tags.
Constructor Summary | |
---|---|
DefaultPropertyEditor(PropertyEditorComponent component,
String[] tags)
Constructs a new instance. |
Method Summary | |
---|---|
Component |
getCustomEditor()
|
String |
getJavaInitializationString()
|
String[] |
getTags()
Any restricted value list. |
boolean |
isPaintable()
Check if paintable. |
void |
setAsText(String text)
Sets the value as text. |
boolean |
supportsCustomEditor()
|
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getAsText, getSource, getValue, paintValue, removePropertyChangeListener, setSource, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPropertyEditor(PropertyEditorComponent component, String[] tags)
component
- The GUI component to use. Null if none.tags
- A list of allowed values, null if not applicable.Method Detail |
---|
public String[] getTags()
getTags
in interface PropertyEditor
getTags
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
public void setAsText(String text)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
text
- The text.public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |