Package bibliothek.gui.dock.common.location

Examples of bibliothek.gui.dock.common.location.CMaximizedLocation


  /**
   * Creates a location representing the maximized mode.
   * @return the maximized mode
   */
  public static CMaximizedLocation maximized(){
    return new CMaximizedLocation();
  }
View Full Code Here


   * responsibility to ensure that <code>area</code> actually allows maximization.
   * @param area the area on which an element will be maximized
   * @return the new maximization location
   */
  public static CMaximizedLocation maximized( CGridArea area ){
    return new CMaximizedLocation( area.getUniqueId() );
  }
View Full Code Here

   * responsibility to ensure that <code>area</code> actually allows maximization.
   * @param area the area on which an element will be maximized
   * @return the new maximization location
   */
  public static CMaximizedLocation maximized( CContentArea area ){
    return new CMaximizedLocation( area.getCenterIdentifier() );
  }
View Full Code Here

      return getCLocation( property );
    }
   
    private CLocation getCLocation( DockableProperty property ){
      CLocation stationLocation = station.getStationLocation();
      CMaximizedLocation result = new CMaximizedLocation( stationLocation.findRoot() );
     
      if( property != null ){
        property = property.getSuccessor();
      }
      if( property != null ){
        return result.expandProperty( station.getStation().getController(), property );
      }
      else{
        return result;
      }
    }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.common.location.CMaximizedLocation

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.