Codota Logo
DockLayoutInfo.setLocation
Code IndexAdd Codota to your IDE (free)

How to use
setLocation
method
in
bibliothek.gui.dock.layout.DockLayoutInfo

Best Java code snippets using bibliothek.gui.dock.layout.DockLayoutInfo.setLocation (Showing top 18 results out of 315)

  • Common ways to obtain DockLayoutInfo
private void myMethod () {
DockLayoutInfo d =
  • Codota IconDockLayoutComposition composition;composition.getLayout()
  • Codota IconDockLayout data;new DockLayoutInfo(data)
  • Codota IconLocationEstimationMap locationEstimationMap;locationEstimationMap.getSubChild(childIndex, subChildIndex)
  • Smart code suggestions by Codota
}
origin: xyz.cofe/docking-frames-core

public void setLocation( int childIndex, int subChildIndex, DockableProperty location ){
  if( location != null ){
    getSubChild( childIndex, subChildIndex ).setLocation( location );
  }
}

origin: xyz.cofe/docking-frames-core

public void setLocation( int childIndex, DockableProperty location ){
  if( location != null ){	
    getChild( childIndex ).setLocation( location );
  }
}

origin: xyz.cofe/docking-frames-core

private void appendFirstOnEstimate( DockLayoutComposition composition, DockableProperty location ){
  DockLayoutInfo info = composition.getLayout();
  DockableProperty property = info.getLocation();
  if( property != null ){
    info.setLocation( DockUtilities.append( property, location ) );
  }
  for( DockLayoutComposition child : composition.getChildren() ){
    appendFirstOnEstimate( child, location );
  }
}

origin: xyz.cofe/docking-frames-core

public void finish( DockableProperty newParentLocation ){
  if( valid ){
    DockableProperty newLeafLocation = validLocation();
    if( newLeafLocation == null && newParentLocation != null ){
      newLeafLocation = newParentLocation.copy();
    }
    if( newLeafLocation != null ){
      newLeafLocation.setSuccessor( oldLocation );
      composition.getLayout().setLocation( newLeafLocation );
    }
    else{
      invalidate();
    }
  }
}

origin: org.opentcs.thirdparty.dockingframes/docking-frames-core

  @Override
  public PlaceholderListItem<Dockable> convert( ConvertedPlaceholderListItem item ){
    int id = item.getInt( "id" );
    int index = item.getInt( "index" );
    Path placeholder = null;
    if( item.contains( "placeholder" )){
      placeholder = new Path( item.getString( "placeholder" ) );
    }
    StackDockProperty property = new StackDockProperty( index, placeholder );
    children.getChild( id ).setLocation( property );
    
    for( int i = 0, n = children.getSubChildCount( id ); i<n; i++ ){
      DockLayoutInfo info = children.getSubChild( id, i );
      info.setLocation( new StackDockProperty( index, info.getPlaceholder() ) );
    }
    return null;
  }
});
origin: xyz.cofe/docking-frames-core

  @Override
  public PlaceholderListItem<Dockable> convert( ConvertedPlaceholderListItem item ){
    int id = item.getInt( "id" );
    int index = item.getInt( "index" );
    Path placeholder = null;
    if( item.contains( "placeholder" )){
      placeholder = new Path( item.getString( "placeholder" ) );
    }
    StackDockProperty property = new StackDockProperty( index, placeholder );
    children.getChild( id ).setLocation( property );
    
    for( int i = 0, n = children.getSubChildCount( id ); i<n; i++ ){
      DockLayoutInfo info = children.getSubChild( id, i );
      info.setLocation( new StackDockProperty( index, info.getPlaceholder() ) );
    }
    return null;
  }
});
origin: xyz.cofe/docking-frames-common

DockLayout<?> newLayout = new DockLayout<MultipleCDockable>( REPLACEMENT_FACTORY_ID, match );
DockLayoutInfo newInfo = new DockLayoutInfo( newLayout );
newInfo.setLocation( info.getLocation() );
info = newInfo;
origin: org.opentcs.thirdparty.dockingframes/docking-frames-common

