Package com.lightcrafts.ui.toolkit

Examples of com.lightcrafts.ui.toolkit.MenuButton


    }

    public NavigationPane(final FolderBrowserPane browser) {
        final JButton btnBack = new CoolButton(/*CoolButton.ButtonStyle.LEFT*/);
        final JButton btnForward = new CoolButton(/*CoolButton.ButtonStyle.RIGHT*/);
        final MenuButton btnPath = browser.getPathPopupMenu();

        btnBack.setIcon(ImgBack);
        btnBack.setToolTipText(LOCALE.get("BackToolTip"));
        btnBack.setEnabled(false);

        btnForward.setIcon(ImgFwd);
        btnForward.setToolTipText(LOCALE.get("ForwardToolTip"));
        btnForward.setEnabled(false);

        btnPath.setIcon(imgPath);
        // btnPath.putClientProperty(SubstanceLookAndFeel.FLAT_PROPERTY, Boolean.FALSE);
        btnPath.setToolTipText(LOCALE.get("PathToolTip"));

        btnBack.addActionListener(
            new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    browser.goBack();
View Full Code Here


    private MenuButton pathButton;

    private boolean inSyntheticSelectionChange; // prevent recursion

    public FolderBrowserPane() {
        pathButton = new MenuButton();
        tree = new FolderTree();
        backStack = new Stack<FolderTreeNode>();
        forwardStack = new Stack<FolderTreeNode>();

        // setBorder(BorderFactory.createMatteBorder(1, 0, 0, 0, LightZoneSkin.Colors.FrameBackground));
View Full Code Here

TOP

Related Classes of com.lightcrafts.ui.toolkit.MenuButton

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.