Package bibliothek.gui.dock.layout

Examples of bibliothek.gui.dock.layout.DockableProperty


      return station.getStationLocation().expandProperty( station.getStation().getController(), property );
    }
   
   
    public CLocation getCLocation( Dockable dockable, Location location ){
      DockableProperty property = location.getLocation();
      if( property == null )
        return station.getStationLocation();
     
      return station.getStationLocation().expandProperty( station.getStation().getController(), property );
    }
View Full Code Here


        controller.getRelocator().addVetoableDockRelocatorListener( relocatorListener );
      }
    }
   
    public DockableProperty getLocation( Dockable child ){
      DockableProperty property = DockUtilities.getPropertyChain( getStation(), child );
      SplitDockFullScreenProperty result = new SplitDockFullScreenProperty();
      result.setSuccessor( property.getSuccessor() );
      return result;
    }
View Full Code Here

        return null;
     
      Location location = event.getLocation();
          Dockable dockable = event.getDockable();
         
      DockableProperty property = location == null ? null : location.getLocation();
     
      if( event.getMode().getUniqueIdentifier().equals( normalModeIdentifier() )){
        // try to set the mode prematurely
            if( property != null ){
              if( property.getSuccessor() == null ){
                  CLocationMode last = manager.getCurrentMode( dockable );
                  CLocationMode secondLast = manager.getPreviousMode( dockable );
                 
                    if( last != null && secondLast != null ){
                      if( normalModeIdentifier().equals( secondLast.getUniqueIdentifier() ) &&
View Full Code Here

        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;
View Full Code Here

    public boolean isRepresenting( DockStation station ){
      return station == CSplitDockStationHandle.this.station.getStation();
    }
   
    public CLocation getCLocation( Dockable dockable ){
      DockableProperty property = DockUtilities.getPropertyChain( getStation(), dockable );
      return getCLocation( property );
    }
View Full Code Here

      DockableProperty property = DockUtilities.getPropertyChain( getStation(), dockable );
      return getCLocation( property );
    }
   
    public CLocation getCLocation( Dockable dockable, Location location ){
      DockableProperty property = location.getLocation();
      return getCLocation( property );
    }
View Full Code Here

   * Gets a {@link CLocation} describing the location of <code>dockable</code> on the station of this handle.
   * @param dockable some child
   * @return the location
   */
  public CLocation getCLocation( Dockable dockable ){
    DockableProperty property = DockUtilities.getPropertyChain( station.getStation(), dockable );
    return expand( property );
  }
View Full Code Here

   * @param dockable some element which may or may not be a child of this station
   * @param location the location dockable would have if it would be a child of this station
   * @return the location or <code>null</code> if <code>location.getLocation()</code> is not valid
   */
  public CLocation getCLocation( Dockable dockable, Location location ){
    DockableProperty property = location.getLocation();
    if( property == null )
      return null;
   
    return expand( property );
  }
View Full Code Here

    }
   
    public CLocation getCLocation( Dockable dockable ){
      CStation<?> base = getBaseStation();
      DockStation baseStation = base.getStation();
      DockableProperty property = DockUtilities.getPropertyChain( baseStation, dockable );
      return base.getStationLocation().expandProperty( baseStation.getController(), property );
    }
View Full Code Here

      return base.getStationLocation().expandProperty( baseStation.getController(), property );
    }
 
    public CLocation getCLocation( Dockable dockable, Location location ){
      CStation<?> base = getBaseStation();
      DockableProperty property = location.getLocation();
      if( property == null ){
        return base.getStationLocation();
      }
     
      return base.getStationLocation().expandProperty( base.getStation().getController(), property );
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.layout.DockableProperty

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.