Package io.jmix.ui.component.impl
Class ResponsiveGridLayoutImpl.ColumnImpl
java.lang.Object
io.jmix.ui.component.impl.ResponsiveGridLayoutImpl.AbstractGridElementImpl<JmixResponsiveGridLayout.Column>
io.jmix.ui.component.impl.ResponsiveGridLayoutImpl.ColumnImpl
- All Implemented Interfaces:
- ResponsiveGridLayout.Column,- ResponsiveGridLayout.GridElement
- Enclosing class:
- ResponsiveGridLayoutImpl
protected static class ResponsiveGridLayoutImpl.ColumnImpl
extends ResponsiveGridLayoutImpl.AbstractGridElementImpl<JmixResponsiveGridLayout.Column>
implements ResponsiveGridLayout.Column
- 
Field SummaryFieldsFields inherited from class io.jmix.ui.component.impl.ResponsiveGridLayoutImpl.AbstractGridElementImplgridElement, id, owner
- 
Constructor SummaryConstructorsConstructorDescriptionColumnImpl(JmixResponsiveGridLayout.Column column, ResponsiveGridLayoutImpl owner) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.AlignSelf alignSelf) Adds information regarding how this column is laid out along the cross axis at the given breakpoint.voidaddColumns(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.ColumnsValue columnsValue) Adds information regarding the logical columns number that this column occupies at the given breakpoint.voidaddOffset(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OffsetValue offsetValue) Adds information regarding offset of this column at the given breakpoint.voidaddOrder(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OrderValue orderValue) Adds information regarding the visual order of this column at the given breakpoint.protected voidassignFrame(Component component) Returns the map that contains information regarding how this column is laid out along the cross axis at a specific breakpoint.Returns the map that contains information regarding the logical columns number that this column occupies at a specific breakpoint.Returns the map that contains information regarding offset of this column at a specific breakpoint.getOrder()Returns the map that contains information regarding the visual order of this column at a specific breakpoint.voidremoveAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint) Removes the mapping of how this column is laid out along the cross axis for the given breakpoint if it is present.voidremoveColumns(ResponsiveGridLayout.Breakpoint breakpoint) Removes the mapping of the logical columns number that this column occupies for the given breakpoint if it is present.protected voidvoidremoveOffset(ResponsiveGridLayout.Breakpoint breakpoint) Removes the mapping of offset of this column for the given breakpoint if it is present.voidremoveOrder(ResponsiveGridLayout.Breakpoint breakpoint) Removes the mapping of the visual order of this column for the given breakpoint if it is present.voidSets a new mapping of how this column is laid out along the cross axis with corresponding breakpoints.voidSets a new mapping of the logical columns number that this column occupies with corresponding breakpoints.voidsetComponent(Component component) Sets a component to be rendered within this column.voidSets a new mapping of offset of this column with corresponding breakpoints.voidSets a new mapping of the visual order of this column with corresponding breakpoints.protected voidprotected voidprotected voidprotected voidMethods inherited from class io.jmix.ui.component.impl.ResponsiveGridLayoutImpl.AbstractGridElementImpladdStyleName, checkInitializedState, getId, getOwner, getStyleName, getVaadinGridElement, removeStyleName, setId, setStyleNameMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.component.ResponsiveGridLayout.ColumnsetAlignSelf, setAlignSelf, setColumns, setColumns, setOffset, setOffset, setOrder, setOrderMethods inherited from interface io.jmix.ui.component.ResponsiveGridLayout.GridElementaddStyleName, getId, getStyleName, removeStyleName, setId, setStyleName
- 
Field Details- 
component
- 
columns
- 
aligns
- 
orders
- 
offsets
 
- 
- 
Constructor Details- 
ColumnImpl
 
- 
- 
Method Details- 
getComponent- Specified by:
- getComponentin interface- ResponsiveGridLayout.Column
- Returns:
- a component to be rendered within this column
 
- 
setComponentDescription copied from interface:ResponsiveGridLayout.ColumnSets a component to be rendered within this column.- Specified by:
- setComponentin interface- ResponsiveGridLayout.Column
- Parameters:
- component- a components to set
 
- 
assignFrame
- 
removeContentIfPresentprotected void removeContentIfPresent()
- 
getColumnsDescription copied from interface:ResponsiveGridLayout.ColumnReturns the map that contains information regarding the logical columns number that this column occupies at a specific breakpoint.Corresponds to the .col-{breakpoint}-*responsive styles.- Specified by:
- getColumnsin interface- ResponsiveGridLayout.Column
- Returns:
- the map that contains information regarding the logical columns number that this column occupies at a specific breakpoint
 
- 
setColumnspublic void setColumns(Map<ResponsiveGridLayout.Breakpoint, ResponsiveGridLayout.ColumnsValue> columns) Description copied from interface:ResponsiveGridLayout.ColumnSets a new mapping of the logical columns number that this column occupies with corresponding breakpoints. Overrides previous values.Corresponds to the .col-{breakpoint}-*responsive styles.- Specified by:
- setColumnsin interface- ResponsiveGridLayout.Column
- Parameters:
- columns- the map that contains information regarding the logical columns number that this column occupies at a specific breakpoint
 
- 
addColumnspublic void addColumns(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.ColumnsValue columnsValue) Description copied from interface:ResponsiveGridLayout.ColumnAdds information regarding the logical columns number that this column occupies at the given breakpoint. If a mapping for the breakpoint already exist, the old value is replaced by the specifiedResponsiveGridLayout.ColumnsValueinstance.- Specified by:
- addColumnsin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint with which the specified- ResponsiveGridLayout.ColumnsValueinstance is to be associated
- columnsValue- the- ResponsiveGridLayout.ColumnsValueinstance to be associated with the specified breakpoint
- See Also:
 
