Examples of ViewLink


Examples of com.tll.client.ui.view.ViewLink

  /**
   * Constructor
   */
  public CustomerMain() {
    super();
    links.append(new ViewLink("Customer Listing", "Customer Listing", null));
    addWidget(links);
  }
View Full Code Here

Examples of com.tll.client.ui.view.ViewLink

      setStylePrimaryName(Styles.RIGHT_NAV);

      Label lbl;

      // current user
      vlUsername = new ViewLink();
      lblUserDateCreated = new Label();
      vlUserAccount = new ViewLink();

      btnLogoff = new Button("logout", this);

      Grid g = new Grid(4, 2);
      lbl = new Label("user");
      lbl.setStyleName("lbl");
      g.setWidget(0, 0, lbl);
      g.setWidget(0, 1, vlUsername);
      lbl = new Label("created");
      lbl.setStyleName("lbl");
      g.setWidget(1, 0, lbl);
      g.setWidget(1, 1, lblUserDateCreated);
      lbl = new Label("account");
      lbl.setStyleName("lbl");
      g.setWidget(2, 0, lbl);
      g.setWidget(2, 1, vlUserAccount);
      g.setWidget(3, 0, btnLogoff);

      frmLogout = new FormPanel();
      frmLogout.setMethod(FormPanel.METHOD_POST);
      frmLogout.setAction(GWT.getModuleBaseURL() + "adminLogout");
      frmLogout.add(g);
      frmLogout.addSubmitHandler(this);
      frmLogout.addSubmitCompleteHandler(this);

      SimplePanel simplePanel = new SimplePanel();
      DOM.setElementAttribute(simplePanel.getElement(), "id", "currentUser");
      simplePanel.add(frmLogout);
      add(simplePanel);

      // current account
      vlCrntAcnt = new ViewLink();
      lblCrntAcntType = new Label();
      lblCrntAcntDateCreated = new Label();

      g = new Grid(3, 2);
      lbl = new Label("name");
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.