public interface EventHandlerBinding extends Serializable
The binding state can be retrieved and modified only for event handlers which has been defined as bindable in the model.
| Modifier and Type | Method and Description |
|---|---|
Map |
getAllAttributes()
Gets all the attributes of the event handler binding.
|
List |
getAllBindActions()
Gets all event bindings corresponding to the bind actions defined for this event
handler.
|
List |
getAllEventActions()
Gets all event bindings corresponding to the event actions defined for this event
handler.
|
Map |
getAllTypeAttributes()
Gets all the attributes of the event handler type.
|
List |
getAllUnbindActions()
Gets all event bindings corresponding to the unbind actions defined for this event
handler.
|
Object |
getAttribute(String name)
Gets an attribute.
|
EventActionBinding |
getBindAction(String id)
Gets the event binding corresponding to the specified bind action.
|
EventActionBinding |
getEventAction(String id)
Gets the event binding corresponding to the specified event action.
|
EventHandler |
getHandler()
Gets the event handler associated with this binding object.
|
Object |
getTypeAttribute(String name)
Gets an attribute of the event handler type.
|
EventActionBinding |
getUnbindAction(String id)
Gets the event binding corresponding to the specified unbind action.
|
boolean |
isBound()
Gets whether the event handler is bound (activated) or not.
|
Object |
removeAttribute(String name)
Removes an attribute.
|
Object |
setAttribute(String name,
Object value)
Sets the value of an attribute.
|
Object removeAttribute(String name)
name - the name of the attribute.Object setAttribute(String name, Object value)
name - the name of the attribute.value - the new value of the attribute.Map getAllAttributes()
Map getAllTypeAttributes()
Object getTypeAttribute(String name)
name - the name of the attribute.List getAllEventActions()
EventActionBinding.List getAllBindActions()
EventActionBinding.List getAllUnbindActions()
EventActionBinding.EventHandler getHandler()
Object getAttribute(String name)
name - the name of the attribute.EventActionBinding getEventAction(String id)
id - the name of the event action.EventActionBinding getBindAction(String id)
id - the name of the bind action.EventActionBinding getUnbindAction(String id)
id - the name of the unbind action.boolean isBound()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.