uk.org.toot.control
Class ControlSelector.Not

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

public static class ControlSelector.Not
extends java.lang.Object
implements ControlSelector

A logical NOT selector which selects all Controls except the Control specified.


Nested Class Summary
 
Nested classes/interfaces inherited from interface uk.org.toot.control.ControlSelector
ControlSelector.LogicalBinary, ControlSelector.Not, ControlSelector.Or
 
Constructor Summary
ControlSelector.Not(ControlSelector selector)
           
 
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.Not

public ControlSelector.Not(ControlSelector selector)
Method Detail

select

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

Specified by:
select in interface ControlSelector
Returns:
true if Control selected, false otherwise.


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