public class ImageEditor
extends java.beans.PropertyEditorSupport
| Constructor and Description |
|---|
ImageEditor()
Creates a new instance of ImageEditor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAsText() |
java.awt.Component |
getCustomEditor() |
java.awt.Image |
getValue() |
boolean |
isPaintable() |
void |
paintValue(java.awt.Graphics graphics,
java.awt.Rectangle r) |
void |
setAsText(java.lang.String text) |
void |
setValue(java.lang.Object object) |
boolean |
supportsCustomEditor() |
public java.awt.Image 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 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 graphics,
java.awt.Rectangle r)
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