Package com.openzoeos.pane

Examples of com.openzoeos.pane.CollapsiblePane


            public Color getForeground() {
                return UIColors.getDefaultFG();
            }
        };
        p.add(t, BorderLayout.CENTER);
        CollapsiblePane cp = makeCollapsiblePane("Configuration", p);
        cp.addCollapsiblePaneListener(new CollapsiblePaneListener() {
            public void paneExpanding(CollapsiblePaneEvent event) {
                device.refreshDeviceConfiguration(false);
            }

            public void paneExpanded(CollapsiblePaneEvent event) {
View Full Code Here


        SnapshotPanel p = new SnapshotPanel(device);
        return makeCollapsiblePane("Workspace snapshots", p);
    }

    private CollapsiblePane makeCollapsiblePane(String title, JComponent content) {
        CollapsiblePane cp = new CollapsiblePane(title) {
            public Color getBackground() {
                return UIColors.getDefaultBG();
            }

            public Color getForeground() {
                return UIColors.getDefaultFG();
            }
        };
        cp.setContentPane(content);
        cp.setBorder(new FuzzyLineBorder(UIColors.getTableBorder(), UIColors.getTableBorderWidth(), true, true));
        return cp;
    }
View Full Code Here

TOP

Related Classes of com.openzoeos.pane.CollapsiblePane

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.