org.odlabs.wiquery.ui.core
Class JsScopeUiEvent

java.lang.Object
  extended by org.odlabs.wiquery.core.javascript.JsScope
      extended by org.odlabs.wiquery.ui.core.JsScopeUiEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DefaultJsScopeUiEvent

public abstract class JsScopeUiEvent
extends JsScope

This class represent a JsScope event for the JQuery UI components The javascript representation will be like this:

function(event, ui) { ... }

Since:
1.0
Author:
Julien Roche
See Also:
Serialized Form

Constructor Summary
JsScopeUiEvent()
          Default constructor
 
Method Summary
static JsScopeUiEvent quickScope(CharSequence javascriptCode)
          Creates a default JsScopeUiEvent to execute the given statement.
static JsScopeUiEvent quickScope(JsStatement jsStatement)
          Creates a default JsScopeUiEvent to execute the given statement.
 
Methods inherited from class org.odlabs.wiquery.core.javascript.JsScope
execute, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsScopeUiEvent

public JsScopeUiEvent()
Default constructor

Method Detail

quickScope

public static JsScopeUiEvent quickScope(CharSequence javascriptCode)
Creates a default JsScopeUiEvent to execute the given statement.

Parameters:
javascriptCode - the JavaScript statement to execute with the scope.
Returns:
the created JsScopeUiEvent.

quickScope

public static JsScopeUiEvent quickScope(JsStatement jsStatement)
Creates a default JsScopeUiEvent to execute the given statement.

Parameters:
jsStatement - the JavaScript statement to execute with the scope.
Returns:
the created JsScopeUiEvent.


Copyright © 2012. All Rights Reserved.