Package com.vlsolutions.swing.docking

Examples of com.vlsolutions.swing.docking.DockingDesktop


        }
    }

    protected JComponent createControl() {
        String name = getPageDescriptor().getId();
        desktop = new DockingDesktop(name, getDockingContext());
        desktop.setName(name);
        DockableListener listener = new DockableListener();
        desktop.addDockableStateChangeListener(listener);
        desktop.addDockableStateWillChangeListener(listener);
        desktop.addDockableSelectionListener(listener);
View Full Code Here


        } else {
          maxBtn.setVisible(false);
        }
       
        boolean isChildOfMaximizedContainer = false;
        DockingDesktop desk = titleBar.getDesktop();
        if (desk != null){
          Dockable max = desk.getMaximizedDockable();
          if (max != null && max.getComponent().getParent().isAncestorOf(titleBar)){
            isChildOfMaximizedContainer = true;
          }
        }
       
View Full Code Here

        }

        setIconImage(java.awt.Toolkit.getDefaultToolkit().getImage(
                this.getClass().getClassLoader().getResource("net/sourceforge/marathon/display/images/logo16.gif")));
        setJMenuBar(createMenuBar());
        workspace = new DockingDesktop("Marathon");
        workspace.addDockableSelectionListener(dockingListener);
        workspace.addDockableStateWillChangeListener(dockingListener);
        workspace.addDockableStateChangeListener(dockingListener);
        ToolBarContainer container = ToolBarContainer.createDefaultContainer(true, true, true, true);
        createToolBar(container);
View Full Code Here

TOP

Related Classes of com.vlsolutions.swing.docking.DockingDesktop

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.