Package org.jitterbit.ui.widget.button

Examples of org.jitterbit.ui.widget.button.KongaButton


        layout.northToSouth(caption, columnTable, createUnselectAllButton());
        return WizardStyleDialog.wrapUi(layout);
    }

    private JComponent createUnselectAllButton() {
        JButton b = new KongaButton("&Unselect all");
        b.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                columnTable.setCheckedColumns(new HashSet<DatabaseColumn>());
            }
View Full Code Here


                @Override
                public void add(Action a) {
                    if (!first) {
                        row.strut(10);
                    }
                    row.add(new KongaButton(a));
                    first = false;
                }

                @Override
                public void remove(Action a) {
View Full Code Here

            layoutTree();
        }

        private void layoutControls() {
            BoxBuilder north = BoxBuilder.horizontal();
            KongaButton join = new KongaButton(addRelationAction);
            join.setIconTextGap(8);
            north.addAllWithSpace(10, parentChildSelector, join);
            layout.north(north);
        }
View Full Code Here

  public Action getPageAction(String id) {
      return m_container.getPageAction(id);
  }

    private static KongaButton createButtonFor(Action action) {
        KongaButton button = KongaButton.forToolbar(action);
        button.setUseMediumActionIcon(true);
        return button;
    }
View Full Code Here

        button.setUseMediumActionIcon(true);
        return button;
    }

    private KongaButton createFormulaButton() {
        KongaButton button = new KongaButton(ClientIcons.FORMULA_24);
        ButtonUtils.configureButtonForToolBar(button);
        button.setUseMediumActionIcon(true);
        button.setToolTipText("Select Target data element to create formula");
        button.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                Node target=m_targetTreeComponent.m_highLightedNode;
                if(target!=null && !target.mapDisabled()){
                    doMap(target, true);
                }
            }
        });
        button.setEnabled(false);
        return button;
    }
View Full Code Here

        private void layoutControls() {
            DialogLayoutBuilder grid = new DialogLayoutBuilder(5, 5);
            BoxBuilder row = BoxBuilder.horizontal();
            row.addAllWithSpace(10, fileNameField.getInputComponent(), createOptionsButton());
            grid.addRow(fileNameField.getLabel(), row.container());
            JComponent button = InvisiblePanel.newPanel(new KongaButton(generateXsdAction));
            grid.addRow(new JLabel(" "), button);
            layout.north(grid);
        }
View Full Code Here

            grid.addRow(new JLabel(" "), button);
            layout.north(grid);
        }

        private JButton createOptionsButton() {
            JButton b = new KongaButton("&Options...");
            b.addActionListener(new ActionListener() {

                @Override
                public void actionPerformed(ActionEvent e) {
                    XsdOptionsDialog dialog = new XsdOptionsDialog(model);
                    dialog.open((Component) e.getSource());
View Full Code Here

    private JComponent getStatusButtonsPanel(String caption) {
        Grid buttonRow = Grid.oneRow(10);
        List<JButton> buttons = Lists.newArrayList();
        for (Action a : controller.getAllStatusActions()) {
            buttons.add(new KongaButton(a));
        }
        buttonRow.addAll(buttons);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
        return layout.north(caption).center(buttonRow).container();
    }
View Full Code Here

        p.add(getCaption(de_migrating));
        p.setFillOut();
        p.add(new JScrollPane(inputArea));
        p.setFillNone();
        p.setAnchor(OneColumnPanel.EAST);
        p.add(new KongaButton(resetAction));
        return p;
    }
View Full Code Here

        addInputField(new CheckBoxInputField(getString("Label.EndDate"), cb));
        return cb;
    }

    private JButton createDateButton() {
        return new KongaButton(CALENDAR_ICON).makeToolbarButton();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.button.KongaButton

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.