Package org.jdesktop.swingx.editors
Class DimensionPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.swingx.editors.DimensionPropertyEditor
-
- All Implemented Interfaces:
PropertyEditor
public class DimensionPropertyEditor extends PropertyEditorSupport
- Author:
- joshy
-
-
Constructor Summary
Constructors Constructor Description DimensionPropertyEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsText()StringgetJavaInitializationString()DimensiongetValue()voidsetAsText(String text)-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
-
-
-
Method Detail
-
getValue
public Dimension getValue()
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationStringin interfacePropertyEditor- Overrides:
getJavaInitializationStringin 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
-
-