Package org.noos.xing.mydoggy.plaf.ui.cmp

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.DesktopContentFrame


    }

    public void setDetachable(boolean detachable) {
        JInternalFrame[] frames = desktopPane.getAllFrames();
        for (JInternalFrame internalFrame : frames) {
            DesktopContentFrame frame = (DesktopContentFrame) internalFrame;
            frame.setDetachable(detachable);
        }
    }
View Full Code Here


    }

    protected void addUIForContent(Content content) {
        JInternalFrame internalFrame = (JInternalFrame) detachedContentUIMap.get(content);
        if (internalFrame == null) {
            internalFrame = new DesktopContentFrame(content, content.getTitle(), true, true, true, true);
            internalFrame.setFrameIcon(content.getIcon());

            internalFrame.getContentPane().add(content.getComponent());

            int contentX;
View Full Code Here

        boolean old = this.detachable;
        this.detachable = detachable;

        if (desktopPane != null)
            for (JInternalFrame internalFrame : desktopPane.getAllFrames()) {
                DesktopContentFrame frame = (DesktopContentFrame) internalFrame;
                frame.setDetachable(detachable);
            }

        fireContentManagerUIProperty("detachable", old, detachable);
    }
View Full Code Here

    protected void addUIForContent(Content content, Object... constraints) {
        JInternalFrame internalFrame = (JInternalFrame) detachedContentUIMap.get(content);

        if (internalFrame == null) {
            internalFrame = new DesktopContentFrame(content, content.getTitle(), true, true, true, true);
            internalFrame.setFrameIcon(content.getIcon());
            internalFrame.setClosable(closeable);
            ((DesktopContentFrame) internalFrame).setDetachable(detachable);

            internalFrame.getContentPane().add(content.getComponent());
View Full Code Here

        boolean old = this.detachable;
        this.detachable = detachable;

        if (desktopPane != null)
            for (JInternalFrame internalFrame : desktopPane.getAllFrames()) {
                DesktopContentFrame frame = (DesktopContentFrame) internalFrame;
                frame.setDetachable(detachable);
            }

        fireContentManagerUIProperty("detachable", old, detachable);
    }
View Full Code Here

    protected void addUIForContent(Content content, Object... constraints) {
        JInternalFrame internalFrame = (JInternalFrame) detachedContentUIMap.get(content);

        if (internalFrame == null) {
            internalFrame = new DesktopContentFrame(content, content.getTitle(), true, true, true, true);
            internalFrame.setFrameIcon(content.getIcon());
            internalFrame.setClosable(closeable);
            ((DesktopContentFrame) internalFrame).setDetachable(detachable);

            internalFrame.getContentPane().add(content.getComponent());
View Full Code Here

    }

    protected JInternalFrame getFrameByContent(Content content) {
        for (JInternalFrame internalFrame : desktopPane.getAllFrames()) {
            DesktopContentFrame frame = (DesktopContentFrame) internalFrame;
            if (frame.getContent() == content)
                return internalFrame;
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.plaf.ui.cmp.DesktopContentFrame

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.