T - Attribute type to trigger for.public interface AttributeListener<T>
AttributeType value manipulation. When attributes are added, updated or
removed the suitable defined method will be triggered. A change is a manual fire of the trigger
to denote a internal state change of the attribute. Unique AttributeEvent will be
supplied for each trigger.AttributeContainer,
DefaultAttributeContainer| Modifier and Type | Method and Description |
|---|---|
default void |
attributeAdded(AttributeEvent<T> event)
Triggered when an attribute has been added.
|
default void |
attributeChanged(AttributeEvent<T> event)
Triggered when an attribute has been changed (either replacement by another attribute or an
internal state change).
|
default void |
attributeRemoved(AttributeEvent<T> event)
Triggered when an attribute has been removed.
|
default void attributeAdded(AttributeEvent<T> event)
event - The attribute event for this trigger.default void attributeChanged(AttributeEvent<T> event)
event - The attribute event for this trigger.default void attributeRemoved(AttributeEvent<T> event)
event - The attribute event for this trigger.