public class EfficientControlFactory extends Object implements CControlFactory
Constructor and Description |
---|
EfficientControlFactory() |
public DockController createController(CControl owner)
CControlFactory
DockController
.createController
in interface CControlFactory
owner
- the control for which the result of this method will be usedpublic 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 frontendpublic MutableCControlRegister createRegister(CControl owner)
CControlFactory
owner
.createRegister
in interface CControlFactory
owner
- the owner of the registerpublic 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 stationpublic 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 stationpublic 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