|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.intern.EfficientControlFactory
public class EfficientControlFactory
A factory that uses the most efficient elements, can only be used in environments where global events can be observed.
Constructor Summary | |
---|---|
EfficientControlFactory()
|
Method Summary | |
---|---|
DockController |
createController(CControl owner)
Creates or gets the DockController . |
FlapDockStation |
createFlapDockStation(Component expansion)
Creates a new FlapDockStation . |
CDockFrontend |
createFrontend(CControlAccess owner,
DockController controller)
Creates a new DockFrontend that will be used by owner . |
MutableCControlRegister |
createRegister(CControl owner)
Creates a new register that keeps track of all the elements shown and used by owner . |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EfficientControlFactory()
Method Detail |
---|
public DockController createController(CControl owner)
CControlFactory
DockController
.
createController
in interface CControlFactory
owner
- the control for which the result of this method will be used
public CDockFrontend createFrontend(CControlAccess owner, DockController controller)
CControlFactory
DockFrontend
that will be used by owner
.
createFrontend
in interface CControlFactory
owner
- the ownercontroller
- the controller to be used by the new frontend
public MutableCControlRegister createRegister(CControl owner)
CControlFactory
owner
.
createRegister
in interface CControlFactory
owner
- the owner of the register
public FlapDockStation createFlapDockStation(Component expansion)
CControlFactory
FlapDockStation
.
createFlapDockStation
in interface CControlFactory
expansion
- a Component
which will be some parent of
the result, the FlapDockStation.getExpansionBounds()
should
act as if expansion
were the whole station
public ScreenDockStation createScreenDockStation(WindowProvider owner)
CControlFactory
ScreenDockStation
.
createScreenDockStation
in interface CControlFactory
owner
- the owner of the dialogs of the station
public SplitDockStation createSplitDockStation()
CControlFactory
SplitDockStation
.
createSplitDockStation
in interface CControlFactory
public CommonStation<SplitDockStation> createSplitDockStation(CommonStationDelegate delegate)
CControlFactory
SplitDockStation
that implements CommonDockable
as well.
createSplitDockStation
in interface CControlFactory
delegate
- some methods that can be used by the created station
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |