public final class ObjectEditor extends PropertyEditorSupport implements ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID
Constructor and Description |
---|
ObjectEditor()
Creates new ObjectEditor
|
Modifier and Type | Method and Description |
---|---|
void |
attachEnv(PropertyEnv env)
This method is called by the IDE to pass
the environment to the property editor.
|
String |
getAsText() |
Component |
getCustomEditor() |
String[] |
getTags()
List of all display names for items.
|
protected Lookup |
lookup()
A lookup to work on.
|
void |
setAsText(String str)
Searches between items whether there is one with the same display name.
|
boolean |
supportsCustomEditor()
Yes we have custom editor.
|
protected Lookup.Template<Object> |
template()
A template to use.
|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getJavaInitializationString, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue
public void attachEnv(PropertyEnv env)
attachEnv
in interface ExPropertyEditor
protected Lookup lookup()
protected Lookup.Template<Object> template()
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String str) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
str
- item nameIllegalArgumentException
public String[] getTags()
getTags
in interface PropertyEditor
getTags
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