public class AbstractPropertyEditor extends Object implements PropertyEditor
| Constructor and Description |
|---|
AbstractPropertyEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
protected void |
firePropertyChange(Object oldValue,
Object newValue) |
String |
getAsText() |
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
String[] |
getTags() |
Object |
getValue() |
boolean |
isPaintable() |
void |
paintValue(Graphics gfx,
Rectangle box) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setAsText(String text) |
void |
setValue(Object value) |
boolean |
supportsCustomEditor() |
protected Component editor
public boolean isPaintable()
isPaintable in interface PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyEditorpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyEditorpublic Object getValue()
getValue in interface PropertyEditorpublic void setValue(Object value)
setValue in interface PropertyEditorpublic String getAsText()
getAsText in interface PropertyEditorpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorpublic String[] getTags()
getTags in interface PropertyEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorIllegalArgumentExceptionpublic void paintValue(Graphics gfx, Rectangle box)
paintValue in interface PropertyEditorCopyright © 2015. All rights reserved.