public class Paint2PropertyEditor
extends java.beans.PropertyEditorSupport
| Constructor and Description |
|---|
Paint2PropertyEditor()
Creates a new instance of Paint2PropertyEditor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAsText() |
java.awt.Component |
getCustomEditor() |
java.lang.String |
getJavaInitializationString() |
java.awt.Paint |
getValue() |
boolean |
isPaintable() |
void |
paintValue(java.awt.Graphics g,
java.awt.Rectangle box) |
void |
setAsText(java.lang.String text) |
void |
setValue(java.lang.Object object) |
boolean |
supportsCustomEditor() |
public Paint2PropertyEditor()
public java.awt.Paint getValue()
getValue in interface java.beans.PropertyEditorgetValue in class java.beans.PropertyEditorSupportpublic void setValue(java.lang.Object object)
setValue in interface java.beans.PropertyEditorsetValue in class java.beans.PropertyEditorSupportpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditorgetJavaInitializationString in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportjava.lang.IllegalArgumentExceptionpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupportpublic void paintValue(java.awt.Graphics g,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorpaintValue in class java.beans.PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditorisPaintable in class java.beans.PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorsupportsCustomEditor in class java.beans.PropertyEditorSupportpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorgetCustomEditor in class java.beans.PropertyEditorSupport