DockLayout<?> newLayout = new DockLayout<MultipleCDockable>( REPLACEMENT_FACTORY_ID, match );
DockLayoutInfo newInfo = new DockLayoutInfo( newLayout );
newInfo.setLocation( info.getLocation() );
info = newInfo;
origin: xyz.cofe/docking-frames-core

  @Override
  public PlaceholderListItem<Dockable> convert( ConvertedPlaceholderListItem item ){
    int id = item.getInt( "id" );
    int index = item.getInt( "index" );
    boolean hold = item.getBoolean( "hold" );
    int size = item.getInt( "size" );
    Path placeholder = null;
    if( item.contains( "placeholder" )){
      placeholder = new Path( item.getString( "placeholder" ) );
    }
    FlapDockProperty property = new FlapDockProperty( index, hold, size, placeholder );
    children.getChild( id ).setLocation( property );
    
    for( int i = 0, n = children.getSubChildCount( id ); i<n; i++ ){
      DockLayoutInfo info = children.getSubChild( id, i );
      info.setLocation( new FlapDockProperty( id, hold, size, info.getPlaceholder() ) );
    }
    
    return null;
  }
});
origin: xyz.cofe/docking-frames-core

  @Override
  public PlaceholderListItem<Dockable> convert( ConvertedPlaceholderListItem item ) {
    int id = item.getInt( "id" );
    
    int x = item.getInt( "x" );
    int y = item.getInt( "y" );
    int width = item.getInt( "width" );
    int height = item.getInt( "height" );
    boolean fullscreen = item.getBoolean( "fullscreen" );
    Path placeholder = null;
    if( item.contains( "placeholder" )){
      placeholder = new Path( item.getString( "placeholder" ) );
    }
    
    ScreenDockProperty property = new ScreenDockProperty( x, y, width, height, placeholder, fullscreen );
    children.getChild( id ).setLocation( property );
    
    for( int i = 0, n = children.getSubChildCount( id ); i<n; i++ ){
      DockLayoutInfo info = children.getSubChild( id, i );
      info.setLocation( new ScreenDockProperty( x, y, width, height, info.getPlaceholder(), fullscreen ) );
    }
    return null;
  }
});
origin: xyz.cofe/docking-frames-core

Path placeholder = info.getPlaceholder();
if( placeholder != null ){
  info.setLocation( new SplitDockPlaceholderProperty( placeholder, property ) );
  info.setLocation( property );
  placeholder = subInfo.getPlaceholder();
  if( placeholder != null ){
    subInfo.setLocation( new SplitDockPlaceholderProperty( placeholder, property ) );
origin: xyz.cofe/docking-frames-core

if (info != null) {
  StackDockProperty property = new StackDockProperty( id, info.getPlaceholder() );
  info.setLocation( property );
origin: xyz.cofe/docking-frames-ext-toolbar

  @Override
  public Dockable convert( ConvertedPlaceholderListItem item ){
    int id = item.getInt( "id" );
    int index = item.getInt( "index" );
    Path placeholder = null;
    if( item.contains( "placeholder" )){
      placeholder = new Path( item.getString( "placeholder" ) );
    }
    children.setLocation( id, new ToolbarContainerProperty( index, placeholder ) );
    for( int i = 0, n = children.getSubChildCount( id ); i<n; i++ ){
      DockLayoutInfo info = children.getSubChild( id, i );
      info.setLocation( new ToolbarContainerProperty( index, info.getPlaceholder() ) );
    }
    return null;
  }
});
origin: org.opentcs.thirdparty.dockingframes/docking-frames-core

if (info != null) {
  StackDockProperty property = new StackDockProperty( id, info.getPlaceholder() );
  info.setLocation( property );
origin: xyz.cofe/docking-frames-ext-toolbar

  @Override
  public Dockable convert( ConvertedPlaceholderListItem item ){
    int id = item.getInt( "id" );
    int index = item.getInt( "index" );
    Path placeholder = null;
    if( item.contains( "placeholder" )){
      placeholder = new Path( item.getString( "placeholder" ) );
    }
    children.setLocation( id, new ToolbarProperty( index, placeholder ) );
    for( int i = 0, n = children.getSubChildCount( id ); i<n; i++ ){
      DockLayoutInfo info = children.getSubChild( id, i );
      info.setLocation( new ToolbarProperty( index, info.getPlaceholder() ) );
    }
    return null;
  }
});
origin: xyz.cofe/docking-frames-core

info.setLocation( original.getLocation() );
origin: xyz.cofe/docking-frames-core

if( info != null ){
  FlapDockProperty property = new FlapDockProperty( i, holding[i], sizes[i], info.getPlaceholder() );
  info.setLocation( property );
origin: xyz.cofe/docking-frames-core

if( info != null ){
  ScreenDockProperty property = new ScreenDockProperty( retro.x( i ), retro.y( i ), retro.width( i ), retro.height( i ), null );
  info.setLocation( property );
bibliothek.gui.dock.layoutDockLayoutInfosetLocation

Javadoc

Sets the location of the Dockable ,represented by this info, on its parent station.

Popular methods of DockLayoutInfo

  • <init>
    Creates a new info.
  • getDataByte
    Gets the data of this info as byte array.
  • getDataLayout
    Gets the data of this info as DockLayout.
  • getDataXML
    Gets the data of this info formated as xml.
  • getKind
    Tells what kind of information can be found in this info.
  • getLocation
    Gets the location of of the Dockable on its parent station.
  • setData
    Sets the information of this info. The object data must either be null, or an instance of XElement,b
  • getPlaceholder
    Gets the representation of this element as placeholder.
  • setPlaceholder
    Sets a placeholder which represents this element.

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getSharedPreferences (Context)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now