public interface IlvPropertyConnector
IlvPropertyBasedFlatListModel
,
IlvPropertyBasedFlatSetModel
,
IlvPropertyBasedTreeListModel
,
IlvPropertyBasedTreeSetModel
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(Object object,
PropertyChangeListener listener)
Adds a property change listener that watches property changes in a
given object.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener that watches property changes for all
objects at once.
|
Object |
getObjectProperty(Object object,
String property)
Returns the value of the given property or attribute in the given object.
|
void |
removePropertyChangeListener(Object object,
PropertyChangeListener listener)
Removes a property change listener registered with
addPropertyChangeListener . |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener registered with
addPropertyChangeListener . |
void |
setObjectProperty(Object object,
String property,
Object value)
Sets the value of the given property or attribute in the given object.
|
boolean |
supportsGlobalPropertyChangeListener()
Returns
true if this interface supports watching property
changes for all objects at once. |
boolean |
supportsPerObjectPropertyChangeListener()
Returns
true if this interface supports watching property
changes on a per-object basis. |
Object getObjectProperty(Object object, String property)
object
- An object that has the notion of properties.property
- A property name.void setObjectProperty(Object object, String property, Object value)
object
- An object that has the notion of properties.property
- A property name.value
- The new value of the property.boolean supportsPerObjectPropertyChangeListener()
true
if this interface supports watching property
changes on a per-object basis.void addPropertyChangeListener(Object object, PropertyChangeListener listener)
Note: The getOldValue()
and getNewValue()
fields of the event sent to the listener are not required to be filled.
Implementations of this interface for which
supportsPerObjectPropertyChangeListener() == false
do nothing here.
listener
- A listener to be notified for property changes in the
given object.void removePropertyChangeListener(Object object, PropertyChangeListener listener)
addPropertyChangeListener
.boolean supportsGlobalPropertyChangeListener()
true
if this interface supports watching property
changes for all objects at once.void addPropertyChangeListener(PropertyChangeListener listener)
Note: The getOldValue()
and getNewValue()
fields of the event sent to the listener are not required to be filled.
Implementations of this interface for which
supportsGlobalPropertyChangeListener() == false
do nothing here.
listener
- A listener to be notified for property changes in any
object.void removePropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.