Class Move

  • All Implemented Interfaces:
    org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
    Direct Known Subclasses:
    IvMMove

    public class Move
    extends java.lang.Object
    implements org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
    • Constructor Detail

      • Move

        public Move​(IvMModel model,
                    Move.Type type,
                    int sourceNode,
                    int node,
                    org.deckfour.xes.classification.XEventClass activityEventClass,
                    org.deckfour.xes.classification.XEventClass performanceEventClass,
                    PerformanceTransition lifeCycle,
                    int indexInAlignedTrace,
                    IvMDecoratorI decorator)
        Parameters:
        model -
        type -
        sourceNode -
        node -
        activityEventClass -
        performanceEventClass -
        lifeCycle -
        indexInAlignedTrace -
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • isModelSync

        public boolean isModelSync()
      • getTreeNode

        public int getTreeNode()
      • getActivityEventClass

        public org.deckfour.xes.classification.XEventClass getActivityEventClass()
      • getPerformanceEventClass

        public org.deckfour.xes.classification.XEventClass getPerformanceEventClass()
      • getLogMoveBeforeChild

        public int getLogMoveBeforeChild()
      • setLogMovePosition

        public void setLogMovePosition​(LogMovePosition logMovePosition)
      • getLogMoveUnode

        public int getLogMoveUnode()
      • getPositionUnode

        public int getPositionUnode()
      • isLogMove

        public boolean isLogMove()
      • isModelMove

        public boolean isModelMove()
      • isSyncMove

        public boolean isSyncMove()
      • isStart

        public boolean isStart()
      • isComplete

        public boolean isComplete()
      • isTauStart

        public boolean isTauStart()
        Returns:
        whether this move is a missing start
      • isIgnoredLogMove

        public boolean isIgnoredLogMove()
      • getLogMoveParallelBranchMappedTo

        public int getLogMoveParallelBranchMappedTo()
        Returns the last known unode in the trace before this log move. This is used in log splitting, to make sure that the log move ends up in the correct sub trace.
        Returns:
      • setLogMoveParallelBranchMappedTo

        public void setLogMoveParallelBranchMappedTo​(int logMoveParallelBranch)
      • getLabel

        public java.lang.String getLabel()
        Specified by:
        getLabel in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the label of this event
      • getTopLabel

        public java.lang.String getTopLabel()
        Specified by:
        getTopLabel in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        label that is displayed on top of the event
      • getBottomLabel

        public java.lang.String getBottomLabel()
        Specified by:
        getBottomLabel in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        label that is displayed in the first row below of the event
      • getBottomLabel2

        public java.lang.String getBottomLabel2()
        Specified by:
        getBottomLabel2 in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        label that is displayed in the second row below of the event
      • getWedgeColor

        public java.awt.Color getWedgeColor()
        Specified by:
        getWedgeColor in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the color of the wedge
      • getBorderColor

        public java.awt.Color getBorderColor()
        Specified by:
        getBorderColor in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the color of the border
      • getLabelColor

        public java.awt.Color getLabelColor()
        Specified by:
        getLabelColor in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the text color of the label
      • getTopLabelColor

        public java.awt.Color getTopLabelColor()
        Specified by:
        getTopLabelColor in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the text color of the top label
      • getBottomLabelColor

        public java.awt.Color getBottomLabelColor()
        Specified by:
        getBottomLabelColor in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the text color of the bottom label
      • getBottomLabel2Color

        public java.awt.Color getBottomLabel2Color()
        Specified by:
        getBottomLabel2Color in interface org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
        Returns:
        the text color of the second bottom label
      • isIgnoredModelMove

        public boolean isIgnoredModelMove()
      • getSourceNode

        public int getSourceNode()
      • getIndexInAlignedTrace

        public int getIndexInAlignedTrace()