|
||||||||||
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 . |
CommonDockStation<FlapDockStation,CFlapDockStation> |
createFlapDockStation(Component expansion,
CommonStationDelegate<CFlapDockStation> delegate)
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 . |
CommonDockStation<ScreenDockStation,CScreenDockStation> |
createScreenDockStation(WindowProvider owner,
CommonStationDelegate<CScreenDockStation> delegate)
Creates a new ScreenDockStation . |
CommonDockStation<SplitDockStation,CSplitDockStation> |
createSplitDockStation(CommonStationDelegate<CSplitDockStation> 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 CommonDockStation<FlapDockStation,CFlapDockStation> createFlapDockStation(Component expansion, CommonStationDelegate<CFlapDockStation> delegate)
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 stationdelegate
- some methods that can be used by the created station
public CommonDockStation<ScreenDockStation,CScreenDockStation> createScreenDockStation(WindowProvider owner, CommonStationDelegate<CScreenDockStation> delegate)
CControlFactory
ScreenDockStation
.
createScreenDockStation
in interface CControlFactory
owner
- the owner of the dialogs of the stationdelegate
- some methods that can be used by the created station
public CommonDockStation<SplitDockStation,CSplitDockStation> createSplitDockStation(CommonStationDelegate<CSplitDockStation> 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 |