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

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


        }

        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

                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

                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

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

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.