Examples of KongaButton


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

        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 5, 0);
        col.setFillOut();
        col.add(new JScrollPane(textArea.getInputComponent()));
        col.setFillNone();
        col.add(new KongaButton(viewPropertiesAction));
        boolean expanded = isSelectorDefinedInOperation();
        DropDownPanel dd = new DropDownPanel(InvisiblePanel.newPanel(col), PackageResources.MessageSelector.TITLE,
                        expanded);
        dd.decorateTitle(TextStyles.SmallBoldCaption);
        dd.setOpaque(false);
View Full Code Here

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

            }
        };
        JButton[] buttons = new JButton[OPERATORS.length];
        for (int n = 0; n < OPERATORS.length; ++n) {
            String op = OPERATORS[n];
            JButton b = new KongaButton(op);
            TextStyles.DefaultBoldLarger.makeOver(b);
            b.setActionCommand(op);
            b.setMargin(new Insets(1, 1, 1, 1));
            b.addActionListener(lst);
            for (int direction : new int[] {KeyEvent.VK_UP, KeyEvent.VK_DOWN, KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT }) {
                Action nav = new ArrowNavigator(direction);
                ActionKeyBinding.install(nav, b);
            }
            buttons[n] = b;
View Full Code Here

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

            completer.install(field);
        }
    }

    private JButton createBrowseButton() {
        JButton btn = new KongaButton(UiResourceBundle.getString("Browse.Button"));
        btn.addActionListener(new ActionListener() {

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

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

        }
        return null;
    }
   
    private static JButton createButton(Action a) {
        JButton b = new KongaButton(a);
        b.setIcon(null);
        b.setOpaque(false);
        return b;
    }
View Full Code Here

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

        return b;
    }

    public JButton createHelpButton(boolean useLabel) {
        String label = useLabel ? "&Help" : null;
        JButton b = new KongaButton(label, SMALL_ICON);
        return b;
    }
View Full Code Here

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

    private JButton[] createButtons() {
        JButton[] buttons = new JButton[choices.length];
        for (int n = 0; n < choices.length; ++n) {
            Action action = new ButtonAction(choices[n]);
            buttons[n] = new KongaButton(action);
            if (choices[n] == defaultChoice) {
                defaultAction = action;
            }
        }
        return buttons;
View Full Code Here

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

        nameLabel.setText(getNameStringWhenDone(displayedJob));
        nameLabel.setForeground(DONE);
    }

    private static JButton createIconButton() {
        return new KongaButton(ProcessConsoleIcons.PROCESS_ON_24).makeToolbarButton();
    }
View Full Code Here

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

        UiUtils.setOpaqueRecursively(main.container(), false);
        return main.container();
    }

    private void createCancelButton() {
        cancelButton = new KongaButton(ProcessConsoleIcons.STOP).makeToolbarButton();
        cancelButton.setToolTipText(Strings.get("JobConsole.Snapshot.Cancel.ToolTip"));
        cancelButton.addActionListener(this);
    }
View Full Code Here

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

    protected static final JButton createToolBarButton(Action action) {
        return KongaButton.forToolbar(action);
    }

    protected static JButton createToolBarButton(Icon icon, String toolTip) {
        JButton b = new KongaButton(icon).makeToolbarButton();
        b.setToolTipText(toolTip);
        return b;
    }
View Full Code Here

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

        return button;
    }

    private JButton createButton() {
        Icon icon = ApplicationResources.getIcon("Filter.Options.16");
        final KongaButton button = new KongaButton(icon);
        button.addActionListener(new ButtonListener());
        button.setContentAreaFilled(false);
        button.setFocusPainted(false);
        final Border inactiveBorder = Empty.border(2, 2, 3, 3);
        final Border activeBorder = new BorderBuilder().etched().empty(0, 0, 1, 1);
        button.setBorder(inactiveBorder);
        button.addMouseListener(new MouseAdapter() {

            @Override
            public void mouseEntered(MouseEvent e) {
                button.setBorder(activeBorder);
            }

            @Override
            public void mouseExited(MouseEvent e) {
                button.setBorder(inactiveBorder);
            }
        });
        return button;
    }
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.