Class PONode

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<org.processmining.models.graphbased.directed.DirectedGraphNode>, org.processmining.models.graphbased.AttributeMapOwner, org.processmining.models.graphbased.directed.DirectedGraphElement, org.processmining.models.graphbased.directed.DirectedGraphNode, org.processmining.models.shapes.Decorated
    Direct Known Subclasses:
    PODataNode, POEventNode, POMoveLogSimple, POMoveModelSimple, POMoveSyncSimple, PONodeMove, POPlaceSimple

    public abstract class PONode
    extends org.processmining.models.graphbased.directed.AbstractDirectedGraphNode
    implements org.processmining.models.shapes.Decorated
    An general abstract class of the nodes of PartialOrderGraph
    Author:
    xlu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.awt.Color color  
      protected PartialOrderGraph graph  
      protected java.lang.String label  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void decorate​(java.awt.Graphics2D g2d, double x, double y, double width, double height)  
      java.awt.Color getColor()  
      org.processmining.models.graphbased.directed.AbstractDirectedGraph<?,​?> getGraph()  
      abstract java.lang.Object[][] getInfo()  
      int getTrace()  
      protected abstract void initAttributeMap()  
      void setColor​(java.awt.Color color)  
      void setLabel​(java.lang.String label)  
      void setNodeLabelColor​(java.awt.Color color)  
      void setNodeLineColor​(java.awt.Color color)  
      abstract java.lang.String toStringType()  
      • Methods inherited from class org.processmining.models.graphbased.directed.AbstractDirectedGraphNode

        compareTo
      • Methods inherited from class org.processmining.models.graphbased.AbstractGraphNode

        equals, getId, hashCode
      • Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement

        getAttributeMap, getLabel, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.processmining.models.graphbased.AttributeMapOwner

        getAttributeMap
      • Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraphElement

        equals, getLabel, hashCode
      • Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraphNode

        getId
    • Field Detail

      • color

        protected java.awt.Color color
      • label

        protected java.lang.String label
    • Method Detail

      • setLabel

        public void setLabel​(java.lang.String label)
      • initAttributeMap

        protected abstract void initAttributeMap()
      • toStringType

        public abstract java.lang.String toStringType()
      • decorate

        public void decorate​(java.awt.Graphics2D g2d,
                             double x,
                             double y,
                             double width,
                             double height)
        Specified by:
        decorate in interface org.processmining.models.shapes.Decorated
      • getGraph

        public org.processmining.models.graphbased.directed.AbstractDirectedGraph<?,​?> getGraph()
        Specified by:
        getGraph in interface org.processmining.models.graphbased.directed.DirectedGraphElement
        Specified by:
        getGraph in class org.processmining.models.graphbased.directed.AbstractDirectedGraphNode
      • getTrace

        public int getTrace()
        Returns:
        trace index
      • getColor

        public java.awt.Color getColor()
      • setColor

        public void setColor​(java.awt.Color color)
      • setNodeLineColor

        public void setNodeLineColor​(java.awt.Color color)
      • setNodeLabelColor

        public void setNodeLabelColor​(java.awt.Color color)
      • getInfo

        public abstract java.lang.Object[][] getInfo()