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
component
(ConditionModel<T> conditionModel, Value<T> operand) <T> JComponent
component
(ConditionModel<T> conditionModel, ValueSet<T> operands) default boolean
supportsType
(Class<?> valueClass)
-
Method Details
-
supportsType
- Parameters:
valueClass
- the value class- Returns:
- true if the type is supported
-
component
- Type Parameters:
T
- the operand type- Parameters:
conditionModel
- the condition modeloperand
- the operand value to link to the component- Returns:
- a component linked to the given operand value
-
component
- Type Parameters:
T
- the operand type- Parameters:
conditionModel
- the condition modeloperands
- the operands value to link to the component- Returns:
- a component linked to the given operands value
-