Examples of ButtonType


Examples of org.nasutekds.guitools.controlpanel.ui.GenericDialog.ButtonType

  private JPanel createButtonsPanel(final StatusGenericPanel panel)
  {
    JPanel buttonsPanel = new JPanel(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    ButtonType buttonType = panel.getButtonType();
    gbc.gridx = 0;
    gbc.weightx = 1.0;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    buttonsPanel.add(Box.createHorizontalGlue(), gbc);
    buttonsPanel.setOpaque(true);
View Full Code Here

Examples of org.nasutekds.guitools.controlpanel.ui.GenericDialog.ButtonType

   * generic panel that it contains.
   * @param panel the generic panel contained in this frame.
   */
  private void updateDefaultButton(StatusGenericPanel panel)
  {
    ButtonType buttonType = panel.getButtonType();

    if (buttonType == ButtonType.OK_CANCEL)
    {
      getRootPane().setDefaultButton(okButton);
    }
View Full Code Here

Examples of org.projectforge.web.wicket.flowlayout.ButtonType

            posGridBuilder.newSubSplitPanel(GridSize.COL50);
            panel = posGridBuilder.getPanel();
            final BigDecimal fehlbetrag = position.getKostZuweisungNetFehlbetrag();
            if (hasInsertAccess == true) {
              ButtonType buttonType;
              if (NumberHelper.isNotZero(fehlbetrag) == true) {
                buttonType = ButtonType.RED;
              } else {
                buttonType = ButtonType.LIGHT;
              }
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.