站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byjava.beans.PropertyEditorSupport
      extended byorg.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


Field Summary
 
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID
 
Constructor Summary
IdentifierArrayEditor()
           
 
Method Summary
 void attachEnv(PropertyEnv env)
          This method is called by the IDE to pass the environment to the property editor.
 String getAsText()
           
 Component getCustomEditor()
          Create new panel for this property editor.
 void setAsText(String text)
          Sets the value as the text
 void setValue(Object o)
          Set new value
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener
 

Constructor Detail

IdentifierArrayEditor

public IdentifierArrayEditor()
Method Detail

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

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.