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> JComponentequal(ConditionModel<T> conditionModel) <T> JComponentin(ConditionModel<T> conditionModel) <T> JComponentlower(ConditionModel<T> conditionModel) default booleansupportsType(Class<?> valueClass) <T> JComponentupper(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
-