public class TsmlNodeGraphics extends TsmlElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
PNML node graphics tag.
|
lineNumber, tag
Constructor and Description |
---|
TsmlNodeGraphics()
Creates a fresh PNML node graphics.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
exportElements(Tsml tsml)
Exports the annotation graphics.
|
org.processmining.framework.util.Pair<java.awt.geom.Point2D.Double,java.awt.geom.Point2D.Double> |
getBoundingBox()
Gets the bounding box for this node.
|
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Tsml tsml)
Checks whether the current start tag is known.
|
TsmlNodeGraphics |
marshall(org.processmining.models.graphbased.AbstractGraphElement element,
org.processmining.models.connections.GraphLayoutConnection layout) |
void |
unmarshall(org.processmining.models.graphbased.AbstractGraphElement element,
org.processmining.models.connections.GraphLayoutConnection layout)
Sets the graphics for the given graph element.
|
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText
public static final java.lang.String TAG
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)
importElements
in class TsmlElement
protected java.lang.String exportElements(Tsml tsml)
exportElements
in class TsmlElement
public org.processmining.framework.util.Pair<java.awt.geom.Point2D.Double,java.awt.geom.Point2D.Double> getBoundingBox()
public void unmarshall(org.processmining.models.graphbased.AbstractGraphElement element, org.processmining.models.connections.GraphLayoutConnection layout)
net
- The given net.subNet
- The given sub net.element
- The given element.public TsmlNodeGraphics marshall(org.processmining.models.graphbased.AbstractGraphElement element, org.processmining.models.connections.GraphLayoutConnection layout)