|
|||||||||||
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
ZBoundsFindFilter is a filter that accepts visual and terminal nodes that overlap the specified bounds in global coordinates. Visual nodes are those node types that have visual components, and are not editors of another node (i.e., do not have 'hasOneChild' set). Terminal nodes are leaf nodes and group nodes that do not "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 | |
ZBoundsFindFilter(ZBounds bounds)
Create a new bounds filter. |
Method Summary | |
boolean |
accept(ZNode node)
Determine if the specified node is accepted by this filter. |
boolean |
childrenFindable(ZNode node)
Determine if the children of the specified node should be searched. |
ZBounds |
getBounds()
Return the bounds of this filter's search region. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZBoundsFindFilter(ZBounds bounds)
bounds
- The bounds in global coordinates to search within.Method Detail |
public boolean accept(ZNode node)
accept
in interface ZFindFilter
node
- The node that is to be examined by this filter
ZDrawingSurface.findNodes(edu.umd.cs.jazz.util.ZFindFilter)
public boolean childrenFindable(ZNode node)
childrenFindable
in interface ZFindFilter
node
- The node that is to be examined by this filter
public ZBounds getBounds()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |