Package io.jmix.ui.component
Interface OrderedContainer
- All Superinterfaces:
Component
,ComponentContainer
,HasComponents
- All Known Subinterfaces:
BoxLayout
,ButtonsPanel
,CssLayout
,DialogWindow
,Drawer
,FlowBoxLayout
,Fragment
,FragmentImplementation
,Frame
,GroupBoxLayout
,HBoxLayout
,RootWindow
,ScrollBoxLayout
,TabWindow
,VBoxLayout
,Window
,WindowImplementation
- All Known Implementing Classes:
AbstractBox
,AbstractCanvasLayout
,AbstractOrderedLayout
,ButtonsPanelImpl
,CanvasCssLayout
,CanvasGridLayout
,CanvasHorizontalLayout
,CanvasResponsiveLayout
,CanvasRootLayout
,CanvasVerticalLayout
,CanvasWidgetLayout
,CssLayoutImpl
,DialogWindowImpl
,DrawerImpl
,FlowBoxLayoutImpl
,FragmentImpl
,GroupBoxImpl
,HBoxLayoutImpl
,RootWindowImpl
,ScrollBoxLayoutImpl
,TabWindowImpl
,VBoxLayoutImpl
,WindowImpl
Component which can contain other components and provides indexed access to children.
-
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
getComponent
(int index) Returns the component at the given position.default Component
getComponentNN
(int index) Returns the component at the given position.int
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.ComponentContainer
add, add, remove, remove, removeAll
Methods inherited from interface io.jmix.ui.component.HasComponents
focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream
-
Method Details
-
add
-
indexOf
-
getComponent
Returns the component at the given position.- Parameters:
index
- component index- Returns:
- the component at the given index or null.
-
getComponentNN
Returns the component at the given position.- Parameters:
index
- component index- Returns:
- the component at the given index. Throws exception if not found.
-