|
||||||||||
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(PBounds bounds)
Constructs a BoundsFilter for the given bounds. |
Method Summary | |
---|---|
boolean |
accept(PNode node)
Returns true if the node is an acceptable selection. |
boolean |
acceptChildrenOf(PNode node)
Returns whether this filter should accept all children of a node. |
boolean |
isCameraLayer(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(PBounds bounds)
bounds
- bounds to be used when testing nodes for intersectionMethod Detail |
---|
public boolean accept(PNode node)
accept
in interface PNodeFilter
node
- node being tested
public boolean acceptChildrenOf(PNode node)
acceptChildrenOf
in interface PNodeFilter
node
- node being tested
public boolean isCameraLayer(PNode node)
node
- node being tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |