public class GraphVizTokens extends java.lang.Object implements GraphVizTokensIterator
Modifier and Type | Class and Description |
---|---|
static class |
GraphVizTokens.EvalScratch |
Constructor and Description |
---|
GraphVizTokens() |
Modifier and Type | Method and Description |
---|---|
void |
add(double startTime,
double endTime,
java.lang.String path,
boolean fadeIn,
boolean fadeOut,
java.awt.geom.AffineTransform transform,
int traceIndex) |
void |
cleanUp() |
boolean |
equals(java.lang.Object obj) |
void |
eval(int tokenIndex,
double time,
GraphVizTokens.EvalScratch result) |
int |
getBezierIndex(int tokenIndex) |
BezierList |
getBeziers() |
double |
getEndTime(int tokenIndex) |
double |
getStartTime(int tokenIndex) |
IteratorWithPosition<java.lang.Integer> |
getTokensAtTime(double time) |
int |
getTraceIndex(int tokenIndex) |
int |
hashCode() |
void |
itEval()
Evaluate the bezier last returned by itNext()
|
double |
itGetOpacity() |
int |
itGetPosition() |
int |
itGetTraceIndex() |
double |
itGetX() |
double |
itGetY() |
boolean |
itHasNext()
Default iterator.hasNext()
|
void |
itInit(double time)
Initialises the iterator on a particular time.
|
int |
itNext()
Default iterator.next()
|
static org.processmining.plugins.InductiveMiner.Pair<java.util.List<com.kitfox.svg.animation.Bezier>,java.lang.Double> |
processPath(java.lang.String path,
java.awt.geom.AffineTransform transform) |
int |
size() |
java.lang.String |
toString() |
public void add(double startTime, double endTime, java.lang.String path, boolean fadeIn, boolean fadeOut, java.awt.geom.AffineTransform transform, int traceIndex)
public void cleanUp()
public IteratorWithPosition<java.lang.Integer> getTokensAtTime(double time)
time
- public double getStartTime(int tokenIndex)
public double getEndTime(int tokenIndex)
public int getTraceIndex(int tokenIndex)
public int getBezierIndex(int tokenIndex)
public java.lang.String toString()
toString
in class java.lang.Object
public static org.processmining.plugins.InductiveMiner.Pair<java.util.List<com.kitfox.svg.animation.Bezier>,java.lang.Double> processPath(java.lang.String path, java.awt.geom.AffineTransform transform)
path
- transform
- public void eval(int tokenIndex, double time, GraphVizTokens.EvalScratch result)
tokenIndex
- time
- public int size()
public void itInit(double time)
GraphVizTokensIterator
itInit
in interface GraphVizTokensIterator
public int itNext()
GraphVizTokensIterator
itNext
in interface GraphVizTokensIterator
public boolean itHasNext()
GraphVizTokensIterator
itHasNext
in interface GraphVizTokensIterator
public int itGetPosition()
itGetPosition
in interface GraphVizTokensIterator
public void itEval()
GraphVizTokensIterator
itEval
in interface GraphVizTokensIterator
public double itGetOpacity()
itGetOpacity
in interface GraphVizTokensIterator
public double itGetX()
itGetX
in interface GraphVizTokensIterator
public double itGetY()
itGetY
in interface GraphVizTokensIterator
public int itGetTraceIndex()
itGetTraceIndex
in interface GraphVizTokensIterator
public BezierList getBeziers()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object