Class TraceColourMapAttributeBoolean
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.tracecolouring.TraceColourMapAttributeBoolean
-
- All Implemented Interfaces:
TraceColourMap
public class TraceColourMapAttributeBoolean extends java.lang.Object implements TraceColourMap
-
-
Constructor Summary
Constructors Constructor Description TraceColourMapAttributeBoolean(IvMLogNotFiltered log, org.processmining.plugins.inductiveminer2.attributes.Attribute attribute, java.awt.Color[] value2colour)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetColour(int traceIndex)Warning: this method is called in the animation loop.java.awt.ColorgetColour(IvMTrace trace)java.lang.StringgetValue(IvMTrace trace)This method is less critical than getColour() and is not executed in the animation thread.
-
-
-
Constructor Detail
-
TraceColourMapAttributeBoolean
public TraceColourMapAttributeBoolean(IvMLogNotFiltered log, org.processmining.plugins.inductiveminer2.attributes.Attribute attribute, java.awt.Color[] value2colour)
-
-
Method Detail
-
getColour
public java.awt.Color getColour(int traceIndex)
Description copied from interface:TraceColourMapWarning: this method is called in the animation loop. Do -not- create new objects or variables, as the garbage collector -will- kick in and ruin the smoothness of the animation. DO NOT ACCESS TRACE ATTRIBUTES FROM THIS METHOD! Rather, prepare an array that contains a (link to) a colour for each trace index, in the constructor.- Specified by:
getColourin interfaceTraceColourMap- Returns:
- the colour that this bezier should have.
-
getColour
public java.awt.Color getColour(IvMTrace trace)
- Specified by:
getColourin interfaceTraceColourMap- Returns:
- The colour of a trace.
-
getValue
public java.lang.String getValue(IvMTrace trace)
Description copied from interface:TraceColourMapThis method is less critical than getColour() and is not executed in the animation thread.- Specified by:
getValuein interfaceTraceColourMap- Returns:
- The value on which the colour is to be computed.
-
-