Package org.odlabs.wiquery.core.javascript

Examples of org.odlabs.wiquery.core.javascript.DefaultChainableStatement


   *            Scope to use
   * @return the jQuery code
   */
  public static ChainableStatement focus(JsScope jsScope)
  {
    return new DefaultChainableStatement(StateEvent.FOCUS.getEventLabel(), jsScope.render());
  }
View Full Code Here


   *            Scope to use on "out"
   * @return the jQuery code
   */
  public static ChainableStatement hover(JsScope over, JsScope out)
  {
    return new DefaultChainableStatement("hover", over.render(), out.render());
  }
View Full Code Here

   *
   * @return the jQuery code
   */
  public static ChainableStatement keydown()
  {
    return new DefaultChainableStatement(KeyboardEvent.KEYDOWN.getEventLabel());
  }
View Full Code Here

   *            Scope to use
   * @return the jQuery code
   */
  public static ChainableStatement keydown(JsScope jsScope)
  {
    return new DefaultChainableStatement(KeyboardEvent.KEYDOWN.getEventLabel(),
      jsScope.render());
  }
View Full Code Here

   *
   * @return the jQuery code
   */
  public static ChainableStatement keypress()
  {
    return new DefaultChainableStatement(KeyboardEvent.KEYPRESS.getEventLabel());
  }
View Full Code Here

   *            Scope to use
   * @return the jQuery code
   */
  public static ChainableStatement keypress(JsScope jsScope)
  {
    return new DefaultChainableStatement(KeyboardEvent.KEYPRESS.getEventLabel(),
      jsScope.render());
  }
View Full Code Here

   *
   * @return the jQuery code
   */
  public static ChainableStatement keyup()
  {
    return new DefaultChainableStatement(KeyboardEvent.KEYUP.getEventLabel());
  }
View Full Code Here

   *            Scope to use
   * @return the jQuery code
   */
  public static ChainableStatement keyup(JsScope jsScope)
  {
    return new DefaultChainableStatement(KeyboardEvent.KEYUP.getEventLabel(), jsScope.render());
  }
View Full Code Here

   *            Scope to use
   * @return the jQuery code
   */
  public static ChainableStatement live(EventLabel eventLabel, JsScope jsScope)
  {
    return new DefaultChainableStatement("live", JsUtils.quotes(eventLabel.getEventLabel()),
      jsScope.render());
  }
View Full Code Here

   *            Scope to use
   * @return the jQuery code
   */
  public static ChainableStatement load(JsScope jsScope)
  {
    return new DefaultChainableStatement(StateEvent.LOAD.getEventLabel(), jsScope.render());
  }
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.core.javascript.DefaultChainableStatement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.