当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
PropertySupport.ReadWrite (Nodes API) - NetBeans API Javadoc (Current Development Version)
org.openide.nodes
Class PropertySupport.ReadWrite<T>
java.lang.Object
java.beans.FeatureDescriptor
org.openide.nodes.Node.Property<T>
org.openide.nodes.PropertySupport<T>
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).
| Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
PropertySupport.ReadWrite
public PropertySupport.ReadWrite(String name,
Class<T> type,
String displayName,
String shortDescription)
- Construct a new support.
- Parameters:
name - the name of the propertytype - the class type of the propertydisplayName - the display name of the propertyshortDescription - a short description of the property