Examples of FloatingLiveWindow


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

                    settedListener = true;
                }
            } else if (evt.getOldValue() == ToolWindowType.FLOATING_LIVE) {
                if (descriptor.getManager().getLayeredPane() != null) {
                    FloatingLiveWindow floatingLiveWindow = descriptor.getManager().getFloatingLiveWindow(toolWindow);
                    if (settedListener && floatingLiveWindow.isValid())
                        lastBounds = floatingLiveWindow.getBounds();

                    // Remove listeners
                    toolWindowTabPanel.removeEventDispatcherlListener(moveMouseInputHandler);

                    toolWindowTitleBar.removeMouseMotionListener(moveMouseInputHandler);
View Full Code Here

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

        }

        public void onMaximized(PropertyChangeEvent evt) {
            if (toolWindow.getType() == ToolWindowType.FLOATING_LIVE) {

                FloatingLiveWindow floatingLiveWindow = descriptor.getManager().getFloatingLiveWindow(toolWindow);
                if ((Boolean) evt.getNewValue()) {
                    oldBounds = floatingLiveWindow.getBounds();

                    Rectangle bounds = descriptor.getManager().getMainContainer().getBounds();
                    bounds = SwingUtilities.convertRectangle(descriptor.getManager().getMainContainer(),
                                                             bounds,
                                                             descriptor.getManager().getRootPane().getLayeredPane());
                    floatingLiveWindow.setBounds(bounds);
                } else {
                    floatingLiveWindow.setBounds(oldBounds);
                }

                SwingUtil.repaint((Component) floatingLiveWindow);
            }
        }
View Full Code Here

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

                return;

            if (valueAdjusting)
                return;

            FloatingLiveWindow floatingLiveWindow = descriptor.getManager().getFloatingLiveWindow(toolWindow);
            if (floatingLiveWindow.isVisible()) {
                Point location = (Point) evt.getNewValue();
                floatingLiveWindow.setLocation(location);
            }
            lastBounds = null;
        }
View Full Code Here

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

                return;

            if (valueAdjusting)
                return;

            FloatingLiveWindow floatingLiveWindow = descriptor.getManager().getFloatingLiveWindow(toolWindow);
            if (floatingLiveWindow.isVisible()) {
                Dimension size = (Dimension) evt.getNewValue();
                floatingLiveWindow.setSize(size);
            }
            lastBounds = 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.