bibliothek.gui.dock.common.intern.layout
Class CLayoutChangeStrategy.CSettingAccess

java.lang.Object
  extended by bibliothek.gui.dock.frontend.DefaultLayoutChangeStrategy.SettingAccess
      extended by bibliothek.gui.dock.common.intern.layout.CLayoutChangeStrategy.CSettingAccess
Enclosing class:
CLayoutChangeStrategy

protected class CLayoutChangeStrategy.CSettingAccess
extends DefaultLayoutChangeStrategy.SettingAccess

A DefaultLayoutChangeStrategy.SettingAccess that modifies the roots by calling CLayoutChangeStrategy.replaceMultipleDockables(DockFrontendInternals, CSettingAccess, DockLayoutComposition).

Author:
Benjamin Sigg

Constructor Summary
CLayoutChangeStrategy.CSettingAccess(DockFrontendInternals frontend, Setting setting)
           
 
Method Summary
 MultipleCDockable findMatch(DockLayout<?> layout)
          Searches a match for the meta-data layout.
 DockLayoutComposition getRoot(java.lang.String root)
          Gets the layout of a root.
 
Methods inherited from class bibliothek.gui.dock.frontend.DefaultLayoutChangeStrategy.SettingAccess
fillMissing, getInvisibleCount, getInvisibleKey, getInvisibleLayout, getInvisibleLocation, getInvisibleRoot, getRootKeys, getSetting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLayoutChangeStrategy.CSettingAccess

public CLayoutChangeStrategy.CSettingAccess(DockFrontendInternals frontend,
                                            Setting setting)
Method Detail

findMatch

public MultipleCDockable findMatch(DockLayout<?> layout)
Searches a match for the meta-data layout. The result of this method will never be result again for this CLayoutChangeStrategy.CSettingAccess.

Parameters:
layout - the element whose match is searched
Returns:
the match or null if none was found

getRoot

public DockLayoutComposition getRoot(java.lang.String root)
Description copied from class: DefaultLayoutChangeStrategy.SettingAccess
Gets the layout of a root.

Overrides:
getRoot in class DefaultLayoutChangeStrategy.SettingAccess
Parameters:
root - the root
Returns:
the layout or null