Class PredFigNodeInRect

  extended by org.tigris.gef.util.PredFigNodeInRect
All Implemented Interfaces:, 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


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


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