|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableCControlRegister
A CControlRegister
whose contents can be changed.
Method Summary | |
---|---|
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 CStation s to this register. |
CommonSingleDockableFactory |
getBackupFactory()
Gets the backup factory for missing SingleCDockable s. |
CommonMultipleDockableFactory |
getCommonMultipleDockableFactory(String id)
Gets the factory with identifier id . |
CContentArea |
getDefaultContentArea()
Gets the default set of CStation s. |
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 CStation s. |
Methods inherited from interface bibliothek.gui.dock.common.CControlRegister |
---|
getContainer, getControl, getDockable, getDockableCount, getDockables, getFactories, getFactory, getMultipleDockables, getSingleDockables, getStationContainers, getStations, isMultiId, isSingleId, listDockablesInMode, listMultipleDockableFactories, listMultipleDockables, listSingleBackupFactories, listSingleDockables, multiToNormalId, singleToNormalId, toMultiId, toSingleId |
Method Detail |
---|
void addStationContainer(CStationContainer container)
CStation
s to this register.
container
- the new set of stations, not null
IllegalArgumentException
- if container
is already registered or
another container with the same unique id was found
NullPointerException
- if container
is null
boolean removeStationContainer(CStationContainer container)
container
from this registry.
container
- the container to remove
true
if container
was known to this registry and
was removed, false
otherwiseCContentArea getDefaultContentArea()
CStation
s.
null
void setDefaultContentArea(CContentArea container)
CStation
s. One of this CStation
s will be used
to show new CDockable
s 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 remove
true
if station
was removed, false
otherwiseCommonSingleDockableFactory getBackupFactory()
SingleCDockable
s.
null
void addSingleDockable(SingleCDockable dockable)
dockable
to this register.
dockable
- the new elementSingleCDockable getSingleDockable(String id)
SingleCDockable
whose unique id equals id
.
id
- some id to search
void 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 factory
null
CommonMultipleDockableFactory removeCommonMultipleDockableFactory(String id)
CommonMultipleDockableFactory
with identifier id
rom this register.
id
- the identifier of the factory
null
boolean removeSingleDockable(SingleCDockable dockable)
dockable
from this register.
dockable
- the element to remove
true
if dockable
was removed,
false
if notboolean removeMultipleDockable(MultipleCDockable dockable)
dockable
from this register.
dockable
- the element to remove
true
if dockable
was removed,
false
if not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |