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, setSource
public Image getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public void setValue(Object object)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void paintValue(Graphics graphics, Rectangle r)
paintValue
in interface PropertyEditor
paintValue
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
Copyright © 2016. All rights reserved.