|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.jazz.util.ZBoundsFindFilter | +--edu.umd.cs.jazz.util.ZMagBoundsFindFilter
ZMagBoundsFindFilter is a filter that accepts "terminal" nodes that overlap the specified bounds in global coordinates, but only if the object is within its visible magnification range. Terminal nodes are leaf nodes and group nodes that do not return true for "childrenFindable()".
Warning: Serialized and ZSerialized objects of this class will not be compatible with future Jazz releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Jazz. A future release of Jazz will provide support for long term persistence.
Constructor Summary | |
ZMagBoundsFindFilter(ZBounds bounds,
double mag)
Create a new magnification bounds filter. |
Method Summary | |
boolean |
accept(ZNode node)
Determine if the specified node is accepted by this filter. |
boolean |
childrenFindable(ZNode node)
This method determines if the children of the specified node should be searched. |
Methods inherited from class edu.umd.cs.jazz.util.ZBoundsFindFilter |
getBounds |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZMagBoundsFindFilter(ZBounds bounds, double mag)
bounds
- The bounds in global coordinates to search within.mag
- The magnification to use for filteringMethod Detail |
public boolean accept(ZNode node)
accept
in interface ZFindFilter
accept
in class ZBoundsFindFilter
node
- The node that is to be examined by this filter
public boolean childrenFindable(ZNode node)
childrenFindable
in interface ZFindFilter
childrenFindable
in class ZBoundsFindFilter
node
- The node that is to be examined by this filter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |