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

Constructor Summary
DimensionEditor()
          Creates new PointEditor
 
Method Summary
 String getAsText()
           
 Component getCustomEditor()
           
 Object getValue()
           
 void propertyChange(PropertyChangeEvent evt)
          This method gets called when a bound property is changed.
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionEditor

public DimensionEditor()
Creates new PointEditor

Method Detail

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.