Class State
- java.lang.Object
-
- org.processmining.models.graphbased.AbstractGraphElement
-
- org.processmining.models.graphbased.AbstractGraphNode
-
- org.processmining.models.graphbased.directed.AbstractDirectedGraphNode
-
- org.processmining.models.graphbased.directed.transitionsystem.State
-
- 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
public class State extends org.processmining.models.graphbased.directed.AbstractDirectedGraphNode implements org.processmining.models.shapes.Decorated
-
-
Constructor Summary
Constructors Constructor Description State(java.lang.Object identifier, TransitionSystemImpl graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecorate(java.awt.Graphics2D g2d, double x, double y, double width, double height)If this state is an accepting state, then an extra line is painted in the GUI as the border of this state.booleanequals(java.lang.Object o)TransitionSystemImplgetGraph()java.lang.ObjectgetIdentifier()java.lang.StringgetLabel()inthashCode()booleanisAccepting()voidsetAccepting(boolean accepting)voidsetLabel(java.lang.String label)-
Methods inherited from class org.processmining.models.graphbased.directed.AbstractDirectedGraphNode
compareTo
-
Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement
getAttributeMap, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
State
public State(java.lang.Object identifier, TransitionSystemImpl graph)
-
-
Method Detail
-
getIdentifier
public java.lang.Object getIdentifier()
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfaceorg.processmining.models.graphbased.directed.DirectedGraphElement- Overrides:
equalsin classorg.processmining.models.graphbased.AbstractGraphNode
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.processmining.models.graphbased.directed.DirectedGraphElement- Overrides:
hashCodein classorg.processmining.models.graphbased.AbstractGraphNode
-
getGraph
public TransitionSystemImpl getGraph()
- Specified by:
getGraphin interfaceorg.processmining.models.graphbased.directed.DirectedGraphElement- Specified by:
getGraphin classorg.processmining.models.graphbased.directed.AbstractDirectedGraphNode
-
setAccepting
public void setAccepting(boolean accepting)
-
isAccepting
public boolean isAccepting()
-
setLabel
public void setLabel(java.lang.String label)
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceorg.processmining.models.graphbased.directed.DirectedGraphElement- Overrides:
getLabelin classorg.processmining.models.graphbased.AbstractGraphElement
-
decorate
public void decorate(java.awt.Graphics2D g2d, double x, double y, double width, double height)If this state is an accepting state, then an extra line is painted in the GUI as the border of this state.- Specified by:
decoratein interfaceorg.processmining.models.shapes.Decorated
-
-