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

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

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

origin: xyz.cofe/docking-frames-core

  public DockableProperty validLocation(){
    DockableProperty location = composition.getLayout().getLocation();
    if( location != oldLocation ){
      return location;
    }
    return null;
  }
}
origin: xyz.cofe/docking-frames-core

/**
 * Tries to guess the location of the elements stored in the tree
 * below <code>composition</code>. Invoking this method is the same as calling
 * <code>guessLocation( composition, composition.getLayout().getLocation() );</code>.
 * @param composition the composition whose location will be determined
 */
public void estimateLocations( DockLayoutComposition composition ){
  estimateLocations( composition, composition.getLayout().getLocation() );
}
origin: xyz.cofe/docking-frames-core

public void prepare(){
  if( valid ){
    oldLocation = composition.getLayout().getLocation();
    for( Node child : children ){
      child.prepare();
    }
  }
}

origin: xyz.cofe/docking-frames-core

/**
 * Lists for all keys that can be found in <code>composition</code> its
 * estimated location.<br>
 * Note: This method will call {@link #estimateLocations(DockLayoutComposition)}
 * to get the most recent locations 
 * @param composition some composition to search for keys and locations
 * @param missingOnly if set, then only locations of keys for which 
 * no {@link DockLayout} is set are reported. This are the keys which most
 * likely will be ignored when calling {@link #convert(DockLayoutComposition)}
 * @return the map of keys and positions, might be empty
 */
public Map<String, DockableProperty> listEstimatedLocations( DockLayoutComposition composition, boolean missingOnly ){
  return listEstimatedLocations( composition, composition.getLayout().getLocation(), missingOnly );
}

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

/**
 * Lists for all keys that can be found in <code>composition</code> its
 * estimated location.<br>
 * Note: This method will call {@link #estimateLocations(DockLayoutComposition)}
 * to get the most recent locations 
 * @param composition some composition to search for keys and locations
 * @param missingOnly if set, then only locations of keys for which 
 * no {@link DockLayout} is set are reported. This are the keys which most
 * likely will be ignored when calling {@link #convert(DockLayoutComposition)}
 * @return the map of keys and positions, might be empty
 */
public Map<String, DockableProperty> listEstimatedLocations( DockLayoutComposition composition, boolean missingOnly ){
  return listEstimatedLocations( composition, composition.getLayout().getLocation(), missingOnly );
}

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

private void listEstimatedLocations( DockLayoutComposition composition, boolean missingOnly, Map<String, DockableProperty> map ){
  DockableProperty location = composition.getLayout().getLocation();
  if( location != null ){
    String key = getKey( composition, missingOnly );
    if( key != null){
      map.put( key, location );
    }
  }
  
  List<DockLayoutComposition> children = composition.getChildren();
  if( children != null ){
    for( DockLayoutComposition child : children ){
      listEstimatedLocations( child, missingOnly, map );
    }
  }
}

origin: xyz.cofe/docking-frames-core

private void listEstimatedLocations( DockLayoutComposition composition, boolean missingOnly, Map<String, DockableProperty> map ){
  DockableProperty location = composition.getLayout().getLocation();
  if( location != null ){
    String key = getKey( composition, missingOnly );
    if( key != null){
      map.put( key, location );
    }
  }
  
  List<DockLayoutComposition> children = composition.getChildren();
  if( children != null ){
    for( DockLayoutComposition child : children ){
      listEstimatedLocations( child, missingOnly, map );
    }
  }
}

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-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

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

if( info.getKind() == DockLayoutInfo.Data.DOCK_LAYOUT ){
  if( info.getDataLayout().getFactoryID().equals( factoryId )){
    DockableProperty location = info.getLocation();
    if( location != null ){
      DockFactory<DockElement,?,Object> normalizedFactory = (DockFactory<DockElement,?,Object>)factory;
bibliothek.gui.dock.layoutDockLayoutInfogetLocation

Javadoc

Gets the location of of the Dockable on its parent station.

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.
  • 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

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Top PhpStorm 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