public abstract class Event extends Object implements ChainableStatement, Serializable
Executes the given JsScope statement when a given list of
EventLabel happened.
| Modifier and Type | Field and Description |
|---|---|
protected EventLabel[] |
eventLabels
The list of events triggering the
JsScope. |
| Constructor and Description |
|---|
Event(EventLabel... eventLabels)
Creates a new event binding a
JsScope to the given
EventLabel. |
| Modifier and Type | Method and Description |
|---|---|
abstract JsScope |
callback()
Returns an non null executable
JsScope. |
String |
chainLabel() |
CharSequence[] |
statementArgs() |
protected EventLabel[] eventLabels
JsScope.public Event(EventLabel... eventLabels)
JsScope to the given
EventLabel.public String chainLabel()
chainLabel in interface ChainableStatementeach, css...)public CharSequence[] statementArgs()
statementArgs in interface ChainableStatementpublic abstract JsScope callback()
Copyright © 2009-2012. All Rights Reserved.