bibliothek.gui.dock.common.intern
Class CDockController

java.lang.Object
  extended by bibliothek.gui.DockController
      extended by bibliothek.gui.dock.common.intern.CDockController

public class CDockController
extends DockController

The DockController that is usually used by a CControl.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.DockController
RESTRICTED_ENVIRONMENT
 
Constructor Summary
CDockController(CControl owner)
          Creates a new controller
CDockController(CControl owner, DockControllerFactory factory)
          Creates a new controller
 
Method Summary
 void setFocusedDockable(Dockable focusedDockable, java.awt.Component component, boolean force, boolean ensureFocusSet, boolean ensureDockableFocused)
          Sets the Dockable which should have the focus.
 
Methods inherited from class bibliothek.gui.DockController
add, addAcceptance, addActionGuard, addActionOffer, addDockableFocusListener, addDockableSelectionListener, addDockTitleBindingListener, addRepresentative, addRepresentativeListener, addUIListener, createDefaultTextScheme, dockableSelectionListeners, dockTitleBindingListeners, ensureFocusSet, findRootWindow, fireDockableSelected, fireTitleBound, fireTitleUnbound, freezeLayout, getAcceptance, getActionOffer, getActionViewConverter, getColors, getComponentHierarchyObserver, getDefaultActionOffer, getDockableSelector, getDockTitleManager, getDoubleClickController, getExtensions, getFocusController, getFocusedDockable, getFocusObserver, getFonts, getHierarchyLock, getIcons, getKeyboardController, getMouseFocusObserver, getPopupController, getPopupMenuFactory, getPopupSuppressor, getProperties, getRegister, getRelocator, getRootWindowProvider, getSingleParentRemover, getStation, getStationCount, getTexts, getTheme, getThemeManager, initiate, isBound, isFocused, isLayoutFrozen, isOnFocusing, isRestrictedEnvironment, kill, listOffers, meltLayout, remove, removeAcceptance, removeActionGuard, removeActionOffer, removeDockableFocusListener, removeDockableSelectionListener, removeDockTitleBindingListener, removeRepresentative, removeRepresentativeListener, removeUIListener, rootWindowChanged, searchElement, setAtLeastFocusedDockable, setDefaultActionOffer, setFocusedDockable, setFocusedDockable, setPopupMenuFactory, setPopupSuppressor, setRestrictedEnvironment, setRootWindow, setRootWindowProvider, setSingleParentRemover, setTheme, updateUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDockController

public CDockController(CControl owner)
Creates a new controller

Parameters:
owner - the owner of this controller

CDockController

public CDockController(CControl owner,
                       DockControllerFactory factory)
Creates a new controller

Parameters:
owner - the owner of this controller
factory - tells this controller how to initialize several subsystems
Method Detail

setFocusedDockable

public void setFocusedDockable(Dockable focusedDockable,
                               java.awt.Component component,
                               boolean force,
                               boolean ensureFocusSet,
                               boolean ensureDockableFocused)
Description copied from class: DockController
Sets the Dockable which should have the focus.

Overrides:
setFocusedDockable in class DockController
Parameters:
focusedDockable - the element with the focus or null
component - the Component which should receive the focus, can be null. See FocusController.setFocusedDockable(DockElementRepresentative, Component, boolean, boolean, boolean).
force - true if this controller must ensure that all properties are correct, false if some optimations are allowed. Clients normally can set this argument to false.
ensureFocusSet - if true, then this method should make sure that either focusedDockable itself or one of its DockElementRepresentative is the focus owner
ensureDockableFocused - if true, then this method should make sure that focusedDockable is the focus owner. This parameter is stronger that ensureFocusSet