Home » openjdk-7 » javax » swing » beaninfo » [javadoc | source]
javax.swing.beaninfo
public class: SwingIntegerEditor [javadoc | source]
java.lang.Object
   java.beans.PropertyEditorSupport
      javax.swing.beaninfo.SwingEditorSupport
         javax.swing.beaninfo.SwingIntegerEditor

All Implemented Interfaces:
    PropertyEditor

A property editor for editing integers. This editor also supports enumerated type properties which are identified if the "enumerationValues" key returns a non-null value. Note: the init() method must be called before the set/get methods can be called.
Fields inherited from javax.swing.beaninfo.SwingEditorSupport:
panel,  LARGE_DIMENSION,  MEDIUM_DIMENSION,  SMALL_DIMENSION,  BUTTON_MARGIN
Method from javax.swing.beaninfo.SwingIntegerEditor Summary:
addPropertyChangeListener,   getCustomEditor,   getValue,   init,   removePropertyChangeListener,   setValue
Methods from javax.swing.beaninfo.SwingEditorSupport:
getCustomEditor,   init,   setAlignment,   supportsCustomEditor
Methods from java.beans.PropertyEditorSupport:
addPropertyChangeListener,   firePropertyChange,   getAsText,   getCustomEditor,   getJavaInitializationString,   getSource,   getTags,   getValue,   isPaintable,   paintValue,   removePropertyChangeListener,   setAsText,   setSource,   setValue,   supportsCustomEditor
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.beaninfo.SwingIntegerEditor Detail:
 public  void addPropertyChangeListener(PropertyChangeListener l) 
    Must overloade the PropertyChangeListener registration because this class is the only interface to the SwingEnumEditor.
 public Component getCustomEditor() 
    Return the custom editor for the enumeration or the integer.
 public Object getValue() 
 public  void init(PropertyDescriptor descriptor) 
    Initializes this property editor with the enumerated items.
 public  void removePropertyChangeListener(PropertyChangeListener l) 
 public  void setValue(Object value)