Class JsScopeEvent

java.lang.Object
org.wicketstuff.wiquery.core.javascript.JsScope
org.wicketstuff.wiquery.core.javascript.JsScopeEvent
All Implemented Interfaces:
Serializable

public abstract class JsScopeEvent extends JsScope
$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 Details

    • JsScopeEvent

      public JsScopeEvent()
      Default constructor
  • Method Details

    • quickScope

      public static JsScopeEvent quickScope(CharSequence javascriptCode)
      Creates a default JsScopeEvent to execute the given statement.
      Parameters:
      javascriptCode - the JavaScript statement to execute with the scope.
      Returns:
      the created JsScopeEvent.
    • quickScope

      public static JsScopeEvent quickScope(JsStatement jsStatement)
      Creates a default JsScopeEvent to execute the given statement.
      Parameters:
      jsStatement - the JavaScript statement to execute with the scope.
      Returns:
      the created JsScopeEvent.