当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
PropertySupport.WriteOnly (NetBeans APIs) - NetBeans API Javadoc 4.1.0
org.openide.nodes
Class PropertySupport.WriteOnly
java.lang.Object
java.beans.FeatureDescriptor
org.openide.nodes.Node.Property
org.openide.nodes.PropertySupport
org.openide.nodes.PropertySupport.WriteOnly
- Enclosing class:
- PropertySupport
- public abstract static class PropertySupport.WriteOnly
- extends PropertySupport
A simple write-only property.
Subclasses should implement Node.Property.setValue(java.lang.Object)
.
Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
PropertySupport.WriteOnly
public PropertySupport.WriteOnly(String name,
Class 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
getValue
public Object getValue()
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
- Description copied from class:
Node.Property
- Get the value.
- Specified by:
getValue
in class Node.Property
- Returns:
- the value of the property
- Throws:
IllegalAccessException
- cannot access the called method
InvocationTargetException
- an exception during invocation
IllegalArgumentException