org.processmining.models.heuristics.elements
Class Activity

java.lang.Object
  extended by org.processmining.models.graphbased.AbstractGraphElement
      extended by org.processmining.models.graphbased.AbstractGraphNode
          extended by org.processmining.models.graphbased.directed.AbstractDirectedGraphNode
              extended by org.processmining.models.heuristics.elements.HNNode
                  extended by org.processmining.models.heuristics.elements.Activity
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.ContainableDirectedGraphElement, org.processmining.models.graphbased.directed.DirectedGraphElement, org.processmining.models.graphbased.directed.DirectedGraphNode, org.processmining.models.shapes.Decorated

public class Activity
extends HNNode
implements org.processmining.models.shapes.Decorated


Field Summary
protected  boolean bAdhoc
           
protected  boolean bCollapsed
           
protected  boolean bCompensation
           
protected  boolean bLooped
           
protected  boolean bMultiinstance
           
static int BRANCHINGBOXWIDTH
           
static int PADDINGFROMBOXTOTEXT
           
protected static int stdHeight
           
protected static int stdWidth
           
 
Fields inherited from class org.processmining.models.heuristics.elements.HNNode
ABSTRACTBACKGROUNDCOLOR, ABSTRACTBORDERCOLOR, ABSTRACTTEXTCOLOR, ADJACENTBACKGROUNDCOLOR, CLUSTERBACKGROUNDCOLOR, CLUSTERBORDERCOLOR, CLUSTERTEXTCOLOR, EDGECOLOR, EDGECORRELATEDCOLOR, EDGEUNCORRELATEDCOLOR, LABELCOLOR, PRIMITIVEBACKGROUNDCOLOR, PRIMITIVEBORDERCOLOR, PRIMITIVETEXTCOLOR
 
Constructor Summary
Activity(org.processmining.models.graphbased.directed.AbstractDirectedGraph<HNNode,HNEdge<? extends HNNode,? extends HNNode>> bpmndiagram, java.lang.String label, boolean bLooped, boolean bAdhoc, boolean bCompensation, boolean bMultiinstance, boolean bCollapsed)
           
 
Method Summary
 void decorate(java.awt.Graphics2D g2d, double x, double y, double width, double height)
           
 IGraphElementDecoration getDecorator()
           
 boolean isBAdhoc()
           
 boolean isBCollapsed()
           
 boolean isBCompensation()
           
 boolean isBLooped()
           
 boolean isBMultiinstance()
           
 void setBAdhoc(boolean adhoc)
           
 void setBCollapsed(boolean collapsed)
           
 void setBCompensation(boolean compensation)
           
 void setBLooped(boolean looped)
           
 void setBMultiinstance(boolean multiinstance)
           
 void setDecorator(IGraphElementDecoration decorator)
           
 
Methods inherited from class org.processmining.models.heuristics.elements.HNNode
getGraph, getParent
 
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.DirectedGraphNode
getId
 
Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraphElement
equals, getLabel, hashCode
 

Field Detail

bLooped

protected boolean bLooped

bAdhoc

protected boolean bAdhoc

bCompensation

protected boolean bCompensation

bMultiinstance

protected boolean bMultiinstance

bCollapsed

protected boolean bCollapsed

PADDINGFROMBOXTOTEXT

public static final int PADDINGFROMBOXTOTEXT
See Also:
Constant Field Values

BRANCHINGBOXWIDTH

public static final int BRANCHINGBOXWIDTH
See Also:
Constant Field Values

stdWidth

protected static final int stdWidth
See Also:
Constant Field Values

stdHeight

protected static final int stdHeight
See Also:
Constant Field Values
Constructor Detail

Activity

public Activity(org.processmining.models.graphbased.directed.AbstractDirectedGraph<HNNode,HNEdge<? extends HNNode,? extends HNNode>> bpmndiagram,
                java.lang.String label,
                boolean bLooped,
                boolean bAdhoc,
                boolean bCompensation,
                boolean bMultiinstance,
                boolean bCollapsed)
Method Detail

getDecorator

public IGraphElementDecoration getDecorator()

setDecorator

public void setDecorator(IGraphElementDecoration decorator)

isBCollapsed

public boolean isBCollapsed()

setBCollapsed

public void setBCollapsed(boolean collapsed)

isBLooped

public boolean isBLooped()

setBLooped

public void setBLooped(boolean looped)

isBAdhoc

public boolean isBAdhoc()

setBAdhoc

public void setBAdhoc(boolean adhoc)

isBCompensation

public boolean isBCompensation()

setBCompensation

public void setBCompensation(boolean compensation)

isBMultiinstance

public boolean isBMultiinstance()

setBMultiinstance

public void setBMultiinstance(boolean multiinstance)

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