Class SupportsResponsiveSteps.ResponsiveStep

java.lang.Object
io.jmix.flowui.component.SupportsResponsiveSteps.ResponsiveStep
Enclosing interface:
SupportsResponsiveSteps

public static class SupportsResponsiveSteps.ResponsiveStep extends Object
A class used in describing the responsive layouting behavior of a component.
  • Constructor Details

    • ResponsiveStep

      public ResponsiveStep(String minWidth, int columns)
      Constructs a ResponsiveStep with the given minimum width and number of columns.
      Parameters:
      minWidth - the minimum width as a CSS string value after which this responsive step is to be applied
      columns - the number of columns the layout should have
    • ResponsiveStep

      public ResponsiveStep(String minWidth, int columns, @Nullable SupportsResponsiveSteps.ResponsiveStep.LabelsPosition labelsPosition)
      Constructs a ResponsiveStep with the given minimum width, number of columns and label position.
      Parameters:
      minWidth - the minimum width as a CSS string value after which this responsive step is to be applied
      columns - the number of columns the layout should have
      labelsPosition - the position where label components are to be displayed
      See Also:
  • Method Details

    • getMinWidth

      public String getMinWidth()
      Returns the minimum width as a CSS string value after which the current responsive step is to be applied.
      Returns:
      the minimum width
    • getColumns

      public int getColumns()
      Returns the number of columns the layout should have
      Returns:
      the number of columns the layout should have
    • getLabelsPosition

      @Nullable public SupportsResponsiveSteps.ResponsiveStep.LabelsPosition getLabelsPosition()
      Returns the position where label components are displayed in the layout.
      Returns:
      the SupportsResponsiveSteps.ResponsiveStep.LabelsPosition value indicating the position of the labels, or null if the label position is not specified