Package bibliothek.gui.dock

Examples of bibliothek.gui.dock.SplitDockStation


      DockRegister register = control.getController().getRegister();
      if( register.isStalled() ){
        register.addDockRegisterListener( new DelayedAutoRemove() );
      }
      else{
        SplitDockStation station = getStation();
        if( station.getDockableCount() == 0 ){
          DockStation parent = station.getDockParent();
          if( parent != null ){
            parent.drag( station );
          }
          control.removeDockable( this );
          control.removeStation( this );
View Full Code Here


      }
      return new Dockable[]{ dockable };
    }

    public void setMaximized( Dockable dockable, boolean maximized, Location location, AffectedSet set ){
      SplitDockStation station = getStation();
     
      if( !maximized ){
        if( station.getFullScreen() != null && DockUtilities.isAncestor( station.getFullScreen(), dockable )){
          station.setFullScreen( null );
        }
      }
      else{
        DockableProperty property = location == null ? null : location.getLocation();
       
        if( property instanceof SplitDockFullScreenProperty ){
          if( getMaximized() != null ){
            if( getStation().drop( dockable, property ) ){
                  return;
                }
          }
        }
       
        if( dockable.getDockParent() == station ){
          station.setFullScreen( dockable );
            }
            else{
                if( dockable.getDockParent() != null )
                    dockable.getDockParent().drag( dockable );
 
                dropAside( dockable );
                station.setFullScreen( dockable );
            }
      }
     
      set.add( dockable );
    }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.SplitDockStation

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.