Module is.codion.swing.common.ui
Interface ColumnConditionPanel.BoundFieldFactory
- Enclosing class:
- ColumnConditionPanel<C,
T>
public static interface ColumnConditionPanel.BoundFieldFactory
Provides equal, upper and lower bound input fields for a ColumnConditionPanel
-
Method Summary
-
Method Details
-
supportsType
- Parameters:
columnClass
- the column class- Returns:
- true if the type is supported
-
createEqualField
JComponent createEqualField()- Returns:
- the equal value field
- Throws:
IllegalArgumentException
- in case the bound type is not supported
-
createUpperBoundField
Optional<JComponent> createUpperBoundField()- Returns:
- an upper bound input field, or an empty Optional if it does not apply to the bound type
- Throws:
IllegalArgumentException
- in case the bound type is not supported
-
createLowerBoundField
Optional<JComponent> createLowerBoundField()- Returns:
- a lower bound input field, or an empty Optional if it does not apply to the bound type
- Throws:
IllegalArgumentException
- in case the bound type is not supported
-