protected class PSelectionEventHandler.BoundsFilter extends Object implements PNodeFilter
Modifier | Constructor and Description |
---|---|
protected |
PSelectionEventHandler.BoundsFilter(PBounds bounds)
Constructs a BoundsFilter for the given bounds.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected PSelectionEventHandler.BoundsFilter(PBounds bounds)
bounds
- bounds to be used when testing nodes for intersectionpublic boolean accept(PNode node)
accept
in interface PNodeFilter
node
- node being testedpublic boolean acceptChildrenOf(PNode node)
acceptChildrenOf
in interface PNodeFilter
node
- node being testedpublic boolean isCameraLayer(PNode node)
node
- node being testedCopyright © 1995-2012 Piccolo2D. All Rights Reserved.