public class PropertySet
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PropertySet() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(Property property)
Adds a property to the collection of properties.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a property change listener for all properties in the set.
|
void |
addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Adds a property change listener for a named property.
|
void |
addVetoableChangeListener(java.lang.String name,
java.beans.VetoableChangeListener listener)
Adds a vetoable property change listener for a named vetoable property.
|
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a vetoable property change listener for all vetoable properties
in the set.
|
void |
disablePropertyChangeEvents()
Disables the reporting of property changes.
|
void |
enablePropertyChangeEvents()
Enables the reporting of property changes.
|
Property |
getProperty(java.lang.String name)
Gets a property by name from the collection of properties.
|
void |
removeProperty(Property property)
Removes a property from the collection of properties.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener for all properties in the set.
|
void |
removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Removes a property change listener for a named property.
|
void |
removeVetoableChangeListener(java.lang.String name,
java.beans.VetoableChangeListener listener)
Removes a vetoable property change listener for a named vetoable
property.
|
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a vetoable property change listener for all vetoable properties
in the set.
|
public void addProperty(Property property)
property
- some propertypublic void removeProperty(Property property)
property
- some propertypublic Property getProperty(java.lang.String name)
name
- The name of the property.name
.public void disablePropertyChangeEvents()
enablePropertyChangeEvents()
is invoked.public void enablePropertyChangeEvents()
disablePropertyChangeEvents()
.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The property change listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The property change listener.public void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
name
- The name of the property.listener
- The property change listener.public void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
name
- The name of the property.listener
- The property change listener.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The vetoable property change listener.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The vetoable property change listener.public void addVetoableChangeListener(java.lang.String name, java.beans.VetoableChangeListener listener)
name
- The name of the vetoable property.listener
- The vetoable property change listener.public void removeVetoableChangeListener(java.lang.String name, java.beans.VetoableChangeListener listener)
name
- The name of the vetoable property.listener
- The vetoable property change listener.