public abstract class WrappersEditor extends Object implements ExPropertyEditor
Modifier and Type | Field and Description |
---|---|
protected PropertyEditor |
pe |
PROP_VALUE_VALID, PROPERTY_HELP_ID
Constructor and Description |
---|
WrappersEditor(Class type) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
attachEnv(PropertyEnv env) |
String |
getAsText() |
Component |
getCustomEditor() |
String[] |
getTags() |
Object |
getValue() |
boolean |
isPaintable() |
void |
paintValue(Graphics gfx,
Rectangle box) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setAsText(String text) |
void |
setValue(Object newValue) |
boolean |
supportsCustomEditor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaInitializationString
protected PropertyEditor pe
public WrappersEditor(Class type)
public void setValue(Object newValue) throws IllegalArgumentException
setValue
in interface PropertyEditor
IllegalArgumentException
public Object getValue()
getValue
in interface PropertyEditor
public boolean isPaintable()
isPaintable
in interface PropertyEditor
public void paintValue(Graphics gfx, Rectangle box)
paintValue
in interface PropertyEditor
public String getAsText()
getAsText
in interface PropertyEditor
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
IllegalArgumentException
public String[] getTags()
getTags
in interface PropertyEditor
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyEditor
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyEditor
public void attachEnv(PropertyEnv env)
attachEnv
in interface ExPropertyEditor