Package org.damour.base.client.ui.scrolltable

Examples of org.damour.base.client.ui.scrolltable.ScrollTable


    }

    dialogContent.setWidget(1, 0, new Label("E-Mail this to up " + NUM_ADDRESSES + " friends.  Just enter their e-mail addresses in the form below.", true));

    if (emailAddressTable == null) {
      emailAddressTable = new ScrollTable(columnWidths, false);
      emailAddressTable.setHeaderWidget(0, new Label("E-Mail Address"), HasHorizontalAlignment.ALIGN_LEFT);
      emailAddressTable.setHeaderWidget(1, new Label("Name"), HasHorizontalAlignment.ALIGN_LEFT);

      TextBox firstAddressTextBox = null;
      for (int i = 0; i < NUM_ADDRESSES; i++) {
View Full Code Here


  }

  public void initUI() {
    String[] columnWidths = new String[] { "600px", "400px", "60px" };

    final ScrollTable table = new ScrollTable(columnWidths, false);
    clear();
    add(table);
    Button refreshButton = new Button("Refresh");
    refreshButton.addClickHandler(new ClickHandler() {

      public void onClick(ClickEvent event) {
        fetchReferrals(table);
      }
    });
    add(refreshButton);

    table.setHeaderWidget(0, new Label("Referrer"), HasHorizontalAlignment.ALIGN_LEFT);
    table.setHeaderWidget(1, new Label("Search Term"), HasHorizontalAlignment.ALIGN_LEFT);
    table.setHeaderWidget(2, new Label("Count"), HasHorizontalAlignment.ALIGN_RIGHT);

    // DateTimeFormat dateFormat = DateTimeFormat.getFormat(LocaleInfo.getCurrentLocale().getDateTimeFormatInfo().dateFormatShort());

    fetchReferrals(table);
View Full Code Here

TOP

Related Classes of org.damour.base.client.ui.scrolltable.ScrollTable

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.