public interface BoundPropertyListener extends PropertyListener
Classes that are interested in processing a bound property event
implement this interface, and register instance objects with a given
PropertyMap
or via
PropertyManager.addPropertyListener(PropertyListener)
.
Note that this is not the typical listener interface, as it extends
from PropertyListener
, and defines getPropertyName()
which is not an event triggered method. This method serves to instruct
the PropertyMap
the listener is registered with, which property
it will bind to.
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName()
Get the property name which this listener is bound to.
|
void |
propertyBound(PropertyMap map)
Notifies that this listener was bound to a property.
|
void |
propertyUnbound(PropertyMap map)
Notifies that this listener was unbound from a property.
|
propertyAdded, propertyChanged, propertyRemoved
String getPropertyName()
void propertyBound(PropertyMap map)
map
- PropertyMap which contains property bound to.void propertyUnbound(PropertyMap map)
map
- PropertyMap which contains property bound to.Copyright © 2018 JBoss by Red Hat. All rights reserved.