Module is.codion.swing.common.ui
Interface TableConditionPanel.Panels<C>
- Type Parameters:
C- the type identifying the table columns
- Enclosing class:
TableConditionPanel<C>
public static interface TableConditionPanel.Panels<C>
Configures the condition panels of a
TableConditionPanel, a ColumnConditionPanel for each condition
model of a table column. The condition models themselves are unaffected, available for use programmatically.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncondition(C identifier, Consumer<ColumnConditionPanel.Builder<T>> condition) Configures the condition panel for the given identifier, the builder received being initialized with its defaults.Excludes the condition panels of the given identifiers, their condition models unaffected, available for use programmatically.
-
Method Details
-
exclude
Excludes the condition panels of the given identifiers, their condition models unaffected, available for use programmatically.- Parameters:
identifiers- the identifiers of the condition panels to exclude- Returns:
- this Panels instance
-
condition
<T> TableConditionPanel.Panels<C> condition(C identifier, Consumer<ColumnConditionPanel.Builder<T>> condition) Configures the condition panel for the given identifier, the builder received being initialized with its defaults. Replaces any previous configuration of the given identifier.- Type Parameters:
T- the condition value type- Parameters:
identifier- the identifiercondition- configures the condition panel builder- Returns:
- this Panels instance
-