bibliothek.gui.dock.common.intern
Class SecureControlFactory

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

public class SecureControlFactory
extends Object
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.
 CWorkingArea createWorkingArea(String id)
          Creates a new CWorkingArea.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Parameters:
owner - the control for which the result of this method will be used
Returns:
the controller, always the same object

createFlapDockStation

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

Specified by:
createFlapDockStation in interface CControlFactory
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
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
Returns:
the new station

createWorkingArea

public CWorkingArea createWorkingArea(String id)
Description copied from interface: CControlFactory
Creates a new CWorkingArea.

Specified by:
createWorkingArea in interface CControlFactory
Parameters:
id - the unique if of the area
Returns:
the new area