Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EntityTablePanel.Settings
java.lang.Object
is.codion.swing.framework.ui.EntityTablePanel.Settings
- Enclosing class:
- EntityTablePanel
Contains configuration settings for a
EntityTablePanel
which must be set before the panel is initialized.-
Method Summary
Modifier and TypeMethodDescriptionaddPopupMenuControls
(Controls additionalPopupMenuControls) addToolBarControls
(Controls additionalToolBarControls) columnSelection
(EntityTablePanel.ColumnSelection columnSelection) Specifies the attributes that should be editable in this table panel, such as via the edit selected entities menu.includeClearControl
(boolean includeClearControl) includeConditionPanel
(boolean includeConditionPanel) includeFilterPanel
(boolean includeFilterPanel) includeLimitMenu
(boolean includeLimitMenu) includePopupMenu
(boolean includePopupMenu) includeSelectionModeControl
(boolean includeSelectionModeControl) includeSouthPanel
(boolean includeSouthPanel) keyStroke
(EntityTablePanel.KeyboardShortcut shortcut)
-
Method Details
-
includeSouthPanel
- Parameters:
includeSouthPanel
- true if the south panel should be included- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
includeConditionPanel
- Parameters:
includeConditionPanel
- true if the condition panel should be included- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
includeFilterPanel
- Parameters:
includeFilterPanel
- true if the filter panel should be included- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
includePopupMenu
- Parameters:
includePopupMenu
- true if a popup menu should be included- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
includeClearControl
- Parameters:
includeClearControl
- true if a 'Clear' control should be included in the popup menu- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
includeLimitMenu
- Parameters:
includeLimitMenu
- true if a popup menu for configuring the table model limit should be included- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
includeSelectionModeControl
- Parameters:
includeSelectionModeControl
- true if a 'Single Selection' control should be included in the popup menu- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
columnSelection
- Parameters:
columnSelection
- specifies how columns are selected- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
addPopupMenuControls
- Parameters:
additionalPopupMenuControls
- a set of controls to add to the table popup menu- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
addToolBarControls
- Parameters:
additionalToolBarControls
- a set of controls to add to the table toolbar menu- Returns:
- this Settings instance
- Throws:
IllegalStateException
- in case the panel has already been initialized
-
keyStroke
- Parameters:
shortcut
- the keyboard shortcut key- Returns:
- the Value controlling the keyStroke for the given keyboard shortcut key
-
editableAttributes
Specifies the attributes that should be editable in this table panel, such as via the edit selected entities menu.- Returns:
- the attributes that should be editable via this table panel
-