Package net.infonode.docking

Examples of net.infonode.docking.DockingWindow


        this.menuBarViewTool.enableConfigEnergyMenuWindow();
    }

    private void computeXTrajectorySelectedAndClose() {
        xTrajectorySelected = false;
        DockingWindow parent = xTrajectoryDocking.getWindowParent();
        if (parent != null) {
            xTrajectorySelected = (parent.getLastFocusedChildWindow() == xTrajectoryDocking);
        }
        xTrajectoryDocking.close();
    }
View Full Code Here


        this.menuBarViewTool.enableConfigEnergyMenuWindow();
    }

    private void computeXTrajectorySelectedAndClose() {
        xTrajectorySelected = false;
        DockingWindow parent = xTrajectoryDocking.getWindowParent();
        if (parent != null) {
            xTrajectorySelected = parent.getLastFocusedChildWindow() == xTrajectoryDocking;
        }
        xTrajectoryDocking.close();
    }
View Full Code Here

        this.menuBarViewTool.enableConfigEnergyMenuWindow();
    }

    private void computeXTrajectorySelectedAndClose() {
        xTrajectorySelected = false;
        DockingWindow parent = xTrajectoryDocking.getWindowParent();
        if (parent != null) {
            xTrajectorySelected = (parent.getLastFocusedChildWindow() == xTrajectoryDocking);
        }
        xTrajectoryDocking.close();
    }
View Full Code Here

        this.menuBarViewTool.enableConfigEnergyMenuWindow();
    }

    private void computeXTrajectorySelectedAndClose() {
        xTrajectorySelected = false;
        DockingWindow parent = xTrajectoryDocking.getWindowParent();
        if (parent != null) {
            xTrajectorySelected = parent.getLastFocusedChildWindow() == xTrajectoryDocking;
        }
        xTrajectoryDocking.close();
    }
View Full Code Here

        this.menuBarViewTool.enableConfigEnergyMenuWindow();
    }

    private void computeXTrajectorySelectedAndClose() {
        xTrajectorySelected = false;
        DockingWindow parent = xTrajectoryDocking.getWindowParent();
        if (parent != null) {
            xTrajectorySelected = parent.getLastFocusedChildWindow() == xTrajectoryDocking;
        }
        xTrajectoryDocking.close();
    }
View Full Code Here

        this.menuBarViewTool.enableConfigEnergyMenuWindow();
    }

    private void computeXTrajectorySelectedAndClose() {
        xTrajectorySelected = false;
        DockingWindow parent = xTrajectoryDocking.getWindowParent();
        if (parent != null) {
            xTrajectorySelected = parent.getLastFocusedChildWindow() == xTrajectoryDocking;
        }
        xTrajectoryDocking.close();
    }
View Full Code Here

     rootWindow.setInputMap(JDesktopPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, map);
  }


  private DockingWindow getLastFocusedChildWindow(DockingWindow parentWindow) {
      DockingWindow lastFocusedChildWindow = parentWindow.getLastFocusedChildWindow();
      if(lastFocusedChildWindow == null)
        return parentWindow;
      else
        return getLastFocusedChildWindow(lastFocusedChildWindow);
    }
View Full Code Here

  static private View getContainingDockedWindow(final Component pNewMap) {
      return (View) SwingUtilities.getAncestorOfClass(View.class, pNewMap);
    }

  protected void addDockedView(View dynamicView) {
    DockingWindow lastFocusedChildWindow = getLastFocusedChildWindow(rootWindow);
      if(lastFocusedChildWindow == null) {
          DockingUtil.addWindow(dynamicView, rootWindow);
       }
       else{
      Container parent = SwingUtilities.getAncestorOfClass(DockingWindow.class, lastFocusedChildWindow);
      if(parent instanceof TabWindow)
        ((TabWindow)parent).addTab(dynamicView);
      else
        DockingUtil.addWindow(dynamicView, lastFocusedChildWindow.getRootWindow());
    }
    }
View Full Code Here

TOP

Related Classes of net.infonode.docking.DockingWindow

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.