|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 PropertyEditorgetTags in class PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportpublic void setAsText(String text)
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupporttext - The text.public String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||