public static final class Sheet.Set extends Node.PropertySet
Constructor and Description |
---|
Set()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
equals, getHtmlDisplayName, hashCode
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
public Sheet.Set cloneSet()
public Node.Property<?> get(String name)
name
- name of the propertynull
if not foundpublic Node.Property<?>[] getProperties()
getProperties
in class Node.PropertySet
public Node.Property<?> put(Node.Property<?> p)
p
- the property to addnull
for a fresh insertionpublic void put(Node.Property<?>[] ar)
ar
- properties to addpublic Node.Property<?> remove(String name)
name
- name of the property to removenull
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