Package io.jmix.ui.component
Class ResponsiveGridLayout.OffsetValue
java.lang.Object
io.jmix.ui.component.ResponsiveGridLayout.OffsetValue
- Enclosing interface:
- ResponsiveGridLayout
Class containing information about the number of columns by which
to move a column to the right.
Corresponds to the .offset-*
styles.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolumns
(int cols) Creates an instance ofResponsiveGridLayout.OffsetValue
with the given number of columns.boolean
int
int
hashCode()
-
Field Details
-
cols
protected int cols
-
-
Constructor Details
-
OffsetValue
public OffsetValue(int cols)
-
-
Method Details
-
columns
Creates an instance ofResponsiveGridLayout.OffsetValue
with the given number of columns.- Parameters:
cols
- the number of columns to set- Returns:
- an instance of
ResponsiveGridLayout.OffsetValue
with the given number of columns
-
getColumns
public int getColumns()- Returns:
- the number of columns by which to move a column to the right
-
equals
-
hashCode
public int hashCode()
-