当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.1
IdentifierArrayEditor (NetBeans Java Hierarchy API) - NetBeans API Javadoc 5.5.1
org.openide.explorer.propertysheet.editors
Class IdentifierArrayEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.openide.explorer.propertysheet.editors.IdentifierArrayEditor
- All Implemented Interfaces:
- PropertyEditor, ExPropertyEditor
public class IdentifierArrayEditor
- extends PropertyEditorSupport
- implements ExPropertyEditor
Property editors for array of org.openide.src.Identifier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifierArrayEditor
public IdentifierArrayEditor()
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
- Returns:
- text representation of the value
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Sets the value as the text
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
setValue
public void setValue(Object o)
- Set new value
- Specified by:
setValue
in interface PropertyEditor
- Overrides:
setValue
in class PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interface PropertyEditor
- Overrides:
supportsCustomEditor
in class PropertyEditorSupport
- Returns:
true
getCustomEditor
public Component getCustomEditor()
- Create new panel for this property editor.
- Specified by:
getCustomEditor
in interface PropertyEditor
- Overrides:
getCustomEditor
in class PropertyEditorSupport
- Returns:
- the visual component for editing the property
attachEnv
public void attachEnv(PropertyEnv env)
- This method is called by the IDE to pass
the environment to the property editor.
- Specified by:
attachEnv
in interface ExPropertyEditor