Class JsScopeEvent

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • JsScopeEvent

        public JsScopeEvent()
        Default constructor
    • Method Detail

      • quickScope

        public static JsScopeEvent quickScope​(java.lang.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.