Examples of MultiSplitLayout


Examples of org.jdesktop.swingx.MultiSplitLayout

   * @param dockable the dockable object containing the XDockingPanel instance
   * that is to be zoomed/shown
   */
  public void swapViews( XDockable dockable )
  {
    MultiSplitLayout multiSplitLayout = (MultiSplitLayout)multiSplitPane.getLayout();
    if ( !zoomPanel.isVisible()) {
      // If the name is non null the dividers are also removed
      multiSplitLayout.setRemoveDividers( false );
      zoomPanel.add( dockable.dockedContainer, BorderLayout.CENTER );
      cardManager.show( this, "ZoomPane" );
      dockable.dockedContainer.setVisible( true );
      zoomedDockable = dockable;
    }
    else {
      // Reset the panel name
      multiSplitLayout.setRemoveDividers( true );
      multiSplitPane.add( dockable.dockedContainer, dockable.dockedContainer.getConstraint() );
      cardManager.show( this, "MultiSplitPane" );
      zoomedDockable = null;
    }
    revalidate();
View Full Code Here

Examples of org.jdesktop.swingx.MultiSplitLayout

   * view is not zoomed then this method has no effect.
   */
  public XDockingPanel restoreViews()
  {
    if ( zoomPanel.isVisible()) {
      MultiSplitLayout multiSplitLayout = (MultiSplitLayout)multiSplitPane.getLayout();
      XDockingPanel dockedContainer = null;
      if ( zoomPanel.getComponentCount() > 0 ) {
        dockedContainer = ((XDockingPanel)zoomPanel.getComponent( 0 ));
        // Reset the panel name
        multiSplitLayout.setRemoveDividers( true );
        multiSplitPane.add( dockedContainer, dockedContainer.getConstraint() );
      }
      cardManager.show( this, "MultiSplitPane" );
      if ( zoomedDockable != null )
        zoomedDockable.header.setZoomState( zoomedDockable.header.ZOOM );
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.gui.common.MultiSplitLayout

    if (_bugDetailsSplitPane == null) {
      _bugDetailsSplitPane = new MultiSplitPane();
      _bugDetailsSplitPane.setContinuousLayout(true);
      final String layoutDef = "(ROW weight=1.0 (COLUMN weight=1.0 top bottom))";
      final MultiSplitLayout.Node modelRoot = MultiSplitLayout.parseModel(layoutDef);
      final MultiSplitLayout multiSplitLayout = _bugDetailsSplitPane.getMultiSplitLayout();
      multiSplitLayout.setDividerSize(6);
      multiSplitLayout.setModel(modelRoot);
      multiSplitLayout.setFloatingDividers(true);
      _bugDetailsSplitPane.add(getBugDetailsPanel(), "top");
      _bugDetailsSplitPane.add(getBugExplanationPanel(), "bottom");


    }
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.gui.common.MultiSplitLayout

  }


  private void _updateMultiSplitLayout(final String layoutDef) {
    final MultiSplitLayout.Node modelRoot = MultiSplitLayout.parseModel(layoutDef);
    final MultiSplitLayout multiSplitLayout = getMultiSplitPane().getMultiSplitLayout();
    multiSplitLayout.setDividerSize(5);
    multiSplitLayout.setModel(modelRoot);
    multiSplitLayout.setFloatingDividers(true);
  }
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.