public static interface ResponsiveGridLayout.Column extends ResponsiveGridLayout.GridElement
Corresponds to the <div class="col">
element.
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.
|
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.
|
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.
|
default void |
setAlignSelf(ResponsiveGridLayout.AlignSelf alignSelf)
Sets a new mapping of how this column is laid out along the cross axis
at all breakpoints, i.e.
|
default void |
setAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.AlignSelf alignSelf)
Sets a new mapping of how this column is laid out along the cross axis
with the specified breakpoint.
|
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.
|
default void |
setColumns(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.ColumnsValue columnsValue)
Sets a new mapping of the logical columns number that this column occupies
with the specified breakpoint.
|
default void |
setColumns(ResponsiveGridLayout.ColumnsValue columnsValue)
Sets a new mapping of the logical columns number that this column occupies
at all breakpoints, i.e.
|
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.
|
default void |
setOffset(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.OffsetValue offsetValue)
Sets a new mapping of offset of this column with the
specified breakpoint.
|
default void |
setOffset(ResponsiveGridLayout.OffsetValue offsetValue)
Sets a new mapping of offset of this column at all breakpoints,
i.e.
|
void |
setOrder(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> orders)
Sets a new mapping of the visual order of this column with corresponding
breakpoints.
|
default void |
setOrder(ResponsiveGridLayout.Breakpoint breakpoint,
ResponsiveGridLayout.OrderValue orderValue)
Sets a new mapping of the visual order of this column with the
specified breakpoint.
|
default void |
setOrder(ResponsiveGridLayout.OrderValue orderValue)
Sets a new mapping of the visual order of this column
at all breakpoints, i.e.
|
addStyleName, getId, getStyleName, removeStyleName, setId, setStyleName
Component getComponent()
void setComponent(Component component)
component
- a components to setjava.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> getColumns()
Corresponds to the .col-{breakpoint}-*
responsive styles.
default void setColumns(ResponsiveGridLayout.ColumnsValue columnsValue)
ResponsiveGridLayout.Breakpoint.XS
. Clears
previous values and creates a map with a single value.columnsValue
- the ResponsiveGridLayout.ColumnsValue
instance to set for all breakpointsjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetColumns(Map)
default void setColumns(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.ColumnsValue columnsValue)
breakpoint
- the breakpoint to start fromcolumnsValue
- the ResponsiveGridLayout.ColumnsValue
instance to setjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetColumns(Map)
void setColumns(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.ColumnsValue> columns)
Corresponds to the .col-{breakpoint}-*
responsive styles.
columns
- the map that contains information regarding the logical
columns number that this column occupies at a specific breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenvoid addColumns(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.ColumnsValue columnsValue)
ResponsiveGridLayout.ColumnsValue
instance.breakpoint
- the breakpoint with which the specified ResponsiveGridLayout.ColumnsValue
instance is to be associatedcolumnsValue
- the ResponsiveGridLayout.ColumnsValue
instance to be associated
with the specified breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetColumns(Map)
void removeColumns(ResponsiveGridLayout.Breakpoint breakpoint)
breakpoint
- the breakpoint for which to remove mappingjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenjava.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> getAlignSelf()
Corresponds to the .align-self-{breakpoint}-*
responsive styles.
default void setAlignSelf(ResponsiveGridLayout.AlignSelf alignSelf)
ResponsiveGridLayout.Breakpoint.XS
.
Clears previous values and creates a map with a single value.alignSelf
- the ResponsiveGridLayout.AlignSelf
value to set for all breakpointsjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetAlignSelf(Map)
default void setAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.AlignSelf alignSelf)
breakpoint
- the breakpoint to start fromalignSelf
- the ResponsiveGridLayout.AlignSelf
value to setjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetAlignSelf(Map)
void setAlignSelf(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.AlignSelf> aligns)
Corresponds to the .align-self-{breakpoint}-*
responsive styles.
aligns
- the map that contains information regarding how this column
is laid out along the cross axis at a specific breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenvoid addAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.AlignSelf alignSelf)
ResponsiveGridLayout.AlignSelf
value.breakpoint
- the breakpoint with which the specified ResponsiveGridLayout.AlignSelf
value is to be associatedalignSelf
- the ResponsiveGridLayout.AlignSelf
value to be associated
with the specified breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetAlignSelf(Map)
void removeAlignSelf(ResponsiveGridLayout.Breakpoint breakpoint)
breakpoint
- the breakpoint for which to remove mappingjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenjava.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> getOrder()
Corresponds to the .order-{breakpoint}-*
responsive styles.
default void setOrder(ResponsiveGridLayout.OrderValue orderValue)
ResponsiveGridLayout.Breakpoint.XS
.
Clears previous values and creates a map with a single value.orderValue
- the ResponsiveGridLayout.OrderValue
instance to set for all breakpointsjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetOrder(Map)
default void setOrder(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OrderValue orderValue)
breakpoint
- the breakpoint to start fromorderValue
- the ResponsiveGridLayout.OrderValue
instance to setjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetOrder(Map)
void setOrder(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OrderValue> orders)
Corresponds to the .order-{breakpoint}-*
responsive styles.
orders
- the map that contains information regarding the visual order
of this column at a specific breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenvoid addOrder(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OrderValue orderValue)
ResponsiveGridLayout.OrderValue
instance.breakpoint
- the breakpoint with which the specified ResponsiveGridLayout.OrderValue
instance is to be associatedorderValue
- the ResponsiveGridLayout.OrderValue
instance to be associated
with the specified breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetOrder(Map)
void removeOrder(ResponsiveGridLayout.Breakpoint breakpoint)
breakpoint
- the breakpoint for which to remove mappingjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenjava.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> getOffset()
Corresponds to the .offset-{breakpoint}-*
responsive styles.
default void setOffset(ResponsiveGridLayout.OffsetValue offsetValue)
ResponsiveGridLayout.Breakpoint.XS
. Clears previous values
and creates a map with a single value.offsetValue
- the ResponsiveGridLayout.OffsetValue
instance to set for all breakpointsjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetOffset(Map)
default void setOffset(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OffsetValue offsetValue)
breakpoint
- the breakpoint to start fromoffsetValue
- the ResponsiveGridLayout.OffsetValue
instance to setjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetOffset(Map)
void setOffset(java.util.Map<ResponsiveGridLayout.Breakpoint,ResponsiveGridLayout.OffsetValue> offsets)
Corresponds to the .offset-{breakpoint}-*
responsive styles.
offsets
- the map that contains information regarding offset
of this column at a specific breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screenvoid addOffset(ResponsiveGridLayout.Breakpoint breakpoint, ResponsiveGridLayout.OffsetValue offsetValue)
ResponsiveGridLayout.OffsetValue
instance.breakpoint
- the breakpoint with which the specified ResponsiveGridLayout.OffsetValue
instance is to be associatedoffsetValue
- the ResponsiveGridLayout.OffsetValue
instance to be associated
with the specified breakpointjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screensetOffset(Map)
void removeOffset(ResponsiveGridLayout.Breakpoint breakpoint)
breakpoint
- the breakpoint for which to remove mappingjava.lang.IllegalStateException
- if parent responsive grid layout has been shown on a screen