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, setStyleName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setAlignSelf, setAlignSelf, setColumns, setColumns, setOffset, setOffset, setOrder, setOrder
addStyleName, getId, getStyleName, removeStyleName, setId, setStyleName
protected 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.Column
public void setComponent(Component component)
ResponsiveGridLayout.Column
setComponent
in interface ResponsiveGridLayout.Column
component
- 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.Column
public void setColumns(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> columns)
ResponsiveGridLayout.Column
Corresponds to the .col-{breakpoint}-*
responsive styles.
setColumns
in interface ResponsiveGridLayout.Column
columns
- 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.Column
ResponsiveGridLayout.ColumnsValue
instance.addColumns
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
removeColumns
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
public void setAlignSelf(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> aligns)
ResponsiveGridLayout.Column
Corresponds to the .align-self-{breakpoint}-*
responsive styles.
setAlignSelf
in interface ResponsiveGridLayout.Column
aligns
- 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.Column
ResponsiveGridLayout.AlignSelf
value.addAlignSelf
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
removeAlignSelf
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
public void setOrder(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> orders)
ResponsiveGridLayout.Column
Corresponds to the .order-{breakpoint}-*
responsive styles.
setOrder
in interface ResponsiveGridLayout.Column
orders
- 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.Column
ResponsiveGridLayout.OrderValue
instance.addOrder
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
removeOrder
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
public void setOffset(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> offsets)
ResponsiveGridLayout.Column
Corresponds to the .offset-{breakpoint}-*
responsive styles.
setOffset
in interface ResponsiveGridLayout.Column
offsets
- the map that contains information regarding offset
of this column at a specific breakpointpublic void addOffset(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OffsetValue offsetValue)
ResponsiveGridLayout.Column
ResponsiveGridLayout.OffsetValue
instance.addOffset
in interface ResponsiveGridLayout.Column
breakpoint
- 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.Column
removeOffset
in interface ResponsiveGridLayout.Column
breakpoint
- the breakpoint for which to remove mappingprotected void updateOffsetValue()