Package org.odlabs.wiquery.core.javascript

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


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


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

  /**
   * Binds the <code>eq</code> statement.
   */
  public static ChainableStatement eq(int position)
  {
    return new DefaultChainableStatement("eq", JsUtils.string(position));
  }
View Full Code Here

  /**
   * Binds the <code>filter</code> statement.
   */
  public static ChainableStatement filter(String expression)
  {
    return new DefaultChainableStatement("filter", JsUtils.quotes(expression));
  }
View Full Code Here

  /**
   * Binds the <code>not</code> statement.
   */
  public static ChainableStatement not(String expression)
  {
    return new DefaultChainableStatement("not", JsUtils.quotes(expression));
  }
View Full Code Here

  /**
   * Binds the <code>slice</code> statement.
   */
  public static ChainableStatement slice(int start)
  {
    return new DefaultChainableStatement("slice", JsUtils.string(start));
  }
View Full Code Here

  /**
   * Binds the <code>slice</code> statement.
   */
  public static ChainableStatement slice(int start, int end)
  {
    return new DefaultChainableStatement("slice", JsUtils.string(start), JsUtils.string(end));
  }
View Full Code Here

  /**
   * Binds the <code>add</code> statement.
   */
  public static ChainableStatement add(String expression)
  {
    return new DefaultChainableStatement("add", JsUtils.quotes(expression));
  }
View Full Code Here

  /**
   * Binds the <code>children</code> statement.
   */
  public static ChainableStatement children(String expression)
  {
    return new DefaultChainableStatement("children", JsUtils.quotes(expression));
  }
View Full Code Here

  /**
   * Binds the <code>contents</code> statement.
   */
  public static ChainableStatement contents(String expression)
  {
    return new DefaultChainableStatement("contents", JsUtils.quotes(expression));
  }
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.