public class LineHLAPI extends Object implements HLAPIClass
Constructor and Description |
---|
LineHLAPI(AnnotationGraphicsHLAPI containerAnnotationGraphics)
This constructor give access to required stuff only (and container)
|
LineHLAPI(ArcGraphicsHLAPI containerArcGraphics)
This constructor give access to required stuff only (and container)
|
LineHLAPI(CSS2ColorHLAPI color,
LineShapeHLAPI shape,
Integer width,
LineStyleHLAPI style)
this constructor allows you to set all 'settable' values
excepted container.
|
LineHLAPI(CSS2ColorHLAPI color,
LineShapeHLAPI shape,
Integer width,
LineStyleHLAPI style,
AnnotationGraphicsHLAPI containerAnnotationGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
LineHLAPI(CSS2ColorHLAPI color,
LineShapeHLAPI shape,
Integer width,
LineStyleHLAPI style,
ArcGraphicsHLAPI containerArcGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
LineHLAPI(CSS2ColorHLAPI color,
LineShapeHLAPI shape,
Integer width,
LineStyleHLAPI style,
NodeGraphicsHLAPI containerNodeGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
LineHLAPI(Line lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
LineHLAPI(NodeGraphicsHLAPI containerNodeGraphics)
This constructor give access to required stuff only (and container)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(LineHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
CSS2Color |
getColor()
Return the encapsulate Low Level API object.
|
Line |
getContainedItem()
Return encapsulated object
|
AnnotationGraphics |
getContainerAnnotationGraphics()
Return the encapsulate Low Level API object.
|
AnnotationGraphicsHLAPI |
getContainerAnnotationGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
ArcGraphics |
getContainerArcGraphics()
Return the encapsulate Low Level API object.
|
ArcGraphicsHLAPI |
getContainerArcGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
NodeGraphics |
getContainerNodeGraphics()
Return the encapsulate Low Level API object.
|
NodeGraphicsHLAPI |
getContainerNodeGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
LineShape |
getShape()
Return the encapsulate Low Level API object.
|
LineStyle |
getStyle()
Return the encapsulate Low Level API object.
|
Integer |
getWidth()
Return the encapsulate Low Level API object.
|
void |
setColorHLAPI(CSS2Color elem)
set Color
|
void |
setContainerAnnotationGraphicsHLAPI(AnnotationGraphicsHLAPI elem)
set ContainerAnnotationGraphics
|
void |
setContainerArcGraphicsHLAPI(ArcGraphicsHLAPI elem)
set ContainerArcGraphics
|
void |
setContainerNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
set ContainerNodeGraphics
|
void |
setShapeHLAPI(LineShape elem)
set Shape
|
void |
setStyleHLAPI(LineStyle elem)
set Style
|
void |
setWidthHLAPI(Integer elem)
set Width
|
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) |
public LineHLAPI(CSS2ColorHLAPI color, LineShapeHLAPI shape, Integer width, LineStyleHLAPI style)
public LineHLAPI(CSS2ColorHLAPI color, LineShapeHLAPI shape, Integer width, LineStyleHLAPI style, NodeGraphicsHLAPI containerNodeGraphics)
public LineHLAPI(CSS2ColorHLAPI color, LineShapeHLAPI shape, Integer width, LineStyleHLAPI style, ArcGraphicsHLAPI containerArcGraphics)
public LineHLAPI(CSS2ColorHLAPI color, LineShapeHLAPI shape, Integer width, LineStyleHLAPI style, AnnotationGraphicsHLAPI containerAnnotationGraphics)
public LineHLAPI(NodeGraphicsHLAPI containerNodeGraphics)
public LineHLAPI(ArcGraphicsHLAPI containerArcGraphics)
public LineHLAPI(AnnotationGraphicsHLAPI containerAnnotationGraphics)
public LineHLAPI(Line lowLevelAPI)
public Line getContainedItem()
getContainedItem
in interface HLAPIClass
public CSS2Color getColor()
public LineShape getShape()
public Integer getWidth()
public NodeGraphics getContainerNodeGraphics()
public ArcGraphics getContainerArcGraphics()
public AnnotationGraphics getContainerAnnotationGraphics()
public LineStyle getStyle()
public NodeGraphicsHLAPI getContainerNodeGraphicsHLAPI()
public ArcGraphicsHLAPI getContainerArcGraphicsHLAPI()
public AnnotationGraphicsHLAPI getContainerAnnotationGraphicsHLAPI()
public void setColorHLAPI(CSS2Color elem)
public void setShapeHLAPI(LineShape elem)
public void setWidthHLAPI(Integer elem)
public void setStyleHLAPI(LineStyle elem)
public void setContainerNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
public void setContainerArcGraphicsHLAPI(ArcGraphicsHLAPI elem)
public void setContainerAnnotationGraphicsHLAPI(AnnotationGraphicsHLAPI elem)
public boolean equals(LineHLAPI 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.