Tabnine Logo
DockLayoutInfo.getPlaceholder
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: xyz.cofe/docking-frames-core

Path placeholder = info.getPlaceholder();
out.writeBoolean( placeholder != null );
if( placeholder != null ){
origin: xyz.cofe/docking-frames-core

DockLayoutInfo info = children.getChild( id );
if (info != null) {
  StackDockProperty property = new StackDockProperty( id, info.getPlaceholder() );
  info.setLocation( property );
origin: org.opentcs.thirdparty.dockingframes/docking-frames-core

DockLayoutInfo info = children.getChild( id );
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: 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 = readEntry( info.getDataByte(), info.getPlaceholder() );
if( info != null && info.getKind() == DockLayoutInfo.Data.BYTE ){
  info = original;
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

Path placeholder = info.getPlaceholder();
if( placeholder != null ){
  info.setLocation( new SplitDockPlaceholderProperty( placeholder, property ) );
  placeholder = subInfo.getPlaceholder();
  if( placeholder != null ){
    subInfo.setLocation( new SplitDockPlaceholderProperty( placeholder, property ) );
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-core

DockLayoutInfo info = children.getChild( ids[i] );
if( info != null ){
  FlapDockProperty property = new FlapDockProperty( i, holding[i], sizes[i], info.getPlaceholder() );
  info.setLocation( property );
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 ){
  xfactory.addString( "placeholder", placeholder.toString() );
bibliothek.gui.dock.layoutDockLayoutInfogetPlaceholder

Javadoc

Gets the representation of this element as placeholder.

Popular methods of DockLayoutInfo

  • setLocation
    Sets the location of the Dockable ,represented by this info, on its parent station.
  • <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
  • setPlaceholder
    Sets a placeholder which represents this element.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top plugins for Android Studio
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