Package com.google.gwt.museum.client.common

Examples of com.google.gwt.museum.client.common.SimpleLayout


*/
public class VisualsForCustomButtons extends AbstractIssue {

  @Override
  public Widget createIssue() {
    SimpleLayout l = new SimpleLayout();
    Tree t = new Tree();
    PushButton a = new PushButton("Simple-dum");
    t.add(a);
    PushButton a2 = new PushButton("Simple-dee");
    t.add(a2);
    PushButton aUp = new PushButton("A-up");
    aUp.getDownFace().setHTML("A-down");
    t.add(aUp);

    ToggleButton b = new ToggleButton("B");
    t.add(b);
    l.add(t);
    l.nextRow();
    EventReporter<Object, Object> handler = new EventReporter<Object, Object>();
    l.addFooter(handler);
    handler.addClickHandler(a, l);
    handler.addClickHandler(a2, l);
    handler.addClickHandler(aUp, l);
    handler.addClickHandler(b, l);

View Full Code Here

TOP

Related Classes of com.google.gwt.museum.client.common.SimpleLayout

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.