Examples of CaptionPanel


Examples of com.google.gwt.user.client.ui.CaptionPanel

    if (usersList.getSelectedIndex() >= 0) {
      setWidget(0, 1, new Label("Loading..."));
      User user = userMap.get(usersList.getItemText(usersList.getSelectedIndex()));
      lastListSelection = user.getUsername();
      editUserPanel = new EditAccountPanel(this, user);
      CaptionPanel captionPanel = new CaptionPanel("Edit Account");
      captionPanel.setContentWidget(editUserPanel);
      setWidget(0, 1, captionPanel);
    }
  }
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

    groupsListPanel.setWidget(0, 0, groupsList);
    if (showAddEditRemove) {
      groupsListPanel.setWidget(0, 1, buttonPanel);
    }
    groupsListPanel.setWidget(1, 0, refreshButton);
    CaptionPanel captionPanel = new CaptionPanel("Groups");
    captionPanel.setContentWidget(groupsListPanel);

    setWidget(0, 0, captionPanel);
    getCellFormatter().setHorizontalAlignment(0, 0, HasHorizontalAlignment.ALIGN_LEFT);
    getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP);
  }
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

      setWidget(0, 1, new Label("Loading..."));
      UserGroup group = groupMap.get(groupsList.getItemText(groupsList.getSelectedIndex()));
      lastListSelection = group.getName();

      if (editMembers) {
        CaptionPanel groupMembersCaptionPanel = new CaptionPanel("Edit Group Members");
        editGroupMembersPanel = new EditGroupMembersPanel(callback, this, users, group);
        groupMembersCaptionPanel.setContentWidget(editGroupMembersPanel);
        setWidget(0, 1, groupMembersCaptionPanel);
      } else {
        CaptionPanel groupCaptionPanel = new CaptionPanel("Edit Group");
        editGroupPanel = new EditGroupPanel(callback, this, users, group, true, true);
        groupCaptionPanel.setContentWidget(editGroupPanel);
        setWidget(0, 1, groupCaptionPanel);
      }
    } else {
      deleteGroupButton.setEnabled(false);
      editGroupButton.setEnabled(false);
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

      public void onClick(ClickEvent event) {
        permission.setCreateChildPerm(createChildrenPermCheckBox.getValue());
        dirty = true;
      }
    });
    CaptionPanel captionPanel = new CaptionPanel("Permissions");
    VerticalPanel checkboxPanel = new VerticalPanel();
    checkboxPanel.add(readPermCheckBox);
    checkboxPanel.add(writePermCheckBox);
    checkboxPanel.add(executePermCheckBox);
    checkboxPanel.add(createChildrenPermCheckBox);
    captionPanel.add(checkboxPanel);
    permissionPanel.add(captionPanel);
  }
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

          });
    }
  }

  private void initialize() {
    latestQueryHistoryStastics = new CaptionPanel(messages.homepage_stats());
    latestQueryHistoryStastics.setWidth("100%");
    latestQueryHistoryStastics.setStyleName("caption");

    hiveQueryCap = new CaptionPanel("<a href = '"
        + messages.homepage_HiveQueryURL() + "'> "
        + messages.homepage_HiveQueryLabel() + " </a>", true);
    hiveQueryCap.setStyleName("caption");

    tableSchemaCap = new CaptionPanel("<a href = '"
        + messages.homepage_TableSchemaURL() + "'> "
        + messages.homepage_TableSchemaLabel() + " </a>", true);
    tableSchemaCap.setStyleName("caption");

    queryHistoryCap = new CaptionPanel("<a href = '"
        + messages.homepage_QueryHistoryURL() + "'> "
        + messages.homepage_QueryHistoryLabel() + " </a>", true);
    queryHistoryCap.setStyleName("caption");

    descStmt = new CaptionPanel("");
    descStmt.setStyleName("caption");

    final HTML introHQ = new HTML(messages.homepage_HiveQueryDesc(), true);
    final VerticalPanel hiveQueryVP = new VerticalPanel();
    hiveQueryVP.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

    mainPanel.add(articleTable);
    initWidget(mainPanel);
    mainPanel.setSize("558px", "126px");

    this.newArticleCptPanel = new CaptionPanel("Add a new article");
    mainPanel.add(this.newArticleCptPanel);

    this.horizontalPanel = new HorizontalPanel();
    this.newArticleCptPanel.setContentWidget(this.horizontalPanel);
    this.horizontalPanel.setSize("506px", "55px");
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

 
  public ArticleEditor(Long articleId2, Popup parentPopup2) {
   
    this.articleId=articleId2;
    this.parentPopup=parentPopup2;
    this.editorCaptionPanel = new CaptionPanel("Edit Article");
    initWidget(this.editorCaptionPanel);
    this.editorCaptionPanel.setSize("304px", "190px");
   
    this.horizontalPanel = new VerticalPanel();
    this.editorCaptionPanel.setContentWidget(this.horizontalPanel);
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

    mainPanel.add(articleTable);
    initWidget(mainPanel);
    mainPanel.setSize("558px", "126px");

    this.newArticleCptPanel = new CaptionPanel("Add a new article");
    mainPanel.add(this.newArticleCptPanel);

    this.horizontalPanel = new HorizontalPanel();
    this.newArticleCptPanel.setContentWidget(this.horizontalPanel);
    this.horizontalPanel.setSize("506px", "55px");
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

  private Label statusLabel;
//  private Hyperlink logHyperlink;

  public AuthForm() {
   
    this.userPanel = new CaptionPanel("User Info");
    initWidget(this.userPanel);
    this.userPanel.setSize("188px", "59px");
   
    this.grid = new Grid(1, 2);
    this.userPanel.setContentWidget(this.grid);
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.