Package org.odlabs.wiquery.core.javascript

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


   *
   * @return the associated JsStatement
   */
  public JsStatement widget()
  {
    return new JsQuery(this).$().chain("autocomplete", "'widget'");
  }
View Full Code Here


    DatePickerLanguageResourceReference dpl =
      DatePickerLanguageResourceReference.get(getLocale());
    if (dpl != null)
      response.render(JavaScriptHeaderItem.forReference(dpl));

    response.render(OnDomReadyHeaderItem.forScript(new JsQuery(this).$()
      .chain("datepicker", options.getOptions().getJavaScriptOptions()).render().toString()));
  }
View Full Code Here

   *
   * @return the associated JsStatement
   */
  public JsStatement destroy()
  {
    return new JsQuery(this).$().chain("datepicker", "'destroy'");
  }
View Full Code Here

   *
   * @return the associated JsStatement
   */
  public JsStatement disable()
  {
    return new JsQuery(this).$().chain("datepicker", "'disable'");
  }
View Full Code Here

   *
   * @return the associated JsStatement
   */
  public JsStatement enable()
  {
    return new JsQuery(this).$().chain("datepicker", "'enable'");
  }
View Full Code Here

   *
   * @return the associated JsStatement
   */
  public JsStatement getDate()
  {
    return new JsQuery(this).$().chain("datepicker", "'getDate'");
  }
View Full Code Here

   *            The speed at which to close the date picker.
   * @return the associated JsStatement
   */
  public JsStatement hide(short speed)
  {
    return new JsQuery(this).$().chain("datepicker", "'hide'", Short.toString(speed));
  }
View Full Code Here

   *
   * @return the associated JsStatement
   */
  public JsStatement hide()
  {
    return new JsQuery(this).$().chain("datepicker", "'hide'");
  }
View Full Code Here

   *            Date to set
   * @return the associated JsStatement
   */
  public JsStatement setDate(DateOption dateOption)
  {
    return new JsQuery(this).$().chain("datepicker", "'setDate'",
      dateOption != null ? dateOption.getJavascriptOption() : null);
  }
View Full Code Here

   *
   * @return the associated JsStatement
   */
  public JsStatement show()
  {
    return new JsQuery(this).$().chain("datepicker", "'show'");
  }
View Full Code Here

TOP

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

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.