dsto.dfc.swing.text.selection
Class StringContainsSelector

java.lang.Object
  extended by dsto.dfc.swing.text.selection.StringSelector
      extended by dsto.dfc.swing.text.selection.StringContainsSelector
All Implemented Interfaces:
Convertable, PatternSelector, Selector

public class StringContainsSelector
extends StringSelector

Simple selector matches values string-wise using toString () and contains ().

Version:
$Revision$

Nested Class Summary
 
Nested classes/interfaces inherited from interface dsto.dfc.swing.text.selection.PatternSelector
PatternSelector.SelectAllSelector
 
Field Summary
 
Fields inherited from class dsto.dfc.swing.text.selection.StringSelector
caseSensitive, CONVERTER, string
 
Fields inherited from interface dsto.dfc.swing.text.selection.PatternSelector
SELECT_ALL
 
Constructor Summary
StringContainsSelector()
           
StringContainsSelector(String string)
           
StringContainsSelector(String string, boolean caseSensitive)
           
 
Method Summary
 ValueConverter getConverter()
          Return a converter that at least supports conversion to and from String.
static ValueConverter getConverterInstance()
           
 boolean matches(Object value)
          True if this pattern selector matches the given value.
 
Methods inherited from class dsto.dfc.swing.text.selection.StringSelector
getExpression, isCaseSensitive, setCaseSensitive, setExpression, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringContainsSelector

public StringContainsSelector()

StringContainsSelector

public StringContainsSelector(String string)

StringContainsSelector

public StringContainsSelector(String string,
                              boolean caseSensitive)
Method Detail

getConverterInstance

public static ValueConverter getConverterInstance()

matches

public boolean matches(Object value)
Description copied from interface: PatternSelector
True if this pattern selector matches the given value.

Specified by:
matches in interface PatternSelector
Specified by:
matches in interface Selector
Overrides:
matches in class StringSelector

getConverter

public ValueConverter getConverter()
Description copied from interface: PatternSelector
Return a converter that at least supports conversion to and from String.

Specified by:
getConverter in interface Convertable
Specified by:
getConverter in interface PatternSelector
Overrides:
getConverter in class StringSelector


Copyright © 2008 Commonwealth of Australia