public class MXNodeAlgorithmContext
extends java.lang.Object
MXNodeAlgorithm
for obtaining the Scene-graph
structure.Modifier and Type | Field and Description |
---|---|
private int |
counter |
Constructor and Description |
---|
MXNodeAlgorithmContext()
Creates new instance of the context with the node counter initialized to zero.
|
MXNodeAlgorithmContext(int initCounterValue)
Creates new instance of the context with the node counter initialized
to
initCounterValue . |
Modifier and Type | Method and Description |
---|---|
int |
getNextInt()
Returns next number identifier.
|
public MXNodeAlgorithmContext()
public MXNodeAlgorithmContext(int initCounterValue)
initCounterValue
.initCounterValue
- initial value for node identifiers