|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.piccolox.event.PSelectionEventHandler.BoundsFilter
protected class PSelectionEventHandler.BoundsFilter
Class used to filter nodes that intersect with the marquee's bounds.
Constructor Summary | |
---|---|
protected |
PSelectionEventHandler.BoundsFilter(edu.umd.cs.piccolo.util.PBounds bounds)
Constructs a BoundsFilter for the given bounds. |
Method Summary | |
---|---|
boolean |
accept(edu.umd.cs.piccolo.PNode node)
Returns true if the node intersects with this Filter's configured bounds. |
boolean |
acceptChildrenOf(edu.umd.cs.piccolo.PNode node)
Returns whether this filter should accept all children of a node. |
boolean |
isCameraLayer(edu.umd.cs.piccolo.PNode node)
Tests a node to see if it's a layer that has an attached camera. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PSelectionEventHandler.BoundsFilter(edu.umd.cs.piccolo.util.PBounds bounds)
bounds
- bounds to be used when testing nodes for intersectionMethod Detail |
---|
public boolean accept(edu.umd.cs.piccolo.PNode node)
accept
in interface edu.umd.cs.piccolo.util.PNodeFilter
node
- node being testedpublic boolean acceptChildrenOf(edu.umd.cs.piccolo.PNode node)
acceptChildrenOf
in interface edu.umd.cs.piccolo.util.PNodeFilter
public boolean isCameraLayer(edu.umd.cs.piccolo.PNode node)
node
- node being tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |