Package io.jmix.ui.component
Interface ComponentContainer
- All Superinterfaces:
Component
,HasComponents
- All Known Subinterfaces:
Accordion
,BoxLayout
,ButtonsPanel
,CanvasLayout
,CssLayout
,DialogWindow
,Drawer
,ExpandingLayout
,FlowBoxLayout
,Form
,Fragment
,FragmentImplementation
,Frame
,GridLayout
,GroupBoxLayout
,HBoxLayout
,HtmlBoxLayout
,OrderedContainer
,RootWindow
,ScrollBoxLayout
,SplitPanel
,TabSheet
,TabWindow
,VBoxLayout
,Window
,WindowImplementation
- All Known Implementing Classes:
AbstractBox
,AbstractCanvasLayout
,AbstractOrderedLayout
,AccordionImpl
,ButtonsPanelImpl
,CanvasCssLayout
,CanvasGridLayout
,CanvasHorizontalLayout
,CanvasResponsiveLayout
,CanvasRootLayout
,CanvasVerticalLayout
,CanvasWidgetLayout
,CssLayoutImpl
,DialogWindowImpl
,DrawerImpl
,FlowBoxLayoutImpl
,FormImpl
,FragmentImpl
,GridLayoutImpl
,GroupBoxImpl
,HBoxLayoutImpl
,HtmlBoxLayoutImpl
,RootWindowImpl
,ScrollBoxLayoutImpl
,SplitPanelImpl
,TabSheetImpl
,TabWindowImpl
,VBoxLayoutImpl
,WindowImpl
Component which can contain other components.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a component to this container.default void
Sequentially adds components to this container.void
Removes a component from this container.default void
Sequentially removes components from this container.void
Removes all components from this container.Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
Methods inherited from interface io.jmix.ui.component.HasComponents
focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream
-
Method Details
-
add
Adds a component to this container.- Parameters:
childComponent
- a component to add
-
add
Sequentially adds components to this container.- Parameters:
childComponents
- components to add
-
remove
Removes a component from this container.- Parameters:
childComponent
- a component to remove
-
remove
Sequentially removes components from this container.- Parameters:
childComponents
- components to remove
-
removeAll
void removeAll()Removes all components from this container.
-