예제 #1
0
 @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;
 }
예제 #2
0
 /** Binds the <code>css</code> statement. */
 public static ChainableStatement css(Options options) {
   return new DefaultChainableStatement("css", options.getJavaScriptOptions());
 }
예제 #3
0
 /*
  * (non-Javadoc)
  * @see org.objetdirect.wickext.core.commons.JavaScriptCallable#statement()
  */
 public JsStatement statement() {
   return new JsQuery(this).$().chain("dialog", options.getJavaScriptOptions());
 }
예제 #4
0
 @Override
 public CharSequence getJavascriptOption() {
   return options.getJavaScriptOptions();
 }