bibliothek.gui.dock.common.intern
Class SecureControlFactory

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.EfficientControlFactory
      extended by bibliothek.gui.dock.common.intern.SecureControlFactory
All Implemented Interfaces:
CControlFactory

public class SecureControlFactory
extends EfficientControlFactory
implements CControlFactory

A factory used in restricted environment, where no global events can be observed.

Author:
Benjamin Sigg

Constructor Summary
SecureControlFactory()
           
 
Method Summary
 DockController createController(CControl owner)
          Creates or gets the DockController.
 FlapDockStation createFlapDockStation(Component expansion)
          Creates a new FlapDockStation.
 ScreenDockStation createScreenDockStation(WindowProvider owner)
          Creates a new ScreenDockStation.
 SplitDockStation createSplitDockStation()
          Creates a new SplitDockStation.
 CommonStation<SplitDockStation> createSplitDockStation(CommonStationDelegate delegate)
          Creates a new SplitDockStation that implements CommonDockable as well.
 
Methods inherited from class bibliothek.gui.dock.common.intern.EfficientControlFactory
createFrontend, createRegister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.common.intern.CControlFactory
createFrontend, createRegister
 

Constructor Detail

SecureControlFactory

public SecureControlFactory()
Method Detail

createController

public DockController createController(CControl owner)
Description copied from interface: CControlFactory
Creates or gets the DockController.

Specified by:
createController in interface CControlFactory
Overrides:
createController in class EfficientControlFactory
Parameters:
owner - the control for which the result of this method will be used
Returns:
the new controller

createFlapDockStation

public FlapDockStation createFlapDockStation(Component expansion)
Description copied from interface: CControlFactory
Creates a new FlapDockStation.

Specified by:
createFlapDockStation in interface CControlFactory
Overrides:
createFlapDockStation in class EfficientControlFactory
Parameters:
expansion - a Component which will be some parent of the result, the FlapDockStation.getExpansionBounds() should act as if expansion were the whole station
Returns:
the new station

createScreenDockStation

public ScreenDockStation createScreenDockStation(WindowProvider owner)
Description copied from interface: CControlFactory
Creates a new ScreenDockStation.

Specified by:
createScreenDockStation in interface CControlFactory
Overrides:
createScreenDockStation in class EfficientControlFactory
Parameters:
owner - the owner of the dialogs of the station
Returns:
the new station

createSplitDockStation

public SplitDockStation createSplitDockStation()
Description copied from interface: CControlFactory
Creates a new SplitDockStation.

Specified by:
createSplitDockStation in interface CControlFactory
Overrides:
createSplitDockStation in class EfficientControlFactory
Returns:
the new station

createSplitDockStation

public CommonStation<SplitDockStation> createSplitDockStation(CommonStationDelegate delegate)
Description copied from interface: CControlFactory
Creates a new SplitDockStation that implements CommonDockable as well.

Specified by:
createSplitDockStation in interface CControlFactory
Overrides:
createSplitDockStation in class EfficientControlFactory
Parameters:
delegate - some methods that can be used by the created station
Returns:
the new station