Class ResponsiveGridLayout.ColumnsValue

java.lang.Object
io.jmix.ui.component.ResponsiveGridLayout.ColumnsValue
Enclosing interface:
ResponsiveGridLayout

public static class ResponsiveGridLayout.ColumnsValue extends Object
Class containing information about logical columns number that a column occupies. Also contains pre-instantiated constants for the special values.

Corresponds to the .col-* styles.

See Also:
  • Field Details

  • Constructor Details

    • ColumnsValue

      public ColumnsValue(@Nullable Integer cols)
    • ColumnsValue

      public ColumnsValue(boolean auto)
    • ColumnsValue

      protected ColumnsValue(@Nullable Integer cols, boolean auto)
  • Method Details

    • columns

      public static ResponsiveGridLayout.ColumnsValue columns(@Nullable Integer cols)
    • getColumns

      @Nullable public Integer getColumns()
      Returns:
      the number of logical column that represents a column width or null if not defined
    • isAuto

      public boolean isAuto()
      Returns:
      whether column width must be based on the natural width of its content
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object