Package bibliothek.gui.dock.layout

Examples of bibliothek.gui.dock.layout.DockableProperty


  public Location current( Dockable dockable ){
    MaximizedModeArea area = get( dockable );
    if( area == null )
      return null;
   
    DockableProperty location = area.getLocation( dockable );
    return new Location( getUniqueIdentifier(), area.getUniqueId(), location );
  }
View Full Code Here


   */
  public Location current( Dockable dockable ){
    A area = get( dockable, true );
    if( area == null )
      return null;
    DockableProperty location = area.getLocation( dockable );
    return new Location( getUniqueIdentifier(), area.getUniqueId(), location );
  }
View Full Code Here

      else{
        throw new IllegalStateException( "unable to find valid target '" + history.getRoot() + "'" );
      }
    }
   
    DockableProperty location = history == null ? null : history.getLocation();
    return area.setLocation( dockable, location, set );
  }
View Full Code Here

        Path mode = null;
        if( version8 ){
          mode = new Path( in.readUTF() );
        }
        String root = in.readUTF();
        DockableProperty location = transformer.read( in );
        if( !version8 ){
          mode = guessMode( location );
        }
        return new Location( mode, root, location );
    }
View Full Code Here

      Path mode = null;
      if( xmode != null ){
        mode = new Path( xmode.getString() );
      }
      String root = element.getElement( "root" ).getString();
      DockableProperty location = transformer.readXML( element.getElement( "location" ) );
      if( mode == null ){
        mode = guessMode( location );
      }
        return new Location( mode, root, location );
    }
View Full Code Here

        }
        if( area == null ){
          area = getDefaultArea();
        }

        DockableProperty property = null;
        if( location != null ){
          property = location.getLocation();
        }
        if( property == null && !area.isChild( dockable )){
          property = behavior.findLocation( area, dockable );
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.