|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.processmining.plugins.pnml.PnmlElement
org.processmining.plugins.pnml.graphics.PnmlDimension
public class PnmlDimension
PNML graphics dimension object.
| Field Summary | |
|---|---|
static java.lang.String |
TAG
PNML dimension tag. |
| Fields inherited from class org.processmining.plugins.pnml.PnmlElement |
|---|
lineNumber, tag |
| Constructor Summary | |
|---|---|
PnmlDimension()
Creates a fresh PNML dimension. |
|
| Method Summary | |
|---|---|
protected void |
checkValidity(Pnml pnml)
Checks validity. |
PnmlDimension |
convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)
|
void |
convertToNet(org.processmining.models.graphbased.AbstractGraphElement element,
org.processmining.framework.util.Pair<java.awt.geom.Point2D.Double,java.awt.geom.Point2D.Double> boundingBox)
Sets the size of the given graph element to this dimension. |
protected java.lang.String |
exportAttributes(Pnml pnml)
Exports the dimension. |
double |
getX()
|
double |
getY()
|
protected void |
importAttributes(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
Imports the known attributes. |
void |
setX(java.lang.Double x)
|
void |
setY(java.lang.Double y)
|
| Methods inherited from class org.processmining.plugins.pnml.PnmlElement |
|---|
exportAttribute, exportElement, exportElements, importElement, importElements, importText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG
| Constructor Detail |
|---|
public PnmlDimension()
| Method Detail |
|---|
protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
importAttributes in class PnmlElementprotected java.lang.String exportAttributes(Pnml pnml)
exportAttributes in class PnmlElementprotected void checkValidity(Pnml pnml)
checkValidity in class PnmlElementpublic double getX()
public double getY()
public void setX(java.lang.Double x)
public void setY(java.lang.Double y)
public void convertToNet(org.processmining.models.graphbased.AbstractGraphElement element,
org.processmining.framework.util.Pair<java.awt.geom.Point2D.Double,java.awt.geom.Point2D.Double> boundingBox)
element - The given element.public PnmlDimension convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||