org.openide.nodes
Class Node.PropertySet

java.lang.Object
  |
  +--java.beans.FeatureDescriptor
        |
        +--org.openide.nodes.Node.PropertySet
Direct Known Subclasses:
Sheet.Set
Enclosing class:
Node

public abstract static class Node.PropertySet
extends FeatureDescriptor

Class that represents one set of properties. A usual bean has three sets of properties: normal, expert, and events.

You may associate context help with this object, if desired, by setting a custom property with the name helpID and value of type String giving a help ID. Normally this is unnecessary as help for the whole Node will be used by default.


Constructor Summary
Node.PropertySet()
          Default constructor.
Node.PropertySet(String name, String displayName, String shortDescription)
          Create a property set.
 
Method Summary
abstract  Node.Property[] getProperties()
          Get the list of contained properties.
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node.PropertySet

public Node.PropertySet()
Default constructor.

Node.PropertySet

public Node.PropertySet(String name,
                        String displayName,
                        String shortDescription)
Create a property set.
Parameters:
name - system name of the property set
displayName - human presentable name
shortDescription - description for the set
Method Detail

getProperties

public abstract Node.Property[] getProperties()
Get the list of contained properties. This list can contain both Node.Property and Node.IndexedProperty elements.
Returns:
the properties


Built on February 22 2001.  |  Portions Copyright 1997-2000 Sun Microsystems, Inc. All rights reserved.