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(FocusRequest request)
          Starts a request to set the focused Dockable.
protected  void showCoreWarning()
          Opens an annoying dialog warning the developer that he is using the Core API, when he should be using the Common API.
 
Methods inherited from class bibliothek.gui.DockController
add, addAcceptance, addActionGuard, addActionOffer, addDockableFocusListener, addDockableSelectionListener, addDockTitleBindingListener, addRepresentative, addRepresentativeListener, createDefaultIconScheme, createDefaultTextScheme, disableCoreWarning, dockableSelectionListeners, dockTitleBindingListeners, ensureFocusSet, findRootWindow, fireDockableSelected, fireTitleBound, fireTitleUnbound, freezeLayout, getAcceptance, getActionOffer, getActionViewConverter, getColors, getComponentHierarchyObserver, getDefaultActionOffer, getDockableSelector, getDockComponentManager, getDockTitleManager, getDoubleClickController, getExtensions, getFocusController, getFocusedDockable, getFocusHistory, getFonts, getGlobalMouseDispatcher, getHierarchyLock, getIcons, getKeyboardController, getMouseFocusObserver, getPopupController, getPopupMenuFactory, getPopupSuppressor, getProperties, getRegister, getRelocator, getRepresentatives, 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, rootWindowChanged, searchElement, setAtLeastFocusedDockable, setDefaultActionOffer, setFocusedDockable, setFocusedDockable, setFocusedDockable, setPopupMenuFactory, setPopupSuppressor, setRestrictedEnvironment, setRootWindow, setRootWindowProvider, setSingleParentRemover, setTheme
 
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(FocusRequest request)
Description copied from class: DockController
Starts a request to set the focused Dockable.

Overrides:
setFocusedDockable in class DockController
Parameters:
request - the request to execute, not null

showCoreWarning

protected void showCoreWarning()
Description copied from class: DockController
Opens an annoying dialog warning the developer that he is using the Core API, when he should be using the Common API. This warning can be disabled by calling DockController.disableCoreWarning().

Overrides:
showCoreWarning in class DockController