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 Summary
Modifier and TypeMethodDescriptiongetText()
boolean
void
Sets item text.void
Toggles visibility of referenced data grid column.
-
Method Details
-
getColumn
DataGridColumn<?> getColumn()- Returns:
- referenced data grid column
-
isChecked
boolean isChecked()- Returns:
- whether the item is checked
-
setText
Sets item text.- Parameters:
text
- item text
-
getText
String getText()- Returns:
- item text
-
toggleVisibility
void toggleVisibility()Toggles visibility of referenced data grid column.
-