Package bibliothek.gui.dock.station.split

Examples of bibliothek.gui.dock.station.split.DockableSplitDockTree


     * {@link CDockable#setWorkingArea(CStation)} for each
     * dockable in <code>grid</code>.
     * @param grid a grid containing some new {@link Dockable}s
     */
    public void deploy( CGrid grid ){
        DockableSplitDockTree tree = grid.toTree();
       
        for( Dockable dockable : tree.getDockables() ){
            if( dockable instanceof CommonDockable ){
                CommonDockable cdock = (CommonDockable)dockable;
                cdock.getDockable().setWorkingArea( this );
            }
        }
View Full Code Here


   */
  public void dropAside( Dockable dockable ){
    if( dockable.getDockParent() == station.getStation() )
      throw new IllegalStateException( "dockable already a child" );
   
    DockableSplitDockTree tree = getStation().createTree();
    if( tree.getRoot() == null )
      tree.root( dockable );
    else{
      tree.root( tree.horizontal( tree.put( dockable ), tree.unroot() ) );
    }
    getStation().dropTree( tree, false );
  }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.station.split.DockableSplitDockTree

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.