bibliothek.gui.dock.security
Class SecureDockControllerFactory

java.lang.Object
  extended by bibliothek.gui.dock.control.DefaultDockControllerFactory
      extended by bibliothek.gui.dock.security.SecureDockControllerFactory
All Implemented Interfaces:
DockControllerFactory

public class SecureDockControllerFactory
extends DefaultDockControllerFactory

A factory creating secure versions of various elements of a DockController

Author:
Benjamin Sigg

Constructor Summary
SecureDockControllerFactory()
           
 
Method Summary
 KeyboardController createKeyboardController(DockController controller, ControllerSetupCollection setup)
          Creates a new controller for global KeyEvents.
 MouseFocusObserver createMouseFocusObserver(DockController controller, ControllerSetupCollection setup)
          Creates the focus-controller of the controller.
 
Methods inherited from class bibliothek.gui.dock.control.DefaultDockControllerFactory
createActionBinder, createActionViewConverter, createDefaultActionOffer, createDockableSelector, createDoubleClickController, createExtensionManager, createFocusController, createPopupController, createRegister, createRelocator, createSingleParentRemover
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureDockControllerFactory

public SecureDockControllerFactory()
Method Detail

createMouseFocusObserver

public MouseFocusObserver createMouseFocusObserver(DockController controller,
                                                   ControllerSetupCollection setup)
Description copied from interface: DockControllerFactory
Creates the focus-controller of the controller.

Specified by:
createMouseFocusObserver in interface DockControllerFactory
Overrides:
createMouseFocusObserver in class DefaultDockControllerFactory
Parameters:
controller - the controller for which the element is created
setup - an observable where new objects can add ControllerSetupListener to be informed when the setup of controller is finished.
Returns:
the controller, not null

createKeyboardController

public KeyboardController createKeyboardController(DockController controller,
                                                   ControllerSetupCollection setup)
Description copied from interface: DockControllerFactory
Creates a new controller for global KeyEvents.

Specified by:
createKeyboardController in interface DockControllerFactory
Overrides:
createKeyboardController in class DefaultDockControllerFactory
Parameters:
controller - the controller for which the element is created
setup - an observable where new objects can add ControllerSetupListener to be informed when the setup of controller is finished.
Returns:
the new controller, not null