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