|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.tentackle.ui.FormFieldAdjustEditor
public class FormFieldAdjustEditor
Property editor for the FormField adjust attribute.
| Constructor Summary | |
|---|---|
FormFieldAdjustEditor()
Creates an adjust property editor |
|
| Method Summary | |
|---|---|
String |
getAsText()
Gets the property value as a string suitable for presentation to a human to edit. |
String |
getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. |
String[] |
getTags()
If the property value must be one of a set of known tagged values, then this method should return an array of the tag values. |
void |
setAsText(String s)
Sets the property value by parsing a given String. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormFieldAdjustEditor()
| Method Detail |
|---|
public String[] getTags()
java.beans.PropertyEditorSupport
getTags in interface PropertyEditorgetTags in class PropertyEditorSupportpublic String getAsText()
java.beans.PropertyEditorSupport
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportReturns "null" is the value can't be expressed as a string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
public void setAsText(String s)
java.beans.PropertyEditorSupport
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupports - The string to be parsed.public String getJavaInitializationString()
java.beans.PropertyEditorSupportExample results are "2", "new Color(127,127,34)", "Color.orange", etc.
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||