Class GraphVizTokensLazyIterator
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.animation.GraphVizTokensLazyIterator
-
- All Implemented Interfaces:
GraphVizTokensIterator
public class GraphVizTokensLazyIterator extends java.lang.Object implements GraphVizTokensIterator
Provides an independent iterator over graphviztokens.- Author:
- sleemans
-
-
Constructor Summary
Constructors Constructor Description GraphVizTokensLazyIterator(GraphVizTokens tokens)GraphVizTokensLazyIterator(GraphVizTokensLazyIterator oldIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphVizTokensgetTokens()voiditEval()Evaluate the bezier last returned by itNext()doubleitGetOpacity()intitGetPosition()intitGetTraceIndex()doubleitGetX()doubleitGetY()booleanitHasNext()Default iterator.hasNext()voiditInit(double time)Initialises the iterator on a particular time.intitNext()Default iterator.next()
-
-
-
Constructor Detail
-
GraphVizTokensLazyIterator
public GraphVizTokensLazyIterator(GraphVizTokens tokens)
-
GraphVizTokensLazyIterator
public GraphVizTokensLazyIterator(GraphVizTokensLazyIterator oldIterator)
-
-
Method Detail
-
itInit
public void itInit(double time)
Description copied from interface:GraphVizTokensIteratorInitialises the iterator on a particular time.- Specified by:
itInitin interfaceGraphVizTokensIterator
-
itNext
public int itNext()
Description copied from interface:GraphVizTokensIteratorDefault iterator.next()- Specified by:
itNextin interfaceGraphVizTokensIterator- Returns:
-
itHasNext
public boolean itHasNext()
Description copied from interface:GraphVizTokensIteratorDefault iterator.hasNext()- Specified by:
itHasNextin interfaceGraphVizTokensIterator- Returns:
-
itGetPosition
public int itGetPosition()
- Specified by:
itGetPositionin interfaceGraphVizTokensIterator- Returns:
- the index of the bezier last returned by itNext()
-
itEval
public void itEval()
Description copied from interface:GraphVizTokensIteratorEvaluate the bezier last returned by itNext()- Specified by:
itEvalin interfaceGraphVizTokensIterator
-
itGetOpacity
public double itGetOpacity()
- Specified by:
itGetOpacityin interfaceGraphVizTokensIterator- Returns:
- the opacity of the last bezier itEval() was called on.
-
itGetX
public double itGetX()
- Specified by:
itGetXin interfaceGraphVizTokensIterator- Returns:
- the x of the last bezier itEval() was called on.
-
itGetY
public double itGetY()
- Specified by:
itGetYin interfaceGraphVizTokensIterator- Returns:
- the y of the last bezier itEval() was called on.
-
itGetTraceIndex
public int itGetTraceIndex()
- Specified by:
itGetTraceIndexin interfaceGraphVizTokensIterator- Returns:
- the current trace index.
-
getTokens
public GraphVizTokens getTokens()
-
-