public class PaintPropertyEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
PaintPropertyEditor()
Creates a new instance of PainterPropertyEditor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
String |
getJavaInitializationString() |
String[] |
getTags() |
Paint |
getValue() |
boolean |
isPaintable() |
void |
paintValue(Graphics gfx,
Rectangle box) |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic PaintPropertyEditor()
public String[] getTags()
getTags in interface PropertyEditorgetTags in class PropertyEditorSupportpublic Paint getValue()
getValue in interface PropertyEditorgetValue 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 gfx, Rectangle box)
paintValue in interface PropertyEditorpaintValue in class PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportCopyright © 2017. All Rights Reserved.