public class AnnotationGraphicsHLAPI extends Object implements HLAPIClass, GraphicsHLAPI
Constructor and Description |
---|
AnnotationGraphicsHLAPI(AnnotationGraphics lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
AnnotationGraphicsHLAPI(AnnotationHLAPI containerAnnotation)
This constructor give access to required stuff only (and container)
|
AnnotationGraphicsHLAPI(OffsetHLAPI offset,
FillHLAPI fill,
LineHLAPI line,
FontHLAPI font)
this constructor allows you to set all 'settable' values
excepted container.
|
AnnotationGraphicsHLAPI(OffsetHLAPI offset,
FillHLAPI fill,
LineHLAPI line,
FontHLAPI font,
AnnotationHLAPI containerAnnotation)
this constructor allows you to set all 'settable' values, including container if any.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AnnotationGraphicsHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
AnnotationGraphics |
getContainedItem()
Return encapsulated object
|
Annotation |
getContainerAnnotation()
Return the encapsulate Low Level API object.
|
AnnotationHLAPI |
getContainerAnnotationHLAPI()
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.
|
Font |
getFont()
Return the encapsulate Low Level API object.
|
FontHLAPI |
getFontHLAPI()
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.
|
Offset |
getOffset()
Return the encapsulate Low Level API object.
|
OffsetHLAPI |
getOffsetHLAPI()
This accessor automatically encapsulate an element of the current object.
|
void |
setContainerAnnotationHLAPI(AnnotationHLAPI elem)
set ContainerAnnotation
|
void |
setFillHLAPI(FillHLAPI elem)
set Fill
|
void |
setFontHLAPI(FontHLAPI elem)
set Font
|
void |
setLineHLAPI(LineHLAPI elem)
set Line
|
void |
setOffsetHLAPI(OffsetHLAPI elem)
set Offset
|
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 AnnotationGraphicsHLAPI(OffsetHLAPI offset, FillHLAPI fill, LineHLAPI line, FontHLAPI font)
public AnnotationGraphicsHLAPI(OffsetHLAPI offset, FillHLAPI fill, LineHLAPI line, FontHLAPI font, AnnotationHLAPI containerAnnotation)
public AnnotationGraphicsHLAPI(AnnotationHLAPI containerAnnotation)
public AnnotationGraphicsHLAPI(AnnotationGraphics lowLevelAPI)
public AnnotationGraphics getContainedItem()
getContainedItem
in interface HLAPIClass
public Offset getOffset()
public Fill getFill()
public Line getLine()
public Font getFont()
public Annotation getContainerAnnotation()
public OffsetHLAPI getOffsetHLAPI()
public FillHLAPI getFillHLAPI()
public LineHLAPI getLineHLAPI()
public FontHLAPI getFontHLAPI()
public AnnotationHLAPI getContainerAnnotationHLAPI()
public void setOffsetHLAPI(OffsetHLAPI elem)
public void setFillHLAPI(FillHLAPI elem)
public void setLineHLAPI(LineHLAPI elem)
public void setFontHLAPI(FontHLAPI elem)
public void setContainerAnnotationHLAPI(AnnotationHLAPI elem)
public boolean equals(AnnotationGraphicsHLAPI 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.