Package com.google.code.jqwicket.ui.button

Examples of com.google.code.jqwicket.ui.button.ButtonBehavior


public class ButtonPage extends DemoPage {

  @SuppressWarnings("serial")
  public ButtonPage() {

    add(new Button("button1").add(new ButtonBehavior()));

    Button b2 = new Button("button2");
    b2.add(new ButtonBehavior());
    add(b2);

    Link<Void> b3 = new Link<Void>("button3") {
      @Override
      public void onClick() {
        // do something here
      }
    };
    b3.add(new ButtonBehavior(new ButtonOptions().label("my label")
        .disabled(true)));
    add(b3);
  }
View Full Code Here

TOP

Related Classes of com.google.code.jqwicket.ui.button.ButtonBehavior

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.