@Override public JsStatement statement() { JsStatement statement; if (options.getJavaScriptOptions().length() > 2) { statement = new JsQuery(this.getComponent()) .$() .chain("multiboxesselection", options.getJavaScriptOptions()); } else { statement = new JsQuery(this.getComponent()).$().chain("multiboxesselection"); } return statement; }
/** Binds the <code>css</code> statement. */ public static ChainableStatement css(Options options) { return new DefaultChainableStatement("css", options.getJavaScriptOptions()); }
/* * (non-Javadoc) * @see org.objetdirect.wickext.core.commons.JavaScriptCallable#statement() */ public JsStatement statement() { return new JsQuery(this).$().chain("dialog", options.getJavaScriptOptions()); }
@Override public CharSequence getJavascriptOption() { return options.getJavaScriptOptions(); }