PropertyEditor
public class PaintPropertyEditor extends PropertyEditorSupport
Constructor | Description |
---|---|
PaintPropertyEditor() |
Creates a new instance of PainterPropertyEditor
|
Modifier and Type | Method | Description |
---|---|---|
String |
getAsText() |
|
String |
getJavaInitializationString() |
|
String[] |
getTags() |
|
Paint |
getValue() |
|
boolean |
isPaintable() |
|
void |
paintValue(Graphics gfx,
Rectangle box) |
|
void |
setAsText(String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public PaintPropertyEditor()
public String[] getTags()
getTags
in interface PropertyEditor
getTags
in class PropertyEditorSupport
public Paint getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void paintValue(Graphics gfx, Rectangle box)
paintValue
in interface PropertyEditor
paintValue
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
Copyright © 2018. All rights reserved.