Examples of DesktopContentFrame


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

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

    }

    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

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

        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

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

    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

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

        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

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

    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

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

    }

    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
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.