Package io.jmix.ui.component
Class ResponsiveGridLayout.OrderValue
java.lang.Object
io.jmix.ui.component.ResponsiveGridLayout.OrderValue
- Enclosing interface:
 - ResponsiveGridLayout
 
Class containing information for controlling the visual order of a column.
 Also contains pre-instantiated constants for the special values.
 
 Corresponds to the .order-* styles.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionThe instance ofResponsiveGridLayout.OrderValuethat represents a special order value 'first'.The instance ofResponsiveGridLayout.OrderValuethat represents a special order value 'last'.protected Integerprotected String - 
Constructor Summary
ConstructorsModifierConstructorDescriptionOrderValue(int order) protectedOrderValue(Integer order, String value) OrderValue(String value)  - 
Method Summary
Modifier and TypeMethodDescriptioncolumns(int cols) Creates an instance ofResponsiveGridLayout.OrderValuewith the given visual order value.booleangetOrder()getValue()inthashCode() 
- 
Field Details
- 
FIRST
The instance ofResponsiveGridLayout.OrderValuethat represents a special order value 'first'. Behaves like the order is-1. This means that a column with this order value will be placed at the very first position even if there are columns with order 0.Corresponds to the
.order-firststyle. - 
LAST
The instance ofResponsiveGridLayout.OrderValuethat represents a special order value 'last'. Behaves like the order is13. This means that a column with this order value will be placed at the very last position even if there are columns with order 12.Corresponds to the
.order-laststyle. - 
order
 - 
value
 
 - 
 - 
Constructor Details
- 
OrderValue
public OrderValue(int order)  - 
OrderValue
 - 
OrderValue
 
 - 
 - 
Method Details
- 
columns
Creates an instance ofResponsiveGridLayout.OrderValuewith the given visual order value.- Parameters:
 cols- the visual order value to set- Returns:
 - an instance of 
ResponsiveGridLayout.OffsetValuewith the given visual order value 
 - 
getOrder
- Returns:
 - the visual order value or 
nullif not defined 
 - 
getValue
- Returns:
 - the visual order value represented by a special word
 or 
nullif not defined 
 - 
equals
 - 
hashCode
public int hashCode() 
 -