|
||||||||||
| 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 intersects with this Filter's configured bounds. |
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 intersection| Method Detail |
|---|
public boolean accept(PNode node)
accept in interface PNodeFilternode - node being testedpublic boolean acceptChildrenOf(PNode node)
acceptChildrenOf in interface PNodeFilterpublic boolean isCameraLayer(PNode node)
node - node being tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||