public class Painter2PropertyEditor extends PropertyEditorSupport
Constructor and Description |
---|
Painter2PropertyEditor()
Creates a new instance of Painter2PropertyEditor
|
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
Painter |
getValue() |
void |
setAsText(String text) |
void |
setValue(Object object) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
public Painter2PropertyEditor()
public Painter getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public void setValue(Object object)
setValue
in interface PropertyEditor
setValue
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 String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
Copyright © 2019. All rights reserved.