Class Event
- java.lang.Object
-
- org.wicketstuff.wiquery.core.events.Event
-
- All Implemented Interfaces:
java.io.Serializable,ChainableStatement
public abstract class Event extends java.lang.Object implements ChainableStatement, java.io.Serializable
$Id: Event.java 1714M 2012-01-17 08:29:18Z (local) $Executes the given
JsScopestatement when a given list ofEventLabelhappened.- Since:
- 0.5
- Author:
- Lionel Armanet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected EventLabel[]eventLabelsThe list of events triggering theJsScope.
-
Constructor Summary
Constructors Constructor Description Event(EventLabel... eventLabels)Creates a new event binding aJsScopeto the givenEventLabel.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JsScopecallback()Returns an non null executableJsScope.java.lang.StringchainLabel()java.lang.CharSequence[]statementArgs()
-
-
-
Field Detail
-
eventLabels
protected EventLabel[] eventLabels
The list of events triggering theJsScope.
-
-
Constructor Detail
-
Event
public Event(EventLabel... eventLabels)
Creates a new event binding aJsScopeto the givenEventLabel.
-
-
Method Detail
-
chainLabel
public java.lang.String chainLabel()
- Specified by:
chainLabelin interfaceChainableStatement- Returns:
- the statement label (like
each,css...)
-
statementArgs
public java.lang.CharSequence[] statementArgs()
- Specified by:
statementArgsin interfaceChainableStatement- Returns:
- the list of arguments passed to the statement.
-
callback
public abstract JsScope callback()
-
-