Package com.metadot.book.connectr.shared

Examples of com.metadot.book.connectr.shared.FriendSummaryDTO


    this.lastName = lastName;
    this.setEmailAddress(emailAddress);
  }

  public FriendSummaryDTO toLightWeightDTO() {
    return new FriendSummaryDTO(id, getFullName());
  }
View Full Code Here


          int selectedPropertyButtonRow = display.getClickedRow(event);
          GWT.log("Friend list clicked");
          if (selectedPropertyButtonRow >= 0) {
            GWT.log("Friend list property button clicked: " + selectedPropertyButtonRow);
            ClickPoint point = display.getClickedPoint(event);
            FriendSummaryDTO friend = friendSummaries.get(selectedPropertyButtonRow);
            eventBus.fireEvent(new ShowFriendPopupEvent(friend, point));
          } else {
            GWT.log("Friend list check box clicked");
            selectedRows = display.getSelectedRows();
            fireFriendListChangeEvent();
View Full Code Here

  public void sortFriendSummaryDTO() {
    for (int i = 0; i < friendSummaries.size(); ++i) {
      for (int j = 0; j < friendSummaries.size() - 1; ++j) {
        if (friendSummaries.get(j).getDisplayName().compareToIgnoreCase(friendSummaries.get(j + 1).getDisplayName()) >= 0) {
          FriendSummaryDTO tmp = friendSummaries.get(j);
          friendSummaries.set(j, friendSummaries.get(j + 1));
          friendSummaries.set(j + 1, tmp);
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.metadot.book.connectr.shared.FriendSummaryDTO

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.