Class PredFigInRect

  extended by org.tigris.gef.util.PredFigInRect
All Implemented Interfaces:, Predicate

public class PredFigInRect
extends java.lang.Object
implements Predicate

Predicate that returns true for Fig'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
PredFigInRect(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


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


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