Package docking.widgets.table.constraint
Class NotInDateRangeColumnConstraint
java.lang.Object
docking.widgets.table.constraint.RangeColumnConstraint<LocalDate>
docking.widgets.table.constraint.NotInDateRangeColumnConstraint
- All Implemented Interfaces:
- ColumnConstraint<LocalDate>,- Comparable<ColumnConstraint<LocalDate>>
Column Constraint where acceptable column values are not within some range defined by a min value and
 a max value.
- 
Field SummaryFields inherited from class docking.widgets.table.constraint.RangeColumnConstrainteditorProvider, name
- 
Constructor SummaryConstructorsConstructorDescriptionNotInDateRangeColumnConstraint(LocalDate minValue, LocalDate maxValue, EditorProvider<LocalDate> editorProvider) Construct a new NotInDateRangeConstraint that uses the default name and group and specifies the min and max values for the range.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaccepts(LocalDate value, TableFilterContext context) Compares value against the current constraint value to determine acceptance; true if value satisfies the constraints' value, false otherwisesubclasses must override to generate new versions of themselves but with new range values.Methods inherited from class docking.widgets.table.constraint.RangeColumnConstraintequals, getColumnType, getConstraintValueString, getEditor, getGroup, getMaxValue, getMinValue, getName, hashCode, parseConstraintValueMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface docking.widgets.table.constraint.ColumnConstraintasString, compareTo, getConstraintValueTooltip
- 
Constructor Details- 
NotInDateRangeColumnConstraintpublic NotInDateRangeColumnConstraint(LocalDate minValue, LocalDate maxValue, EditorProvider<LocalDate> editorProvider) Construct a new NotInDateRangeConstraint that uses the default name and group and specifies the min and max values for the range.- Parameters:
- minValue- the min value of the excluded range.
- maxValue- the max value of the excluded range.
- editorProvider- an object that can provide an appropriate range editor for the column type.
 
 
- 
- 
Method Details- 
acceptsDescription copied from interface:ColumnConstraintCompares value against the current constraint value to determine acceptance; true if value satisfies the constraints' value, false otherwise- Parameters:
- value- the column value to be tested.
- context- provides additional information about the table and its data. This allows the filter to base its decision on information other than just the column value.
- Returns:
- true if the column value passes the constraint, false otherwise
 
- 
copyDescription copied from class:RangeColumnConstraintsubclasses must override to generate new versions of themselves but with new range values.- Specified by:
- copyin class- RangeColumnConstraint<LocalDate>
- Parameters:
- min- the min value of the range.
- max- the max value of the range.
- Returns:
- a new ColumnConstraint that is the same type as this constraint but with a new range defined.
 
 
-