org.ocd.dcf.property.editor
Class IntegerEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--org.ocd.dcf.property.editor.EditorSupport
              |
              +--org.ocd.dcf.property.editor.IntegerEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class IntegerEditor
extends EditorSupport


Fields inherited from class org.ocd.dcf.property.editor.EditorSupport
MEDIUM_DIMENSION, panel, SMALL_DIMENSION
 
Constructor Summary
IntegerEditor()
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Must overloade the PropertyChangeListener registration because this class is the only interface to the SwingEnumEditor.
 java.awt.Component getCustomEditor()
          Return the custom editor for the enumeration or the integer.
 java.lang.Object getValue()
           
 void init(java.beans.PropertyDescriptor descriptor)
          Initializes this property editor with the enumerated items.
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void setValue(java.lang.Object value)
          Set the Value of this Property
 
Methods inherited from class org.ocd.dcf.property.editor.EditorSupport
setAlignment, supportsCustomEditor
 
Methods inherited from class java.beans.PropertyEditorSupport
firePropertyChange, getAsText, getJavaInitializationString, getTags, isPaintable, paintValue, setAsText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerEditor

public IntegerEditor()
Method Detail

setValue

public void setValue(java.lang.Object value)
Description copied from class: EditorSupport
Set the Value of this Property
Overrides:
setValue in class EditorSupport
Following copied from class: org.ocd.dcf.property.editor.EditorSupport
Parameters:
pValue - new Value

getValue

public java.lang.Object getValue()
Overrides:
getValue in class java.beans.PropertyEditorSupport

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Must overloade the PropertyChangeListener registration because this class is the only interface to the SwingEnumEditor.
Overrides:
addPropertyChangeListener in class java.beans.PropertyEditorSupport

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Overrides:
removePropertyChangeListener in class java.beans.PropertyEditorSupport

init

public void init(java.beans.PropertyDescriptor descriptor)
Initializes this property editor with the enumerated items.
Overrides:
init in class EditorSupport

getCustomEditor

public java.awt.Component getCustomEditor()
Return the custom editor for the enumeration or the integer.
Overrides:
getCustomEditor in class EditorSupport