|
org.openide.nodes 6.7.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor org.openide.nodes.Node.PropertySet org.openide.nodes.Sheet.Set
public static final class Sheet.Set
A set of Bean properties.
Constructor Summary | |
---|---|
Sheet.Set()
Default constructor. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener. |
Sheet.Set |
cloneSet()
Clone the property set. |
Node.Property |
get(String name)
Get a property by name. |
Node.Property[] |
getProperties()
Get all properties in this set. |
Node.Property |
put(Node.Property p)
Add a property to this set, replacing any old one with the same name. |
void |
put(Node.Property[] ar)
Add several properties to this set, replacing old ones with the same names. |
Node.Property |
remove(String name)
Remove a property from the set. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener. |
Methods inherited from class org.openide.nodes.Node.PropertySet |
---|
equals, getHtmlDisplayName, hashCode |
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sheet.Set()
Method Detail |
---|
public Sheet.Set cloneSet()
public Node.Property get(String name)
name
- name of the property
null
if not foundpublic Node.Property[] getProperties()
getProperties
in class Node.PropertySet
public Node.Property put(Node.Property p)
p
- the property to add
null
for a fresh insertionpublic void put(Node.Property[] ar)
ar
- properties to addpublic Node.Property remove(String name)
name
- name of the property to remove
null
if it was not there to begin withpublic void addPropertyChangeListener(PropertyChangeListener l)
l
- the listener to addpublic void removePropertyChangeListener(PropertyChangeListener l)
l
- the listener to remove
|
org.openide.nodes 6.7.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |