Tabnine Logo
DockLayoutInfo.setLocation
Code IndexAdd Tabnine 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)

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

public void setLocation( int childIndex, int subChildIndex, DockableProperty location ){
  if( location != null ){
    getSubChild( childIndex, subChildIndex ).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

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Join (org.hibernate.mapping)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now