Interface JmixGridColumnVisibility.MenuItem

All Known Implementing Classes:
JmixGridColumnVisibility.MenuItemImpl
Enclosing class:
JmixGridColumnVisibility

public static interface JmixGridColumnVisibility.MenuItem
Represents an item which allows to toggle column visibility.
  • Method Details

    • getColumn

      DataGridColumn<?> getColumn()
      Returns:
      referenced data grid column
    • isChecked

      boolean isChecked()
      Returns:
      whether the item is checked
    • setText

      void setText(String text)
      Sets item text.
      Parameters:
      text - item text
    • getText

      String getText()
      Returns:
      item text
    • toggleVisibility

      void toggleVisibility()
      Toggles visibility of referenced data grid column.