public class Paint2PropertyEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
Paint2PropertyEditor()
Creates a new instance of Paint2PropertyEditor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
Paint |
getValue() |
boolean |
isPaintable() |
void |
paintValue(Graphics g,
Rectangle box) |
void |
setAsText(String text) |
void |
setValue(Object object) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getSource, getTags, removePropertyChangeListener, setSourcepublic Paint2PropertyEditor()
public Paint getValue()
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic void setValue(Object object)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupportpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void paintValue(Graphics g, Rectangle box)
paintValue in interface PropertyEditorpaintValue in class PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportCopyright © 2017. All Rights Reserved.