Class TraceColourMapAttributeTime

    • Constructor Summary

      Constructors 
      Constructor Description
      TraceColourMapAttributeTime​(IvMLogNotFiltered log, org.processmining.plugins.inductiveminer2.attributes.Attribute attribute, org.processmining.plugins.graphviz.colourMaps.ColourMap colourMap, long min, long max)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Color attributeValue2colour​(org.deckfour.xes.model.XAttributable trace)  
      java.awt.Color getColour​(int traceIndex)
      Warning: this method is called in the animation loop.
      java.awt.Color getColour​(IvMTrace trace)  
      java.lang.String getValue​(IvMTrace trace)
      This method is less critical than getColour() and is not executed in the animation thread.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TraceColourMapAttributeTime

        public TraceColourMapAttributeTime​(IvMLogNotFiltered log,
                                           org.processmining.plugins.inductiveminer2.attributes.Attribute attribute,
                                           org.processmining.plugins.graphviz.colourMaps.ColourMap colourMap,
                                           long min,
                                           long max)
    • Method Detail

      • attributeValue2colour

        public java.awt.Color attributeValue2colour​(org.deckfour.xes.model.XAttributable trace)
      • getColour

        public java.awt.Color getColour​(int traceIndex)
        Description copied from interface: TraceColourMap
        Warning: 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:
        getColour in interface TraceColourMap
        Returns:
        the colour that this bezier should have.
      • getValue

        public java.lang.String getValue​(IvMTrace trace)
        Description copied from interface: TraceColourMap
        This method is less critical than getColour() and is not executed in the animation thread.
        Specified by:
        getValue in interface TraceColourMap
        Returns:
        The value on which the colour is to be computed.