Package org.jdesktop.swingx

Examples of org.jdesktop.swingx.HorizontalLayout


          }
        }
      }
    });

    setLayout(new HorizontalLayout(2));
    add(_textField);
    add(_label);
  }
View Full Code Here


    row++;
    WidgetUtils.addToGridBag(new JLabel(imageManager.getImageIcon("images/model/datastore.png")), panel, 0, row);
    WidgetUtils.addToGridBag(DCLabel.bright(_metadata.getDatastoreName()), panel, 1, row, GridBagConstraints.WEST);

    DCPanel datastoreButtonPanel = new DCPanel();
    datastoreButtonPanel.setLayout(new HorizontalLayout(0));
    datastoreButtonPanel.add(_datastoreCombobox);
    datastoreButtonPanel.add(Box.createHorizontalStrut(4));
    datastoreButtonPanel.add(_autoMapButton);

    WidgetUtils.addToGridBag(datastoreButtonPanel, panel, 2, row, GridBagConstraints.WEST);
View Full Code Here

    linkedInButton.addActionListener(new OpenBrowserAction("http://www.linkedin.com/groups?gid=3352784"));
    linkedInButton.setToolTipText("Join the DataCleaner LinkedIn group");
    linkedInButton.setBorder(null);

    final DCPanel buttonPanel = new DCPanel();
    buttonPanel.setLayout(new HorizontalLayout());
    buttonPanel.add(datacleanerButton);
    buttonPanel.add(Box.createHorizontalStrut(10));
    buttonPanel.add(bloggerButton);
    buttonPanel.add(Box.createHorizontalStrut(10));
    buttonPanel.add(linkedInButton);
View Full Code Here

              }
            }
          }
        });
        DCPanel panel = new DCPanel();
        panel.setLayout(new HorizontalLayout(4));
        panel.add(new JLabel(icon));
        panel.add(textField);
        model.setValueAt(panel, i, 0);
      } else {
        model.setValueAt(new JLabel(column.getName(), icon, JLabel.LEFT), i, 0);
View Full Code Here

        _inputColumns.add(inputColumn);
      }
    }

    DCPanel buttonPanel = new DCPanel();
    buttonPanel.setLayout(new HorizontalLayout(2));

    JButton selectAllButton = new JButton("Select all");
    selectAllButton.addActionListener(selectAllActionListener);
    buttonPanel.add(selectAllButton);
View Full Code Here

    InputColumn<?>[] highlightedColumns = result.getHighlightedColumns();
    List<InputColumn<?>> inputColumns = result.getInputColumns();

    DCPanel buttonPanel = new DCPanel();
    buttonPanel.setLayout(new HorizontalLayout(4));

    if (highlightedColumns.length == 1 && inputColumns.size() > 1) {
      final JComboBox comboBox = new JComboBox(VIEWS);
      comboBox.addActionListener(new ActionListener() {
        @Override
View Full Code Here

        }
      }
    }

    DCPanel buttonPanel = new DCPanel();
    buttonPanel.setLayout(new HorizontalLayout(2));

    JButton selectAllButton = new JButton("Select all");
    selectAllButton.addActionListener(SELECT_ALL_LISTENER);
    buttonPanel.add(selectAllButton);
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.HorizontalLayout

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.