org.jdesktop.swingx.editors
Class Paint2PropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.Paint2PropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class Paint2PropertyEditor
- extends PropertyEditorSupport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Paint2PropertyEditor
public Paint2PropertyEditor()
- Creates a new instance of Paint2PropertyEditor
getValue
public Paint getValue()
- Specified by:
getValue in interface PropertyEditor- Overrides:
getValue in class PropertyEditorSupport
setValue
public void setValue(Object object)
- Specified by:
setValue in interface PropertyEditor- Overrides:
setValue in class PropertyEditorSupport
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString in interface PropertyEditor- Overrides:
getJavaInitializationString in class PropertyEditorSupport
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
- Throws:
IllegalArgumentException
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor- Overrides:
getAsText in class PropertyEditorSupport
paintValue
public void paintValue(Graphics g,
Rectangle box)
- Specified by:
paintValue in interface PropertyEditor- Overrides:
paintValue in class PropertyEditorSupport
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable in interface PropertyEditor- Overrides:
isPaintable in class PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor in interface PropertyEditor- Overrides:
supportsCustomEditor in class PropertyEditorSupport
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor in interface PropertyEditor- Overrides:
getCustomEditor in class PropertyEditorSupport