public class ImageEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
ImageEditor()
Creates a new instance of ImageEditor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
Component |
getCustomEditor() |
Image |
getValue() |
boolean |
isPaintable() |
void |
paintValue(Graphics graphics,
Rectangle r) |
void |
setAsText(String text) |
void |
setValue(Object object) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, removePropertyChangeListener, setSourcepublic Image getValue()
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic void setValue(Object object)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void paintValue(Graphics graphics, Rectangle r)
paintValue in interface PropertyEditorpaintValue in class PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportCopyright © 2017. All Rights Reserved.