org.openide.nodes
Class PropertySupport.ReadOnly
java.lang.Object
|
+--java.beans.FeatureDescriptor
|
+--org.openide.nodes.Node.Property
|
+--org.openide.nodes.PropertySupport
|
+--org.openide.nodes.PropertySupport.ReadOnly
- Enclosing class:
- PropertySupport
- public abstract static class PropertySupport.ReadOnly
- extends PropertySupport
A simple read-only property.
Subclasses should implement Node.Property.getValue().
| Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
PropertySupport.ReadOnly
public PropertySupport.ReadOnly(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
setValue
public void setValue(Object val)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
- Description copied from class:
Node.Property
- Set the value.
- Overrides:
setValue in class Node.Property
- Following copied from class:
org.openide.nodes.Node.Property
- Parameters:
val - the new value of the property- Throws:
IllegalAccessException - cannot access the called methodIllegalArgumentException - wrong argumentInvocationTargetException - an exception during invocation
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.