com.wirefusion.propertyeditor
Class StringPropertyEditor
java.lang.Object
com.wirefusion.propertyeditor.WfPropertyEditor
com.wirefusion.propertyeditor.StringPropertyEditor
public class StringPropertyEditor
- extends WfPropertyEditor
This editor is intended for use with String properties.
|
Constructor Summary |
StringPropertyEditor(java.lang.String propertyId,
java.lang.String label,
java.lang.String initialString)
Constructs a ColorPropertyEditor object. |
StringPropertyEditor(java.lang.String propertyId,
java.lang.String label,
java.lang.String initialString,
java.lang.String[] predefinedStrings)
Constructs a ColorPropertyEditor object. |
|
Method Summary |
void |
setEnabled(boolean enabled)
Enables or disables this component, depending on the value of the
parameter enabled. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringPropertyEditor
public StringPropertyEditor(java.lang.String propertyId,
java.lang.String label,
java.lang.String initialString)
- Constructs a ColorPropertyEditor object.
- Parameters:
propertyId - the property IDlabel - the labelinitialString - the string value
StringPropertyEditor
public StringPropertyEditor(java.lang.String propertyId,
java.lang.String label,
java.lang.String initialString,
java.lang.String[] predefinedStrings)
- Constructs a ColorPropertyEditor object.
- Parameters:
propertyId - the property IDlabel - the labelinitialString - the string valuepredefinedStrings - an array of predefined string. The user can type a custom string or choose from the predefined strings.
setEnabled
public void setEnabled(boolean enabled)
- Description copied from class:
WfPropertyEditor
- Enables or disables this component, depending on the value of the
parameter enabled. If disabled, the ditor does not respond to user input.
All subclasses of this class may not support being disabled.
- Overrides:
setEnabled in class WfPropertyEditor
- Parameters:
enabled - If true, this editor is enabled; otherwise the editor is disabled.