Package docking.widgets.table.constraint
Class StringStartsWithColumnConstraint
- java.lang.Object
 - 
- docking.widgets.table.constraint.StringColumnConstraint
 - 
- docking.widgets.table.constraint.StringStartsWithColumnConstraint
 
 
 
- 
- All Implemented Interfaces:
 ColumnConstraint<java.lang.String>,java.lang.Comparable<ColumnConstraint<java.lang.String>>
- Direct Known Subclasses:
 StringNotStartsWithColumnConstraint
public class StringStartsWithColumnConstraint extends StringColumnConstraint
String column constraint for matching column values if they start with the constraint value pattern. 
- 
- 
Field Summary
- 
Fields inherited from class docking.widgets.table.constraint.StringColumnConstraint
matchesPattern 
 - 
 
- 
Constructor Summary
Constructors Constructor Description StringStartsWithColumnConstraint(java.lang.String patternString)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnConstraint<java.lang.String>copy(java.lang.String newPatternString)subclasses must override to generate new versions of themselves but with a new pattern string.protected java.util.regex.PatterngenerateMatchesPattern(java.lang.String patternString)java.lang.StringgetName()Returns the name of the constraint- 
Methods inherited from class docking.widgets.table.constraint.StringColumnConstraint
accepts, equals, generateFindsPattern, getColumnType, getConstraintValueString, getConstraintValueTooltip, getEditor, getGroup, getHighlightMatcher, getPatternString, hashCode, isValidPatternString, parseConstraintValue 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface docking.widgets.table.constraint.ColumnConstraint
asString, compareTo 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getName
public java.lang.String getName()
Description copied from interface:ColumnConstraintReturns the name of the constraint- Returns:
 - the name of the constraint.
 
 
- 
copy
public ColumnConstraint<java.lang.String> copy(java.lang.String newPatternString)
Description copied from class:StringColumnConstraintsubclasses must override to generate new versions of themselves but with a new pattern string.- Specified by:
 copyin 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
protected java.util.regex.Pattern generateMatchesPattern(java.lang.String patternString)
- Specified by:
 generateMatchesPatternin classStringColumnConstraint
 
 - 
 
 -