org.netbeans.beaninfo.editors
Class WrappersEditor
java.lang.Object
org.netbeans.beaninfo.editors.WrappersEditor
- All Implemented Interfaces:
- PropertyEditor, ExPropertyEditor
- Direct Known Subclasses:
- BooleanEditor, ByteEditor, CharacterEditor, DoubleEditor, FloatEditor, IntegerEditor, LongEditor, ShortEditor
public abstract class WrappersEditor
- extends Object
- implements ExPropertyEditor
Abstract class represents Editor for Wrappers of 8 known primitive types
(Byte, Short, Integer, Long, Boolean, Float, Double, Character)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pe
protected PropertyEditor pe
WrappersEditor
public WrappersEditor(Class type)
setValue
public void setValue(Object newValue)
throws IllegalArgumentException
- Specified by:
setValue in interface PropertyEditor
- Throws:
IllegalArgumentException
getValue
public Object getValue()
- Specified by:
getValue in interface PropertyEditor
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable in interface PropertyEditor
paintValue
public void paintValue(Graphics gfx,
Rectangle box)
- Specified by:
paintValue in interface PropertyEditor
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText in interface PropertyEditor
- Throws:
IllegalArgumentException
getTags
public String[] getTags()
- Specified by:
getTags in interface PropertyEditor
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor in interface PropertyEditor
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor in interface PropertyEditor
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface PropertyEditor
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface PropertyEditor
attachEnv
public void attachEnv(PropertyEnv env)
- Specified by:
attachEnv in interface ExPropertyEditor