Examples of HeaderPanel


Examples of com.gitblit.client.HeaderPanel

      @Override
      public Insets getInsets() {
        return Utils.INSETS;
      }
    };
    usersPanel.add(new HeaderPanel(Translation.get("gb.users"), "users_16x16.png"), BorderLayout.NORTH);
    usersPanel.add(new JScrollPane(table), BorderLayout.CENTER);
    usersPanel.setMinimumSize(new Dimension(400, 10));

    certificateDefaultsButton = new JButton(new ImageIcon(getClass().getResource("/settings_16x16.png")));
    certificateDefaultsButton.setFocusable(false);
View Full Code Here

Examples of com.gitblit.client.HeaderPanel

    content.add(new JScrollPane(message), BorderLayout.CENTER);
    content.add(panel, BorderLayout.NORTH);
    content.add(controls, BorderLayout.SOUTH);

    getContentPane().add(new HeaderPanel(Translation.get("gb.newCertificate") + " (" + displayname + ")", "rosette_16x16.png"), BorderLayout.NORTH);
    getContentPane().add(content, BorderLayout.CENTER);
    pack();

    setLocationRelativeTo(owner);
  }
View Full Code Here

Examples of com.gitblit.client.HeaderPanel

    JPanel fp = new JPanel(new BorderLayout(Utils.MARGIN, Utils.MARGIN));
    fp.add(oidsPanel, BorderLayout.NORTH);

    JPanel fieldsPanel = new JPanel(new BorderLayout());
    fieldsPanel.add(new HeaderPanel(Translation.get("gb.properties"), "vcard_16x16.png"), BorderLayout.NORTH);
    fieldsPanel.add(fp, BorderLayout.CENTER);

    saveUserButton = new JButton(Translation.get("gb.save"));
    saveUserButton.setEnabled(false);
    saveUserButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        setEditable(false);
        String username = ucm.user.username;
        oidsPanel.updateUser(ucm);
        saveUser(username, ucm);
      }
    });

    editUserButton = new JButton(Translation.get("gb.edit"));
    editUserButton.setEnabled(false);
    editUserButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        setEditable(true);
      }
    });

    JPanel userControls = new JPanel(new FlowLayout(FlowLayout.LEFT));
    userControls.add(editUserButton);
    userControls.add(saveUserButton);
    fieldsPanel.add(userControls, BorderLayout.SOUTH);

    JPanel certificatesPanel = new JPanel(new BorderLayout());
    certificatesPanel.add(new HeaderPanel(Translation.get("gb.certificates"), "rosette_16x16.png"), BorderLayout.NORTH);
    tableModel = new CertificatesTableModel();
    table = Utils.newTable(tableModel, Utils.DATE_FORMAT);
    table.setRowSorter(new TableRowSorter<CertificatesTableModel>(tableModel));
    table.setDefaultRenderer(CertificateStatus.class, new CertificateStatusRenderer());
    table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
View Full Code Here

Examples of com.gitblit.client.HeaderPanel

    controls.add(cancel);

    content.add(panel, BorderLayout.CENTER);
    content.add(controls, BorderLayout.SOUTH);

    getContentPane().add(new HeaderPanel(Translation.get("gb.newSSLCertificate"), "rosette_16x16.png"), BorderLayout.NORTH);
    getContentPane().add(content, BorderLayout.CENTER);
    pack();

    setLocationRelativeTo(owner);
  }
View Full Code Here

Examples of com.gitblit.client.HeaderPanel

    JPanel controls = new JPanel();
    controls.add(ok);

    content.add(controls, BorderLayout.SOUTH);

    getContentPane().add(new HeaderPanel(Translation.get("gb.certificate"), "rosette_16x16.png"), BorderLayout.NORTH);
    getContentPane().add(content, BorderLayout.CENTER);
    pack();

    setLocationRelativeTo(owner);
  }
View Full Code Here

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

   {
      super(pageSize, keyProvider);
   }

   public ScrollPanel getScrollPanel() {
      HeaderPanel header = (HeaderPanel) getWidget();
      return (ScrollPanel) header.getContentWidget();
   }
View Full Code Here

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

public class PTHeaderPanel extends PTPanel<HeaderPanel> {

    @Override
    public void create(final PTInstruction create, final UIService uiService) {
        init(create, uiService, new HeaderPanel());
    }
View Full Code Here

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

   * @param loadingIndicator the widget to use as a loading indicator, or null
   *          to disable
   */
  public DataGrid(int pageSize, Resources resources, ProvidesKey<T> keyProvider,
      Widget loadingIndicator) {
    super(new HeaderPanel(), pageSize, new ResourcesAdapter(resources), keyProvider);
    headerPanel = (HeaderPanel) getWidget();

    // Inject the stylesheet.
    this.style = resources.dataGridStyle();
    this.style.ensureInjected();
View Full Code Here

Examples of com.googlecode.mgwt.ui.client.widget.header.HeaderPanel

   *
   */
  public AnimationViewGwtImpl() {
    main = new RootFlexPanel();

    headerPanel = new HeaderPanel();

    headerBackButton = new PreviousitemImageButton();

    headerPanel.add(headerBackButton);
    headerBackButton.setVisible(!MGWT.getOsDetection().isAndroid());
View Full Code Here

Examples of com.googlecode.mgwt.ui.client.widget.header.HeaderPanel

  private HeaderTitle headerTitle = new HeaderTitle();

  public UIViewImpl() {
    main = new RootFlexPanel();

    headerPanel = new HeaderPanel();
    main.add(headerPanel);

    headerBackButton = new PreviousitemImageButton();

    headerBackButton.setVisible(!MGWT.getOsDetection().isAndroid());
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.