public class PaintPropertyEditor
extends java.beans.PropertyEditorSupport
| Constructor and Description |
|---|
PaintPropertyEditor()
Creates a new instance of PainterPropertyEditor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAsText() |
java.lang.String |
getJavaInitializationString() |
java.lang.String[] |
getTags() |
java.awt.Paint |
getValue() |
boolean |
isPaintable() |
void |
paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box) |
void |
setAsText(java.lang.String text) |
public PaintPropertyEditor()
public java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorgetTags in class java.beans.PropertyEditorSupportpublic java.awt.Paint getValue()
getValue in interface java.beans.PropertyEditorgetValue 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 gfx,
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.PropertyEditorSupport