protected static class ResponsiveGridLayoutImpl.ColumnImpl extends ResponsiveGridLayoutImpl.AbstractGridElementImpl<JmixResponsiveGridLayout.Column> implements ResponsiveGridLayout.Column
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> |
aligns |
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> |
columns |
protected Component |
component |
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> |
offsets |
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> |
orders |
gridElement, id, owner| Constructor and Description |
|---|
ColumnImpl(JmixResponsiveGridLayout.Column column,
ResponsiveGridLayoutImpl owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.AlignSelf alignSelf)
Adds information regarding how this column is laid out along the cross
axis at the given breakpoint.
|
void |
addColumns(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.ColumnsValue columnsValue)
Adds information regarding the logical columns number that this column occupies
at the given breakpoint.
|
void |
addOffset(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.OffsetValue offsetValue)
Adds information regarding offset of this column at the given breakpoint.
|
void |
addOrder(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.OrderValue orderValue)
Adds information regarding the visual order of this column at the given breakpoint.
|
protected void |
assignFrame(Component component) |
java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> |
getAlignSelf()
Returns the map that contains information regarding how this column is laid
out along the cross axis at a specific breakpoint.
|
java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> |
getColumns()
Returns the map that contains information regarding the logical columns
number that this column occupies at a specific breakpoint.
|
Component |
getComponent() |
java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> |
getOffset()
Returns the map that contains information regarding offset of this column
at a specific breakpoint.
|
java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> |
getOrder()
Returns the map that contains information regarding the visual order
of this column at a specific breakpoint.
|
void |
removeAlignSelf(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.
|
void |
removeColumns(ResponsiveGridLayout.Breakpoint breakpoint)
Removes the mapping of the logical columns number that this column occupies
for the given breakpoint if it is present.
|
protected void |
removeContentIfPresent() |
void |
removeOffset(ResponsiveGridLayout.Breakpoint breakpoint)
Removes the mapping of offset of this column for the given
breakpoint if it is present.
|
void |
removeOrder(ResponsiveGridLayout.Breakpoint breakpoint)
Removes the mapping of the visual order of this column for the given
breakpoint if it is present.
|
void |
setAlignSelf(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> aligns)
Sets a new mapping of how this column is laid out along the cross axis
with corresponding breakpoints.
|
void |
setColumns(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> columns)
Sets a new mapping of the logical columns number that this column occupies
with corresponding breakpoints.
|
void |
setComponent(Component component)
Sets a component to be rendered within this column.
|
void |
setOffset(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> offsets)
Sets a new mapping of offset of this column with corresponding
breakpoints.
|
void |
setOrder(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> orders)
Sets a new mapping of the visual order of this column with corresponding
breakpoints.
|
protected void |
updateAlign() |
protected void |
updateColumns() |
protected void |
updateOffsetValue() |
protected void |
updateOrder() |
addStyleName, checkInitializedState, getId, getOwner, getStyleName, getVaadinGridElement, removeStyleName, setId, setStyleNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAlignSelf, setAlignSelf, setColumns, setColumns, setOffset, setOffset, setOrder, setOrderaddStyleName, getId, getStyleName, removeStyleName, setId, setStyleNameprotected Component component
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> columns
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> aligns
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> orders
protected java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> offsets
public ColumnImpl(JmixResponsiveGridLayout.Column column, ResponsiveGridLayoutImpl owner)
public Component getComponent()
getComponent in interface ResponsiveGridLayout.Columnpublic void setComponent(Component component)
ResponsiveGridLayout.ColumnsetComponent in interface ResponsiveGridLayout.Columncomponent - a components to setprotected void assignFrame(Component component)
protected void removeContentIfPresent()
public java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> getColumns()
ResponsiveGridLayout.Column
Corresponds to the .col-{breakpoint}-* responsive styles.
getColumns in interface ResponsiveGridLayout.Columnpublic void setColumns(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> columns)
ResponsiveGridLayout.Column
Corresponds to the .col-{breakpoint}-* responsive styles.
setColumns in interface ResponsiveGridLayout.Columncolumns - the map that contains information regarding the logical
columns number that this column occupies at a specific breakpointpublic void addColumns(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.ColumnsValue columnsValue)
ResponsiveGridLayout.ColumnResponsiveGridLayout.ColumnsValue instance.addColumns in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint with which the specified ResponsiveGridLayout.ColumnsValue
instance is to be associatedcolumnsValue - the ResponsiveGridLayout.ColumnsValue instance to be associated
with the specified breakpointResponsiveGridLayout.Column.setColumns(Map)public void removeColumns(ResponsiveGridLayout.Breakpoint breakpoint)
ResponsiveGridLayout.ColumnremoveColumns in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint for which to remove mappingprotected void updateColumns()
public java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> getAlignSelf()
ResponsiveGridLayout.Column
Corresponds to the .align-self-{breakpoint}-* responsive styles.
getAlignSelf in interface ResponsiveGridLayout.Columnpublic void setAlignSelf(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> aligns)
ResponsiveGridLayout.Column
Corresponds to the .align-self-{breakpoint}-* responsive styles.
setAlignSelf in interface ResponsiveGridLayout.Columnaligns - the map that contains information regarding how this column
is laid out along the cross axis at a specific breakpointpublic void addAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.AlignSelf alignSelf)
ResponsiveGridLayout.ColumnResponsiveGridLayout.AlignSelf value.addAlignSelf in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint with which the specified ResponsiveGridLayout.AlignSelf
value is to be associatedalignSelf - the ResponsiveGridLayout.AlignSelf value to be associated
with the specified breakpointResponsiveGridLayout.Column.setAlignSelf(Map)public void removeAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint)
ResponsiveGridLayout.ColumnremoveAlignSelf in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint for which to remove mappingprotected void updateAlign()
public java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> getOrder()
ResponsiveGridLayout.Column
Corresponds to the .order-{breakpoint}-* responsive styles.
getOrder in interface ResponsiveGridLayout.Columnpublic void setOrder(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> orders)
ResponsiveGridLayout.Column
Corresponds to the .order-{breakpoint}-* responsive styles.
setOrder in interface ResponsiveGridLayout.Columnorders - the map that contains information regarding the visual order
of this column at a specific breakpointpublic void addOrder(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OrderValue orderValue)
ResponsiveGridLayout.ColumnResponsiveGridLayout.OrderValue instance.addOrder in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint with which the specified ResponsiveGridLayout.OrderValue
instance is to be associatedorderValue - the ResponsiveGridLayout.OrderValue instance to be associated
with the specified breakpointResponsiveGridLayout.Column.setOrder(Map)public void removeOrder(ResponsiveGridLayout.Breakpoint breakpoint)
ResponsiveGridLayout.ColumnremoveOrder in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint for which to remove mappingprotected void updateOrder()
public java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> getOffset()
ResponsiveGridLayout.Column
Corresponds to the .offset-{breakpoint}-* responsive styles.
getOffset in interface ResponsiveGridLayout.Columnpublic void setOffset(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> offsets)
ResponsiveGridLayout.Column
Corresponds to the .offset-{breakpoint}-* responsive styles.
setOffset in interface ResponsiveGridLayout.Columnoffsets - the map that contains information regarding offset
of this column at a specific breakpointpublic void addOffset(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OffsetValue offsetValue)
ResponsiveGridLayout.ColumnResponsiveGridLayout.OffsetValue instance.addOffset in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint with which the specified ResponsiveGridLayout.OffsetValue
instance is to be associatedoffsetValue - the ResponsiveGridLayout.OffsetValue instance to be associated
with the specified breakpointResponsiveGridLayout.Column.setOffset(Map)public void removeOffset(ResponsiveGridLayout.Breakpoint breakpoint)
ResponsiveGridLayout.ColumnremoveOffset in interface ResponsiveGridLayout.Columnbreakpoint - the breakpoint for which to remove mappingprotected void updateOffsetValue()