Class KanbanSwimlane

java.lang.Object
io.jmix.kanbanflowui.kit.component.KanbanSwimlane
All Implemented Interfaces:
Serializable

public class KanbanSwimlane extends Object implements Serializable
A class representing JmixKanban swimlane properties.
Note: Sub-columns are not applicable when swimlanes are present.
See Also:
  • Field Details

    • dataField

      protected final String dataField
    • color

      protected String color
    • label

      protected String label
    • parent

      protected JmixKanban<?> parent
  • Constructor Details

    • KanbanSwimlane

      public KanbanSwimlane(String dataField)
  • Method Details

    • getDataField

      public String getDataField()
      Returns:
      the swimlane data source bound field that corresponds to the swimlane field in the data source
    • getLabel

      public String getLabel()
      Returns:
      text displayed in the swimlane header
    • setLabel

      public void setLabel(String label)
      Sets the text displayed in the swimlane header.
      Parameters:
      label - text to be displayed
    • withLabel

      public KanbanSwimlane withLabel(String label)
      Parameters:
      label - text to be displayed
      Returns:
      this
      See Also:
    • getColor

      public String getColor()
      Returns:
      color property of the swimlane
    • setColor

      public void setColor(String color)
      Sets the color property of the column.
      Parameters:
      color - HEX color code or named color to set
    • withColor

      public KanbanSwimlane withColor(String color)
      Parameters:
      color - color to set
      Returns:
      this
      See Also:
    • getParent

      protected JmixKanban<?> getParent()
    • setParent

      protected void setParent(JmixKanban<?> parent)
    • removerParent

      protected void removerParent()