Module is.codion.swing.common.ui
Interface ColumnConditionPanel.ComponentFactory
- All Known Implementing Classes:
EntityConditionComponentFactory
- Enclosing class:
ColumnConditionPanel<T>
public static interface ColumnConditionPanel.ComponentFactory
Provides equal, in, upper and lower bound input components for a
ColumnConditionPanel
-
Method Summary
Modifier and TypeMethodDescription<T> JComponent
equal
(ConditionModel<T> conditionModel) <T> JComponent
in
(ConditionModel<T> conditionModel) <T> JComponent
lower
(ConditionModel<T> conditionModel) default boolean
supportsType
(Class<?> valueClass) <T> JComponent
upper
(ConditionModel<T> conditionModel)
-
Method Details
-
supportsType
- Parameters:
valueClass
- the value class- Returns:
- true if the type is supported
-
equal
- Type Parameters:
T
- the operand type- Parameters:
conditionModel
- the condition model- Returns:
- a component linked to the equal operand
-
lower
- Type Parameters:
T
- the operand type- Parameters:
conditionModel
- the condition model- Returns:
- a component linked to the lower bound operand
-
upper
- Type Parameters:
T
- the operand type- Parameters:
conditionModel
- the condition model- Returns:
- a component linked to the upper bound operand
-
in
- Type Parameters:
T
- the operand type- Parameters:
conditionModel
- the condition model- Returns:
- a component linked to the in operands
-