public abstract class InvisiblePropertiedBean extends java.lang.Object implements PropertiedBean
Modifier | Constructor and Description |
---|---|
protected |
InvisiblePropertiedBean(java.lang.String title)
Constructs from a default title.
|
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.
|
void |
addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Adds a property change listener for a named property.
|
void |
disablePropertyChangeEvents()
Disables the reporting of property changes.
|
void |
enablePropertyChangeEvents()
Enables the reporting of property changes.
|
java.lang.String |
getTitle()
Gets the title property.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener.
|
void |
removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Removes a property change listener for a named property.
|
void |
setTitle(java.lang.String title)
Sets the title property.
|
protected InvisiblePropertiedBean(java.lang.String title)
title
- The initial title for this Bean. May be
null
.public void addProperty(Property property)
addProperty
in interface PropertiedBean
property
- some propertypublic void disablePropertyChangeEvents()
enablePropertyChangeEvents()
is invoked.disablePropertyChangeEvents
in interface PropertiedBean
public void enablePropertyChangeEvents()
disablePropertyChangeEvents()
.enablePropertyChangeEvents
in interface PropertiedBean
public void setTitle(java.lang.String title) throws java.beans.PropertyVetoException
title
- The title.java.beans.PropertyVetoException
- The new title was objected to; the change was
aborted.public java.lang.String getTitle()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertiedBean
listener
- The property change listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertiedBean
listener
- The property change listener.public void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertiedBean
name
- The name of the property.listener
- The property change listener.public void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertiedBean
name
- The name of the property.listener
- The property change listener.