Examples of KongaButton


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

        passwordButton.setEnabled(false);
    }

    private JButton createPasswordButton() {
        PasswordAction action = new PasswordAction();
        JButton btn = new KongaButton(action);
        action.setTrigger(passwordButton);
        return btn;
    }
View Full Code Here

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

    }

    @Override
    protected JButton createButton() {
        Icon icon = EntityIcons.forType(EntityType.HttpEndpoint).getDefaultIcon(Size.MEDIUM);
        return  new KongaButton(icon).makeToolbarButton();
    }
View Full Code Here

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

        });
        return btn;
    }

    private static JButton createToolbarButton(Icon icon, String tooltip) {
        JButton btn = new KongaButton(icon).makeToolbarButton();
        btn.setToolTipText(tooltip);
        return btn;
    }
View Full Code Here

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

        p.decorate(canvas);
    }

    private JButton createLoadSourceButton() {
        Action action = sourceTree.getLoadSourceDataAction();
        return (action == null) ? null : new KongaButton(action);
    }
View Full Code Here

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

        launchButton = createLaunchButton();
        return InvisiblePanel.newPanel(launchButton);
    }

    private JButton createLaunchButton() {
        JButton btn = new KongaButton(PackageResources.Launcher.LABEL, PackageResources.Launcher.ICON);
        btn.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                showDisplayer();
            }
View Full Code Here

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

        }

        private void addButtons() {
            Box row = Box.createHorizontalBox();
            for (Action a : getBulkChangeActions()) {
                row.add(new KongaButton(a));
                row.add(Box.createHorizontalStrut(5));
            }
            if (refreshAction != null) {
                row.add(Box.createHorizontalGlue());
                row.add(new KongaButton(refreshAction));
            }
            col.add(row);
        }
View Full Code Here

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

        progressPanel.decorateLabel(decorator);
    }

    private JComponent createSearchCapsule() {
        Flow flow = Flow.leading(5, 5);
        flow.add(new KongaButton(startStopAction), createProgressPanelCapsule());
        return flow.container();
    }
View Full Code Here

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

        setVisible(visible);
        viewDetailsAction.setEnabled(visible);
    }

    private JComponent createUi() {
        JButton viewBtn = new KongaButton(viewDetailsAction);
        initialFocusOwner = viewBtn;
        BoxBuilder row = BoxBuilder.horizontal();
        row.strut(5).add(createLabel()).strut(10).add(viewBtn);
        return row.container();
    }
View Full Code Here

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

            controls.put(position, (JComponent) Box.createHorizontalStrut(pixels));
        }
    }

    private JButton createRefreshButton() {
        JButton refreshButton = new KongaButton(LabelDecorators.REFRESH_BUTTON);
        refreshButton.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                onRecordsRequested();
            }
View Full Code Here

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

    /**
     * Adds a button for the given <code>Action</code> at the given <code>position</code>.
     */
    public final void addControl(Action a, int position) {
        addControl(new KongaButton(a), position);
    }
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.