Package docking.widgets.table.constraint
Class StringEndsWithColumnConstraint
java.lang.Object
docking.widgets.table.constraint.StringColumnConstraint
docking.widgets.table.constraint.StringEndsWithColumnConstraint
- All Implemented Interfaces:
ColumnConstraint<String>
,Comparable<ColumnConstraint<String>>
- Direct Known Subclasses:
StringNotEndsWithColumnConstraint
String column constraint for matching column values if they end with the constraint value pattern.
-
Field Summary
Fields inherited from class docking.widgets.table.constraint.StringColumnConstraint
matchesPattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsubclasses must override to generate new versions of themselves but with a new pattern string.protected Pattern
generateMatchesPattern
(String patternString) getName()
Returns the name of the constraintMethods inherited from class docking.widgets.table.constraint.StringColumnConstraint
accepts, equals, generateFindsPattern, getColumnType, getConstraintValueString, getConstraintValueTooltip, getEditor, getGroup, getHighlightMatcher, getPatternString, hashCode, isValidPatternString, parseConstraintValue, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface docking.widgets.table.constraint.ColumnConstraint
asString, compareTo
-
Constructor Details
-
StringEndsWithColumnConstraint
Constructor- Parameters:
patternString
- the string to use to create an "ends with" pattern.
-
-
Method Details
-
getName
Description copied from interface:ColumnConstraint
Returns the name of the constraint- Returns:
- the name of the constraint.
-
copy
Description copied from class:StringColumnConstraint
subclasses must override to generate new versions of themselves but with a new pattern string.- Specified by:
copy
in classStringColumnConstraint
- 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.
-
generateMatchesPattern
- Specified by:
generateMatchesPattern
in classStringColumnConstraint
-