当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
IdentifierArrayEditor (NetBeans Java Hierarchy API) - NetBeans API Javadoc 4.1.0
org.openide.explorer.propertysheet.editors
Class IdentifierArrayEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.openide.explorer.propertysheet.editors.IdentifierArrayEditor
- All Implemented Interfaces:
- ExPropertyEditor, PropertyEditor
- 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
- 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
- Throws:
IllegalArgumentException
setValue
public void setValue(Object o)
- Set new value
- Specified by:
setValue
in interface PropertyEditor
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interface PropertyEditor
- Returns:
true
getCustomEditor
public Component getCustomEditor()
- Create new panel for this property editor.
- Specified by:
getCustomEditor
in interface PropertyEditor
- 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