|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.control.DefaultDockControllerFactory
public class DefaultDockControllerFactory
A very simple implementation of DockControllerFactory
, creating
only the default-versions of every element.
Constructor Summary | |
---|---|
DefaultDockControllerFactory()
|
Method Summary | |
---|---|
DockRegisterListener |
createActionBinder(DockController controller,
ControllerSetupCollection setup)
Creates a listener that will ensure that every DockAction is
bound to its Dockable . |
ActionViewConverter |
createActionViewConverter(DockController controller,
ControllerSetupCollection setup)
Creates the converter that will transform actions into views. |
ActionOffer |
createDefaultActionOffer(DockController controller,
ControllerSetupCollection setup)
Creates the default action offer. |
DockableSelector |
createDockableSelector(DockController controller,
ControllerSetupCollection setup)
Creates a new selector for Dockable s. |
DoubleClickController |
createDoubleClickController(DockController controller,
ControllerSetupCollection setup)
Creates the controller that will forward double clicks with the mouse. |
DockRegisterListener |
createFocusController(DockController controller,
ControllerSetupCollection setup)
Creates a listener which will observe all stations to ensure that the focused Dockable is always visible. |
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. |
PopupController |
createPopupController(DockController controller,
ControllerSetupCollection setup)
Creates a listener which will open a popup-menu for each title or dockable known to the controller. |
DockRegister |
createRegister(DockController controller,
ControllerSetupCollection setup)
Creates a new register for the controller. |
DockRelocator |
createRelocator(DockController controller,
ControllerSetupCollection setup)
Creates a new relocator for the controller. |
SingleParentRemover |
createSingleParentRemover(DockController controller,
ControllerSetupCollection setup)
Creates a SingleParentRemover that will be used to remove
some stations from this controller. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDockControllerFactory()
Method Detail |
---|
public DockRegisterListener createActionBinder(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
DockAction
is
bound to its Dockable
.
createActionBinder
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public ActionViewConverter createActionViewConverter(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createActionViewConverter
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public ActionOffer createDefaultActionOffer(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
ActionOffer
will
be used if no other offer was interested in a Dockable.
createDefaultActionOffer
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public DoubleClickController createDoubleClickController(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createDoubleClickController
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public DockRegisterListener createFocusController(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
Dockable
is always visible.
createFocusController
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public DockableSelector createDockableSelector(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
Dockable
s.
createDockableSelector
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public KeyboardController createKeyboardController(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createKeyboardController
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public MouseFocusObserver createMouseFocusObserver(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createMouseFocusObserver
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public PopupController createPopupController(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createPopupController
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
null
public DockRegister createRegister(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createRegister
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
public DockRelocator createRelocator(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
createRelocator
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
public SingleParentRemover createSingleParentRemover(DockController controller, ControllerSetupCollection setup)
DockControllerFactory
SingleParentRemover
that will be used to remove
some stations from this controller.
createSingleParentRemover
in interface DockControllerFactory
controller
- the controller for which the element is createdsetup
- an observable where new objects can add ControllerSetupListener
to be informed when the setup of controller
is finished.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |