Package org.jdesktop.swingx.editors
Class ImageURLEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.swingx.editors.ImageURLEditor
-
- All Implemented Interfaces:
PropertyEditor
public class ImageURLEditor extends PropertyEditorSupport
- Author:
- joshy
-
-
Constructor Summary
Constructors Constructor Description ImageURLEditor()Creates a new instance of ImageEditor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsText()ComponentgetCustomEditor()StringgetValue()booleanisPaintable()voidpaintValue(Graphics graphics, Rectangle r)voidsetAsText(String text)voidsetValue(Object object)booleansupportsCustomEditor()-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, removePropertyChangeListener, setSource
-
-
-
-
Method Detail
-
getValue
public String getValue()
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
setValue
public void setValue(Object object)
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
paintValue
public void paintValue(Graphics graphics, Rectangle r)
- Specified by:
paintValuein interfacePropertyEditor- Overrides:
paintValuein classPropertyEditorSupport
-
isPaintable
public boolean isPaintable()
- Specified by:
isPaintablein interfacePropertyEditor- Overrides:
isPaintablein classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
-