Package org.sgx.yuigwt.alloyui.widget.buttonitem

Examples of org.sgx.yuigwt.alloyui.widget.buttonitem.ButtonItem


  this.parent = parent;
}

@Override
public void ready(final AuiContext A) {
  ButtonItem button1 = A.newButtonItem(ButtonItemConfig.create().
    icon("home").label("home"));
  button1.on("click", new EventCallback<EventFacade>() {
    @Override
    public void call(EventFacade e) {
      final ButtonItem clickedButton = e.getTarget().cast();
      clickedButton.hide();
      JsUtil.setTimeout(new SimpleCallback() {
       
        @Override
        public void call() {
          clickedButton.show();
        }
      }, 500);
    }
  });
  button1.render(parent);
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.alloyui.widget.buttonitem.ButtonItem

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.