bibliothek.gui.dock.security
Class SecureDockController

java.lang.Object
  extended by bibliothek.gui.DockController
      extended by bibliothek.gui.dock.security.SecureDockController

public class SecureDockController
extends DockController

The DockingFrames normally uses some system-resources to handle the focus. However, there are some environments where system-resources are not available due to a SecurityManager (for example in an Applet). The Secure-X-classes are designed to work in such an environment. They are not as efficient as the normal classes, and there may be some settings where they have a weird behaviour.
Setting up the secure environment is easy: just use a SecureXZY where normally a XYZ would be. Additionally clients must pack all stations into one or more GlassedPanes. These panes must then be added to the SecureFocusController of this SecureDockController.
Note that SecureFlapDockStation and SecureScreenDockStation will add a GlassedPane to their windows and dialogs automatically.

Author:
Benjamin Sigg

Constructor Summary
SecureDockController()
           
 
Method Summary
protected  MouseFocusObserver createMouseFocusObserver()
          Creates the focus-controller of this controller.
 SecureMouseFocusObserver getFocusObserver()
          Gets the current focus-controller
 
Methods inherited from class bibliothek.gui.DockController
add, addAcceptance, addActionGuard, addActionOffer, addDockControllerListener, createActionViewConverter, createDefaultActionOffer, createFocusController, createPopupController, createRegister, createRelocator, createSingleParentRemover, ensureFocusSet, firedockableFocused, fireTitleBinded, fireTitleUnbinded, getAcceptance, getActionViewConverter, getDefaultActionOffer, getDockTitleManager, getFocusedDockable, getIcons, getPopupSuppressor, getProperties, getRegister, getRelocator, getStation, getStationCount, getTheme, initiate, isBinded, isFocused, isOnFocusing, isSingleParentRemove, kill, listDockControllerListener, listOffers, rebindTitles, remove, removeAcceptance, removeActionGuard, removeActionOffer, removeDockControllerListener, setAtLeastFocusedDockable, setDefaultActionOffer, setFocusedDockable, setFocusedDockable, setPopupSuppressor, setSingleParentRemove, setTheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureDockController

public SecureDockController()
Method Detail

createMouseFocusObserver

protected MouseFocusObserver createMouseFocusObserver()
Description copied from class: DockController
Creates the focus-controller of this controller.

Overrides:
createMouseFocusObserver in class DockController
Returns:
the controller, not null

getFocusObserver

public SecureMouseFocusObserver getFocusObserver()
Description copied from class: DockController
Gets the current focus-controller

Overrides:
getFocusObserver in class DockController
Returns:
the controller