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.
Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
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 setdisplayName
- human presentable nameshortDescription
- description for the set
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
equals
public boolean equals(Object propertySet)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.