Examples of newITSASelectlist()


Examples of org.sgx.yuigwt.yuigallery.YuiGalleryContext.newITSASelectlist()

   
    String[] months = new String[]{
      "Januar", "Februar", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
    };
   
    ITSASelectlist selectlist = Y.newITSASelectlist(ITSASelectlistConfig.create().items(months));
    selectlist.on(ITSASelectlist.EVENT_SELECTCHANGE, new EventCallback<ITSASelectlistEvent>() {
      @Override
      public void call(ITSASelectlistEvent e) {
        console.log("selected item index "+e.index()+" - value: "+e.value());
      }
View Full Code Here

Examples of org.sgx.yuigwt.yuigallery.YuiGalleryContext.newITSASelectlist()

      ITSASelectlistItem item = ITSASelectlistItem.create()
        .text("<div style='background-color:"+color+";'></div>")
        .returnValue(color);
      items.push(item);
    }
    ITSASelectlist selList2 = Y.newITSASelectlist(ITSASelectlistConfig.create()
      .items(items)
      .className("mycolors")
      .listWidth(256)
      .btnSize(2)
      .iconClassName("itsa-icon-textcolor")
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.