org.tigris.gef.util
Class PredFigNodeInRect

java.lang.Object
  extended by org.tigris.gef.util.PredFigNodeInRect
All Implemented Interfaces:
java.io.Serializable, Predicate

public class PredFigNodeInRect
extends java.lang.Object
implements Predicate

Predicate that returns true for FigNode's that intersect the rectangle given in the constructor. Useful for making a EnumerationPredicate that finds Figs intersecting a given Rectangle.

See Also:
Serialized Form

Constructor Summary
PredFigNodeInRect(java.awt.Rectangle r)
           
 
Method Summary
 boolean predicate(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredFigNodeInRect

public PredFigNodeInRect(java.awt.Rectangle r)
Method Detail

predicate

public boolean predicate(java.lang.Object o)
Specified by:
predicate in interface Predicate