public abstract class Event extends java.lang.Object implements ChainableStatement, java.io.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. |
java.lang.String |
chainLabel() |
java.lang.CharSequence[] |
statementArgs() |
protected EventLabel[] eventLabels
JsScope.public Event(EventLabel... eventLabels)
JsScope to the given EventLabel.public java.lang.String chainLabel()
chainLabel in interface ChainableStatementeach, css...)public java.lang.CharSequence[] statementArgs()
statementArgs in interface ChainableStatementpublic abstract JsScope callback()
Copyright © 2018. All Rights Reserved.