public interface UiTopoLayoutService
UiTopoLayout
instances.
Those instances are used in conjunction with modeling the region-based
topology views.Modifier and Type | Method and Description |
---|---|
boolean |
addLayout(UiTopoLayout layout)
Adds a layout to the system or updates an existing one.
|
Set<UiTopoLayout> |
getChildren(UiTopoLayoutId layoutId)
Returns the set of the child layouts of the specified layout.
|
UiTopoLayout |
getLayout(RegionId regionId)
Returns the layout which has the backing region identified by
the given region identifier.
|
UiTopoLayout |
getLayout(UiTopoLayoutId layoutId)
Returns the layout with the specified identifier.
|
Set<UiTopoLayout> |
getLayouts()
Returns the set of available layouts (not including the root layout).
|
Set<UiTopoLayout> |
getPeerLayouts(UiTopoLayoutId layoutId)
Returns the set of peer layouts of the specified layout.
|
UiTopoLayout |
getRootLayout()
Returns the top-level root layout, which always exists and cannot
be removed or associated directly with a region.
|
boolean |
removeLayout(UiTopoLayout layout)
Removes a layout from the system.
|
UiTopoLayout getRootLayout()
Set<UiTopoLayout> getLayouts()
boolean addLayout(UiTopoLayout layout)
layout
- the layout to add or updateUiTopoLayout getLayout(UiTopoLayoutId layoutId)
layoutId
- layout identifierUiTopoLayout getLayout(RegionId regionId)
regionId
- region identifierSet<UiTopoLayout> getPeerLayouts(UiTopoLayoutId layoutId)
layoutId
- layout identifierSet<UiTopoLayout> getChildren(UiTopoLayoutId layoutId)
layoutId
- layout identifierboolean removeLayout(UiTopoLayout layout)
layout
- the layout to remove