Field Summary |
public
| eventProperty: String |
| Returns the property of the event that should be used in the action applied to the target.
|
|
public
| eventType: String |
| Returns the event type that will trigger the action.
|
|
public
| property: String |
| Returns the name of the target's writable property that this event handler will set, or the name of the method that this event handler will invoke on the target.
|
|
public
| target: Object |
| Returns the object on which this event handler will perform an action
|
|
Constructor |
public
| EventHandler (
target: Object, property: String, eventProperty: String, eventType: String)
|
| Creates a new EventHandler object; you generally use one of the create methods instead of invoking this constructor directly
|
|
Method Summary |
public static
| createHandler (
target: Object, property: String, eventProperty: String, eventType: String
): Function |
| If target and property are set creates a listener in which all event types apply the handler's action to the target. If target,property and eventProperty are set creates a listener in which all event types pass the value of the event expression, eventProperty, to the final method in the statement, property, which is applied to the target. If all params are set creates a listener in which the event type named eventType passes the value of the event expression, eventProperty, to the final method in the statement, property, which is applied to the target.
|
|
public
| handleEvent (
e: Event
): Void |
| Callback for events
|
|
|