public class NodeGraphicsHLAPI extends Object implements HLAPIClass, GraphicsHLAPI
Constructor and Description |
---|
NodeGraphicsHLAPI(NodeGraphics lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
NodeGraphicsHLAPI(NodeHLAPI containerNode)
This constructor give access to required stuff only (and container)
|
NodeGraphicsHLAPI(PageHLAPI containerPage)
This constructor give access to required stuff only (and container)
|
NodeGraphicsHLAPI(PositionHLAPI position,
DimensionHLAPI dimension,
FillHLAPI fill,
LineHLAPI line)
this constructor allows you to set all 'settable' values
excepted container.
|
NodeGraphicsHLAPI(PositionHLAPI position,
DimensionHLAPI dimension,
FillHLAPI fill,
LineHLAPI line,
NodeHLAPI containerNode)
this constructor allows you to set all 'settable' values, including container if any.
|
NodeGraphicsHLAPI(PositionHLAPI position,
DimensionHLAPI dimension,
FillHLAPI fill,
LineHLAPI line,
PageHLAPI containerPage)
this constructor allows you to set all 'settable' values, including container if any.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(NodeGraphicsHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
NodeGraphics |
getContainedItem()
Return encapsulated object
|
Node |
getContainerNode()
Return the encapsulate Low Level API object.
|
NodeHLAPI |
getContainerNodeHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Page |
getContainerPage()
Return the encapsulate Low Level API object.
|
PageHLAPI |
getContainerPageHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Dimension |
getDimension()
Return the encapsulate Low Level API object.
|
DimensionHLAPI |
getDimensionHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Fill |
getFill()
Return the encapsulate Low Level API object.
|
FillHLAPI |
getFillHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Line |
getLine()
Return the encapsulate Low Level API object.
|
LineHLAPI |
getLineHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Position |
getPosition()
Return the encapsulate Low Level API object.
|
PositionHLAPI |
getPositionHLAPI()
This accessor automatically encapsulate an element of the current object.
|
void |
setContainerNodeHLAPI(NodeHLAPI elem)
set ContainerNode
|
void |
setContainerPageHLAPI(PageHLAPI elem)
set ContainerPage
|
void |
setDimensionHLAPI(DimensionHLAPI elem)
set Dimension
|
void |
setFillHLAPI(FillHLAPI elem)
set Fill
|
void |
setLineHLAPI(LineHLAPI elem)
set Line
|
void |
setPositionHLAPI(PositionHLAPI elem)
set Position
|
String |
toPNML()
Returns the PNML xml tree for this object.
|
void |
toPNML(FileChannel fc)
Writes the PNML XML tree of this object into file channel.
|
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public NodeGraphicsHLAPI(PositionHLAPI position, DimensionHLAPI dimension, FillHLAPI fill, LineHLAPI line)
public NodeGraphicsHLAPI(PositionHLAPI position, DimensionHLAPI dimension, FillHLAPI fill, LineHLAPI line, NodeHLAPI containerNode)
public NodeGraphicsHLAPI(PositionHLAPI position, DimensionHLAPI dimension, FillHLAPI fill, LineHLAPI line, PageHLAPI containerPage)
public NodeGraphicsHLAPI(NodeHLAPI containerNode)
public NodeGraphicsHLAPI(PageHLAPI containerPage)
public NodeGraphicsHLAPI(NodeGraphics lowLevelAPI)
public NodeGraphics getContainedItem()
getContainedItem
in interface HLAPIClass
public Position getPosition()
public Dimension getDimension()
public Fill getFill()
public Line getLine()
public Node getContainerNode()
public Page getContainerPage()
public PositionHLAPI getPositionHLAPI()
public DimensionHLAPI getDimensionHLAPI()
public FillHLAPI getFillHLAPI()
public LineHLAPI getLineHLAPI()
public NodeHLAPI getContainerNodeHLAPI()
public PageHLAPI getContainerPageHLAPI()
public void setPositionHLAPI(PositionHLAPI elem)
public void setDimensionHLAPI(DimensionHLAPI elem)
public void setFillHLAPI(FillHLAPI elem)
public void setLineHLAPI(LineHLAPI elem)
public void setContainerNodeHLAPI(NodeHLAPI elem)
public void setContainerPageHLAPI(PageHLAPI elem)
public boolean equals(NodeGraphicsHLAPI item)
public String toPNML()
toPNML
in interface HLAPIClass
HLAPIClass.toPNML(FileChannel)
public void toPNML(FileChannel fc)
toPNML
in interface HLAPIClass
fc
- the file channel into which to write the contentspublic void fromPNML(org.apache.axiom.om.OMElement subRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
fromPNML
in interface HLAPIClass
subRoot
- the sub-tree to import.idr
- an idreflinker to solve idref.InnerBuildException
- .InvalidIDException
- .VoidRepositoryException
- .public boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
validateOCL
in interface HLAPIClass
diagnostics
- for diagnostic informations.Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.