public class Paint2PropertyEditor
extends java.beans.PropertyEditorSupport
| Constructor | Description |
|---|---|
Paint2PropertyEditor() |
Creates a new instance of Paint2PropertyEditor
|
| Modifier and Type | Method | 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 class java.beans.PropertyEditorSupportpublic void setValue(java.lang.Object object)
setValue in class java.beans.PropertyEditorSupportpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in class java.beans.PropertyEditorSupportjava.lang.IllegalArgumentExceptionpublic java.lang.String getAsText()
getAsText in class java.beans.PropertyEditorSupportpublic void paintValue(java.awt.Graphics g,
java.awt.Rectangle box)
paintValue in class java.beans.PropertyEditorSupportpublic boolean isPaintable()
isPaintable in class java.beans.PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in class java.beans.PropertyEditorSupportpublic java.awt.Component getCustomEditor()
getCustomEditor in class java.beans.PropertyEditorSupport