public class IlvCollectionsConnector extends Object implements IlvPropertyConnector
Map
.Constructor and Description |
---|
IlvCollectionsConnector()
Creates an
IlvPropertyConnector that handles objects of type
Map . |
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
false . |
boolean |
supportsPerObjectPropertyChangeListener()
Returns
false . |
public IlvCollectionsConnector()
IlvPropertyConnector
that handles objects of type
Map
.public Object getObjectProperty(Object object, String property)
getObjectProperty
in interface IlvPropertyConnector
object
- An object that has the notion of properties.property
- A property name.public void setObjectProperty(Object object, String property, Object value)
setObjectProperty
in interface IlvPropertyConnector
object
- An object that has the notion of properties.property
- A property name.value
- The new value of the property.public boolean supportsPerObjectPropertyChangeListener()
false
.supportsPerObjectPropertyChangeListener
in interface IlvPropertyConnector
public 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.
addPropertyChangeListener
in interface IlvPropertyConnector
listener
- A listener to be notified for property changes in the
given object.public void removePropertyChangeListener(Object object, PropertyChangeListener listener)
addPropertyChangeListener
.removePropertyChangeListener
in interface IlvPropertyConnector
public boolean supportsGlobalPropertyChangeListener()
false
.supportsGlobalPropertyChangeListener
in interface IlvPropertyConnector
public void addPropertyChangeListener(PropertyChangeListener listener)
IlvPropertyConnector
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.
addPropertyChangeListener
in interface IlvPropertyConnector
listener
- A listener to be notified for property changes in any
object.public void removePropertyChangeListener(PropertyChangeListener listener)
IlvPropertyConnector
addPropertyChangeListener
.removePropertyChangeListener
in interface IlvPropertyConnector
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.