站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

PropertySupport.ReadWrite (Nodes API) - NetBeans API Javadoc (Current Development Version)

org.openide.nodes 7.0

org.openide.nodes
Class PropertySupport.ReadWrite<T>

java.lang.Object
  extended by java.beans.FeatureDescriptor
      extended by org.openide.nodes.Node.Property<T>
          extended by org.openide.nodes.PropertySupport<T>
              extended by org.openide.nodes.PropertySupport.ReadWrite<T>
Enclosing class:
PropertySupport<T>

public abstract static class PropertySupport.ReadWrite<T>
extends PropertySupport<T>

A simple read/write property. Subclasses should implement Node.Property.getValue() and Node.Property.setValue(T).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openide.nodes.PropertySupport
PropertySupport.Name, PropertySupport.ReadOnly<T>, PropertySupport.ReadWrite<T>, PropertySupport.Reflection<T>, PropertySupport.WriteOnly<T>
 
Constructor Summary
PropertySupport.ReadWrite(String name, Class<T> type, String displayName, String shortDescription)
          Construct a new support.
 
Method Summary
 
Methods inherited from class org.openide.nodes.PropertySupport
canRead, canWrite
 
Methods inherited from class org.openide.nodes.Node.Property
equals, getHtmlDisplayName, getPropertyEditor, getValue, getValueType, hashCode, isDefaultValue, restoreDefaultValue, setValue, supportsDefaultValue
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySupport.ReadWrite

public PropertySupport.ReadWrite(String name,
                                 Class<T> type,
                                 String displayName,
                                 String shortDescription)
Construct a new support.

Parameters:
name - the name of the property
type - the class type of the property
displayName - the display name of the property
shortDescription - a short description of the property

org.openide.nodes 7.0

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