Class TSAnimation


  • public class TSAnimation
    extends org.processmining.models.animation.Animation
    • Constructor Summary

      Constructors 
      Constructor Description
      TSAnimation​(org.processmining.framework.plugin.PluginContext context, EventPayloadTransitionSystem ts, org.deckfour.xes.model.XLog log)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void createAnimations​(org.deckfour.xes.model.XTrace trace, org.processmining.framework.plugin.Progress progress)
      Creates animations for the given trace.
      float getActivity​(long modelTime, long maxTaskDelay)  
      void paintNodeBackground​(org.processmining.models.graphbased.directed.AbstractDirectedGraphNode node, java.awt.Graphics2D g2d, double x, double y, double width, double height)  
      void paintNodeBorder​(org.processmining.models.graphbased.directed.AbstractDirectedGraphNode node, java.awt.Graphics2D g2d, double x, double y, double width, double height)  
      void paintNodeText​(org.processmining.models.graphbased.directed.AbstractDirectedGraphNode node, java.awt.Graphics2D g2d, double x, double y, double width, double height)  
      void paintTokenLabel​(org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge<?,​?> edge, org.deckfour.xes.model.XTrace trace, java.awt.Graphics2D g2d, double x, double y)  
      • Methods inherited from class org.processmining.models.animation.Animation

        addKeyframe, addTokenAnimation, addTokenAnimation, getActivityBetween, getBestQuarterTraverseCount, getCaseAnimation, getEdgeAnimations, getEnd, getEventTime, getFadeTime, getLayout, getMaxTraverseCount, getMeanBetweenTime, getMeanCaseDuration, getMinTraverseCount, getNodeAnimations, getStart, initialize, updateBoundaries
      • Methods inherited from class java.lang.Object

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

      • TSAnimation

        public TSAnimation​(org.processmining.framework.plugin.PluginContext context,
                           EventPayloadTransitionSystem ts,
                           org.deckfour.xes.model.XLog log)
    • Method Detail

      • createAnimations

        protected void createAnimations​(org.deckfour.xes.model.XTrace trace,
                                        org.processmining.framework.plugin.Progress progress)
                                 throws java.lang.IndexOutOfBoundsException
        Creates animations for the given trace. Shows progress using the given progress bar.
        Specified by:
        createAnimations in class org.processmining.models.animation.Animation
        Parameters:
        trace - The given trace.
        progress - The given progress bar.
        Throws:
        java.lang.IndexOutOfBoundsException
      • paintNodeBackground

        public void paintNodeBackground​(org.processmining.models.graphbased.directed.AbstractDirectedGraphNode node,
                                        java.awt.Graphics2D g2d,
                                        double x,
                                        double y,
                                        double width,
                                        double height)
        Specified by:
        paintNodeBackground in class org.processmining.models.animation.Animation
      • paintNodeBorder

        public void paintNodeBorder​(org.processmining.models.graphbased.directed.AbstractDirectedGraphNode node,
                                    java.awt.Graphics2D g2d,
                                    double x,
                                    double y,
                                    double width,
                                    double height)
        Specified by:
        paintNodeBorder in class org.processmining.models.animation.Animation
      • paintNodeText

        public void paintNodeText​(org.processmining.models.graphbased.directed.AbstractDirectedGraphNode node,
                                  java.awt.Graphics2D g2d,
                                  double x,
                                  double y,
                                  double width,
                                  double height)
        Specified by:
        paintNodeText in class org.processmining.models.animation.Animation
      • paintTokenLabel

        public void paintTokenLabel​(org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge<?,​?> edge,
                                    org.deckfour.xes.model.XTrace trace,
                                    java.awt.Graphics2D g2d,
                                    double x,
                                    double y)
        Specified by:
        paintTokenLabel in class org.processmining.models.animation.Animation
      • getActivity

        public float getActivity​(long modelTime,
                                 long maxTaskDelay)
        Specified by:
        getActivity in class org.processmining.models.animation.Animation