Interface ViewContainer
- All Known Implementing Classes:
TabViewContainer
public interface ViewContainer
Represents a container that can hold
views
and breadcrumbs
,
providing functionality to interact with and manipulate them dynamically.-
Method Summary
Modifier and TypeMethodDescriptionReturns theViewBreadcrumbs
associated with this container.View<?>
getView()
Returns theView
contained in this container.void
Removes the breadcrumbs from this container.void
Removes theView
contained in this container.void
setBreadcrumbs
(ViewBreadcrumbs breadcrumbs) Sets theViewBreadcrumbs
for this container.void
Sets the specifiedView
in this container.
-
Method Details
-
getBreadcrumbs
Returns theViewBreadcrumbs
associated with this container.- Returns:
- the
ViewBreadcrumbs
instance if set, ornull
if no breadcrumbs are associated
-
setBreadcrumbs
Sets theViewBreadcrumbs
for this container.- Parameters:
breadcrumbs
- theViewBreadcrumbs
instance to associate with this container, ornull
to remove any currently associated breadcrumbs
-
removeBreadcrumbs
void removeBreadcrumbs()Removes the breadcrumbs from this container. -
getView
Returns theView
contained in this container.- Returns:
- the current
View
if present, or null if no view is set
-
setView
Sets the specifiedView
in this container.- Parameters:
view
- theView
to set in this container, ornull
to remove
-
removeView
void removeView()Removes theView
contained in this container.
-