Class JsScopeEvent
java.lang.Object
org.wicketstuff.wiquery.core.javascript.JsScope
org.wicketstuff.wiquery.core.javascript.JsScopeEvent
- All Implemented Interfaces:
Serializable
$Id: JsScopeEvent.java 1714 2011-09-22 20:38:30Z hielke.hoeve $
This class represent a JsScope event for the JQuery scope event The javascript representation
will be like this:
function(event) { ... }
- Since:
- 1.0.2
- Author:
- Julien Roche
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsScopeEventquickScope(CharSequence javascriptCode) Creates a defaultJsScopeEventto execute the given statement.static JsScopeEventquickScope(JsStatement jsStatement) Creates a defaultJsScopeEventto execute the given statement.
-
Constructor Details
-
JsScopeEvent
public JsScopeEvent()Default constructor
-
-
Method Details
-
quickScope
Creates a defaultJsScopeEventto execute the given statement.- Parameters:
javascriptCode- the JavaScript statement to execute with the scope.- Returns:
- the created
JsScopeEvent.
-
quickScope
Creates a defaultJsScopeEventto execute the given statement.- Parameters:
jsStatement- the JavaScript statement to execute with the scope.- Returns:
- the created
JsScopeEvent.
-