org.netbeans.beaninfo.editors
Class ListImageEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.netbeans.beaninfo.editors.ListImageEditor
- All Implemented Interfaces:
- PropertyEditor, ExPropertyEditor
public class ListImageEditor
- extends PropertyEditorSupport
- implements ExPropertyEditor
Editor for property of enumerated integers, each integer should
have associated image displayed as a property value. It's possible
to associate descriptions for each value which is then shown in combobox
when property is edited.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_IMAGES
public static final String PROP_IMAGES
- See Also:
- Constant Field Values
PROP_VALUES
public static final String PROP_VALUES
- See Also:
- Constant Field Values
PROP_DESCRIPTIONS
public static final String PROP_DESCRIPTIONS
- See Also:
- Constant Field Values
ListImageEditor
public ListImageEditor()
- Creates new ListEditor
attachEnv
public void attachEnv(PropertyEnv env)
- Specified by:
attachEnv in interface ExPropertyEditor
isEditable
public boolean isEditable()
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor- Overrides:
getAsText in class PropertyEditorSupport
setAsText
public void setAsText(String str)
throws IllegalArgumentException
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
- Throws:
IllegalArgumentException
getTags
public String[] getTags()
- Specified by:
getTags in interface PropertyEditor- Overrides:
getTags in class PropertyEditorSupport
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable in interface PropertyEditor- Overrides:
isPaintable in class PropertyEditorSupport
paintValue
public void paintValue(Graphics g,
Rectangle rectangle)
- Specified by:
paintValue in interface PropertyEditor- Overrides:
paintValue in class PropertyEditorSupport
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString in interface PropertyEditor- Overrides:
getJavaInitializationString in class PropertyEditorSupport