|
||||||||||
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 |
addContentArea(CContentArea area)
Adds a new content area to this register. |
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. |
CommonSingleDockableFactory |
getBackupFactory()
Gets the backup factory for missing SingleCDockable s. |
CommonMultipleDockableFactory |
getCommonMultipleDockableFactory(java.lang.String id)
Gets the factory with identifier id . |
java.util.List<CContentArea> |
getContentAreas()
Gets an unmodifiable list of all CContentArea s known
to this register. |
CContentArea |
getDefaultContentArea()
Gets the default content area. |
SingleCDockable |
getSingleDockable(java.lang.String id)
Searches the one SingleCDockable whose unique id equals id . |
void |
putCommonMultipleDockableFactory(java.lang.String id,
CommonMultipleDockableFactory factory)
Adds factory to this register. |
CommonMultipleDockableFactory |
removeCommonMultipleDockableFactory(java.lang.String id)
Removes the CommonMultipleDockableFactory with identifier id
rom this register. |
boolean |
removeContentArea(CContentArea area)
Removes area from 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. |
void |
setDefaultContentArea(CContentArea area)
Sets the default content area. |
Methods inherited from interface bibliothek.gui.dock.common.CControlRegister |
---|
getControl, getDockable, getDockableCount, getDockables, getFactories, getFactory, getMultipleDockables, getSingleDockables, getStations, isMultiId, isSingleId, listDockablesInMode, listMultipleDockableFactories, listMultipleDockables, listSingleBackupFactories, listSingleDockables, multiToNormalId, singleToNormalId, toMultiId, toSingleId |
Method Detail |
---|
java.util.List<CContentArea> getContentAreas()
CContentArea
s known
to this register. The list might or might not be updated when the contents
of this register change.
void addContentArea(CContentArea area)
area
- the new area
java.lang.IllegalArgumentException
- if area
is already known
to this register
java.lang.NullPointerException
- if area
is null
boolean removeContentArea(CContentArea area)
area
from this register
area
- the area to remove
true
if area
was known to this register
before, false
if area
could not be removed
because it was not in the listCContentArea getDefaultContentArea()
null
void setDefaultContentArea(CContentArea area)
area
- the new areavoid 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(java.lang.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(java.lang.String id, CommonMultipleDockableFactory factory)
factory
to this register.
id
- the id for the factoryfactory
- the new factoryCommonMultipleDockableFactory getCommonMultipleDockableFactory(java.lang.String id)
id
.
id
- the id of the factory
null
CommonMultipleDockableFactory removeCommonMultipleDockableFactory(java.lang.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 |