dsto.dfc.swing.text.selection
Class CollectionSelector

java.lang.Object
  extended by dsto.dfc.swing.text.selection.CollectionSelector
All Implemented Interfaces:
Selector

public class CollectionSelector
extends Object
implements Selector

A selector that applies a sub selector to match against Collection's.

Version:
$Revision$

Nested Class Summary
 
Nested classes/interfaces inherited from interface dsto.dfc.swing.text.selection.Selector
Selector.SelectAllSelector
 
Field Summary
static int MATCH_ALL
           
static int MATCH_ONE
           
protected  int mode
           
protected  Selector subSelector
           
 
Fields inherited from interface dsto.dfc.swing.text.selection.Selector
SELECT_ALL
 
Constructor Summary
CollectionSelector(Selector subSelector)
           
CollectionSelector(Selector subSelector, int mode)
           
 
Method Summary
 boolean matches(Object value)
          True if this selector matches the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MATCH_ONE

public static final int MATCH_ONE
See Also:
Constant Field Values

MATCH_ALL

public static final int MATCH_ALL
See Also:
Constant Field Values

mode

protected int mode

subSelector

protected Selector subSelector
Constructor Detail

CollectionSelector

public CollectionSelector(Selector subSelector)

CollectionSelector

public CollectionSelector(Selector subSelector,
                          int mode)
Method Detail

matches

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

Specified by:
matches in interface Selector


Copyright © 2008 Commonwealth of Australia