org.netbeans.beaninfo.editors
Class StringEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.netbeans.beaninfo.editors.StringEditor
- All Implemented Interfaces:
- PropertyEditor, ExPropertyEditor
public class StringEditor
- extends PropertyEditorSupport
- implements ExPropertyEditor
A property editor for String class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringEditor
public StringEditor()
isEditable
public boolean isEditable()
- gets information if the text in editor should be editable or not
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor- Overrides:
getAsText in class PropertyEditorSupport
setAsText
public void setAsText(String s)
- sets new value
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString in interface PropertyEditor- Overrides:
getJavaInitializationString in class PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor in interface PropertyEditor- Overrides:
supportsCustomEditor in class PropertyEditorSupport
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor in interface PropertyEditor- Overrides:
getCustomEditor in class PropertyEditorSupport
attachEnv
public void attachEnv(PropertyEnv env)
- Specified by:
attachEnv in interface ExPropertyEditor