Package docking.widgets.table.constraint
Class StringNotEndsWithColumnConstraint
java.lang.Object
docking.widgets.table.constraint.StringColumnConstraint
docking.widgets.table.constraint.StringEndsWithColumnConstraint
docking.widgets.table.constraint.StringNotEndsWithColumnConstraint
- All Implemented Interfaces:
- ColumnConstraint<String>,- Comparable<ColumnConstraint<String>>
String column constraint for matching column values if they don't end with the constraint value pattern.
- 
Field SummaryFields inherited from class docking.widgets.table.constraint.StringColumnConstraintmatchesPattern
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaccepts(String 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 a new pattern string.getGroup()Returns a "group" string that is used to logically group column constraints for presentation to the usergetName()Returns the name of the constraintMethods inherited from class docking.widgets.table.constraint.StringEndsWithColumnConstraintgenerateMatchesPatternMethods inherited from class docking.widgets.table.constraint.StringColumnConstraintequals, generateFindsPattern, getColumnType, getConstraintValueString, getConstraintValueTooltip, getEditor, getHighlightMatcher, getPatternString, hashCode, isValidPatternString, parseConstraintValue, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface docking.widgets.table.constraint.ColumnConstraintasString, compareTo
- 
Constructor Details- 
StringNotEndsWithColumnConstraintConstructor- Parameters:
- patternString- the string to use to create an "ends with" pattern.
 
 
- 
- 
Method Details- 
getNameDescription copied from interface:ColumnConstraintReturns the name of the constraint- Specified by:
- getNamein interface- ColumnConstraint<String>
- Overrides:
- getNamein class- StringEndsWithColumnConstraint
- Returns:
- the name of the constraint.
 
- 
getGroupDescription copied from interface:ColumnConstraintReturns a "group" string that is used to logically group column constraints for presentation to the user- Specified by:
- getGroupin interface- ColumnConstraint<String>
- Overrides:
- getGroupin class- StringColumnConstraint
- Returns:
- the group this constraint belongs to.
 
- 
acceptsDescription copied from interface:ColumnConstraintCompares value against the current constraint value to determine acceptance; true if value satisfies the constraints' value, false otherwise- Specified by:
- acceptsin interface- ColumnConstraint<String>
- Overrides:
- acceptsin class- StringColumnConstraint
- 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:StringColumnConstraintsubclasses must override to generate new versions of themselves but with a new pattern string.- Overrides:
- copyin class- StringEndsWithColumnConstraint
- Parameters:
- newPatternString- the new string to use for creating the match pattern.
- Returns:
- a new ColumnConstraint that is the same type as this constraint but with a new range defined.
 
 
-