@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; } });
@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; } });
RetroStackDockStationLayout retroLayout = (RetroStackDockStationLayout)layout; for (int id : retroLayout.getChildren()) { DockLayoutInfo info = children.getChild( id ); if (info != null) { StackDockProperty property = new StackDockProperty( id, info.getPlaceholder() );
RetroStackDockStationLayout retroLayout = (RetroStackDockStationLayout)layout; for (int id : retroLayout.getChildren()) { DockLayoutInfo info = children.getChild( id ); if (info != null) { StackDockProperty property = new StackDockProperty( id, info.getPlaceholder() );
@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; } });
@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; } });
DockLayoutInfo info = children.getChild( ids[i] ); if( info != null ){ FlapDockProperty property = new FlapDockProperty( i, holding[i], sizes[i], info.getPlaceholder() );
@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; } });
DockLayoutInfo info = children.getChild( retro.id( i )); if( info != null ){ ScreenDockProperty property = new ScreenDockProperty( retro.x( i ), retro.y( i ), retro.width( i ), retro.height( i ), null );
@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; } });
DockLayoutInfo info = children.getChild( leaf.getId() ); if( info != null ){ for( int i = 0, n = children.getSubChildCount( leaf.getId() ); i<n; i++ ){ DockLayoutInfo subInfo = children.getSubChild( leaf.getId(), i ); placeholder = subInfo.getPlaceholder(); if( placeholder != null ){