public class RenderGuardComposite extends java.lang.Object implements RenderGuard
Constructor and Description |
---|
RenderGuardComposite()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addRenderGuard(RenderGuard guard)
Adds a RenderGuard to the composite.
|
boolean |
canRender(NavNode node,
int depth)
Returns true if all renderers return true or no renderers are configured.
|
public boolean canRender(NavNode node, int depth)
canRender
in interface RenderGuard
node
- Node to be checked.depth
- Depth of node.public void addRenderGuard(RenderGuard guard)
guard
- RenderGuard to be added to this composite.