uk.org.toot.control
Class ControlSelector.Or

java.lang.Object
  extended by uk.org.toot.control.ControlSelector.LogicalBinary
      extended by uk.org.toot.control.ControlSelector.Or
All Implemented Interfaces:
ControlSelector
Enclosing interface:
ControlSelector

public static class ControlSelector.Or
extends ControlSelector.LogicalBinary

A logical OR selector which selects either specified Control but no others.


Nested Class Summary
 
Nested classes/interfaces inherited from interface uk.org.toot.control.ControlSelector
ControlSelector.LogicalBinary, ControlSelector.Not, ControlSelector.Or
 
Constructor Summary
ControlSelector.Or(ControlSelector a, ControlSelector b)
           
 
Method Summary
 boolean select(Control control)
          The contract for slecting Controls.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlSelector.Or

public ControlSelector.Or(ControlSelector a,
                          ControlSelector b)
Method Detail

select

public boolean select(Control control)
Description copied from interface: ControlSelector
The contract for slecting Controls.

Returns:
true if Control selected, false otherwise.


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.