- 
removeColumnsDescription copied from interface:ResponsiveGridLayout.ColumnRemoves the mapping of the logical columns number that this column occupies for the given breakpoint if it is present.- Specified by:
- removeColumnsin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint for which to remove mapping
 
- 
updateColumnsprotected void updateColumns()
- 
getAlignSelfDescription copied from interface:ResponsiveGridLayout.ColumnReturns the map that contains information regarding how this column is laid out along the cross axis at a specific breakpoint.Corresponds to the .align-self-{breakpoint}-*responsive styles.- Specified by:
- getAlignSelfin interface- ResponsiveGridLayout.Column
- Returns:
- the map that contains information regarding how this column is laid out along the cross axis at a specific breakpoint
 
- 
setAlignSelfpublic void setAlignSelf(Map<ResponsiveGridLayout.Breakpoint, ResponsiveGridLayout.AlignSelf> aligns) Description copied from interface:ResponsiveGridLayout.ColumnSets a new mapping of how this column is laid out along the cross axis with corresponding breakpoints. Overrides previous values.Corresponds to the .align-self-{breakpoint}-*responsive styles.- Specified by:
- setAlignSelfin interface- ResponsiveGridLayout.Column
- Parameters:
- aligns- the map that contains information regarding how this column is laid out along the cross axis at a specific breakpoint
 
- 
addAlignSelfpublic void addAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.AlignSelf alignSelf) Description copied from interface:ResponsiveGridLayout.ColumnAdds information regarding how this column is laid out along the cross axis at the given breakpoint. If a mapping for the breakpoint already exist, the old value is replaced by the specifiedResponsiveGridLayout.AlignSelfvalue.- Specified by:
- addAlignSelfin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint with which the specified- ResponsiveGridLayout.AlignSelfvalue is to be associated
- alignSelf- the- ResponsiveGridLayout.AlignSelfvalue to be associated with the specified breakpoint
- See Also:
 
- 
removeAlignSelfDescription copied from interface:ResponsiveGridLayout.ColumnRemoves the mapping of how this column is laid out along the cross axis for the given breakpoint if it is present.- Specified by:
- removeAlignSelfin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint for which to remove mapping
 
- 
updateAlignprotected void updateAlign()
- 
getOrderDescription copied from interface:ResponsiveGridLayout.ColumnReturns the map that contains information regarding the visual order of this column at a specific breakpoint.Corresponds to the .order-{breakpoint}-*responsive styles.- Specified by:
- getOrderin interface- ResponsiveGridLayout.Column
- Returns:
- the map that contains information regarding the visual order of this column at a specific breakpoint
 
- 
setOrderDescription copied from interface:ResponsiveGridLayout.ColumnSets a new mapping of the visual order of this column with corresponding breakpoints. Overrides previous values.Corresponds to the .order-{breakpoint}-*responsive styles.- Specified by:
- setOrderin interface- ResponsiveGridLayout.Column
- Parameters:
- orders- the map that contains information regarding the visual order of this column at a specific breakpoint
 
- 
addOrderpublic void addOrder(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OrderValue orderValue) Description copied from interface:ResponsiveGridLayout.ColumnAdds information regarding the visual order of this column at the given breakpoint. If a mapping for the breakpoint already exist, the old value is replaced by the specifiedResponsiveGridLayout.OrderValueinstance.- Specified by:
- addOrderin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint with which the specified- ResponsiveGridLayout.OrderValueinstance is to be associated
- orderValue- the- ResponsiveGridLayout.OrderValueinstance to be associated with the specified breakpoint
- See Also:
 
- 
removeOrderDescription copied from interface:ResponsiveGridLayout.ColumnRemoves the mapping of the visual order of this column for the given breakpoint if it is present.- Specified by:
- removeOrderin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint for which to remove mapping
 
- 
updateOrderprotected void updateOrder()
- 
getOffsetDescription copied from interface:ResponsiveGridLayout.ColumnReturns the map that contains information regarding offset of this column at a specific breakpoint.Corresponds to the .offset-{breakpoint}-*responsive styles.- Specified by:
- getOffsetin interface- ResponsiveGridLayout.Column
- Returns:
- the map that contains information regarding offset of this column at a specific breakpoint
 
- 
setOffsetpublic void setOffset(Map<ResponsiveGridLayout.Breakpoint, ResponsiveGridLayout.OffsetValue> offsets) Description copied from interface:ResponsiveGridLayout.ColumnSets a new mapping of offset of this column with corresponding breakpoints. Overrides previous values.Corresponds to the .offset-{breakpoint}-*responsive styles.- Specified by:
- setOffsetin interface- ResponsiveGridLayout.Column
- Parameters:
- offsets- the map that contains information regarding offset of this column at a specific breakpoint
 
- 
addOffsetpublic void addOffset(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OffsetValue offsetValue) Description copied from interface:ResponsiveGridLayout.ColumnAdds information regarding offset of this column at the given breakpoint. If a mapping for the breakpoint already exist, the old value is replaced by the specifiedResponsiveGridLayout.OffsetValueinstance.- Specified by:
- addOffsetin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint with which the specified- ResponsiveGridLayout.OffsetValueinstance is to be associated
- offsetValue- the- ResponsiveGridLayout.OffsetValueinstance to be associated with the specified breakpoint
- See Also:
 
- 
removeOffsetDescription copied from interface:ResponsiveGridLayout.ColumnRemoves the mapping of offset of this column for the given breakpoint if it is present.- Specified by:
- removeOffsetin interface- ResponsiveGridLayout.Column
- Parameters:
- breakpoint- the breakpoint for which to remove mapping
 
- 
updateOffsetValueprotected void updateOffsetValue()
 
-