public interface MutableCControlRegister extends CControlRegister
CControlRegister whose contents can be changed.| Modifier and Type | Method and Description |
|---|---|
void |
addMultipleDockable(MultipleCDockable dockable)
Adds
dockable to this register. |
void |
addSingleDockable(SingleCDockable dockable)
Adds
dockable to this register. |
void |
addStation(CStation<?> station)
Adds
station to this register. |
void |
addStationContainer(CStationContainer container)
Adds a new set of
CStations to this register. |
CommonSingleDockableFactory |
getBackupFactory()
Gets the backup factory for missing
SingleCDockables. |
CommonMultipleDockableFactory |
getCommonMultipleDockableFactory(String id)
Gets the factory with identifier
id. |
CContentArea |
getDefaultContentArea()
Gets the default set of
CStations. |
SingleCDockable |
getSingleDockable(String id)
Searches the one
SingleCDockable whose unique id equals id. |
void |
putCommonMultipleDockableFactory(String id,
CommonMultipleDockableFactory factory)
Adds
factory to this register. |
CommonMultipleDockableFactory |
removeCommonMultipleDockableFactory(String id)
Removes the
CommonMultipleDockableFactory with identifier id
rom this register. |
boolean |
removeMultipleDockable(MultipleCDockable dockable)
Removes
dockable from this register. |
boolean |
removeSingleDockable(SingleCDockable dockable)
Removes
dockable from this register. |
boolean |
removeStation(CStation<?> station)
Removes
station from this register. |
boolean |
removeStationContainer(CStationContainer container)
Removes
container from this registry. |
void |
setDefaultContentArea(CContentArea container)
Sets the default set of
CStations. |
getContainer, getControl, getDockable, getDockableCount, getDockables, getFactories, getFactory, getMultipleDockables, getSingleDockables, getStationContainers, getStations, isMultiId, isSingleId, listDockablesInMode, listMultipleDockableFactories, listMultipleDockables, listSingleBackupFactories, listSingleDockables, multiToNormalId, singleToNormalId, toMultiId, toSingleIdvoid addStationContainer(CStationContainer container)
CStations to this register.container - the new set of stations, not nullIllegalArgumentException - if container is already registered or
another container with the same unique id was foundNullPointerException - if container is nullboolean removeStationContainer(CStationContainer container)
container from this registry.container - the container to removetrue if container was known to this registry and
was removed, false otherwiseCContentArea getDefaultContentArea()
CStations.nullvoid setDefaultContentArea(CContentArea container)
CStations. One of this CStations will be used
to show new CDockables if they do not have a location set.container - the new containervoid addStation(CStation<?> station)
station to this register.station - the new stationboolean removeStation(CStation<?> station)
station from this register.station - the station to removetrue if station was removed, false
otherwiseCommonSingleDockableFactory getBackupFactory()
SingleCDockables.nullvoid addSingleDockable(SingleCDockable dockable)
dockable to this register.dockable - the new elementSingleCDockable getSingleDockable(String id)
SingleCDockable whose unique id equals id.id - some id to searchvoid addMultipleDockable(MultipleCDockable dockable)
dockable to this register.dockable - the new elementvoid putCommonMultipleDockableFactory(String id, CommonMultipleDockableFactory factory)
factory to this register.id - the id for the factoryfactory - the new factoryCommonMultipleDockableFactory getCommonMultipleDockableFactory(String id)
id.id - the id of the factorynullCommonMultipleDockableFactory removeCommonMultipleDockableFactory(String id)
CommonMultipleDockableFactory with identifier id
rom this register.id - the identifier of the factorynullboolean removeSingleDockable(SingleCDockable dockable)
dockable from this register.dockable - the element to removetrue if dockable was removed,
false if notboolean removeMultipleDockable(MultipleCDockable dockable)
dockable from this register.dockable - the element to removetrue if dockable was removed,
false if notCopyright © 2018. All rights reserved.