elge.engine.editors
Class DimensionEditor
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--elge.engine.editors.DimensionEditor
- All Implemented Interfaces:
- EventListener, PropertyEditor, PropertyChangeListener
- public class DimensionEditor
- extends PropertyEditorSupport
- implements PropertyChangeListener
- Author:
- Palino
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DimensionEditor
public DimensionEditor()
- Creates new PointEditor
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor
in interface PropertyEditor
- Overrides:
getCustomEditor
in class PropertyEditorSupport
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
getValue
public Object getValue()
throws NumberFormatException
- Specified by:
getValue
in interface PropertyEditor
- Overrides:
getValue
in class PropertyEditorSupport
NumberFormatException
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interface PropertyEditor
- Overrides:
supportsCustomEditor
in class PropertyEditorSupport
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- This method gets called when a bound property is changed.
- Specified by:
propertyChange
in interface PropertyChangeListener
- Parameters:
evt
- A PropertyChangeEvent object describing the event source
and the property that has changed.