Module is.codion.common.model
Package is.codion.common.model.summary
Interface SummaryModel.SummaryValues<T extends Number>
- Type Parameters:
T
- the value type
- Enclosing interface:
- SummaryModel
public static interface SummaryModel.SummaryValues<T extends Number>
Provides the values on which to base the summary .
-
Method Details
-
format
- Parameters:
value
- the value- Returns:
- the formatted value
-
values
Collection<T> values()- Returns:
- the values to base the summary on
-
subset
boolean subset()- Returns:
- true if the values provided by
values()
is a subset of the total available values
-
valuesChanged
Observer<?> valuesChanged()- Returns:
- an observer notified when underlying values change, requiring a summary refresh
-