public class FontHLAPI extends Object implements HLAPIClass
Constructor and Description |
---|
FontHLAPI(AnnotationGraphicsHLAPI containerAnnotationGraphics)
This constructor give access to required stuff only (and container)
|
FontHLAPI(Font lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
FontHLAPI(FontAlignHLAPI align,
FontDecorationHLAPI decoration,
CSS2FontFamilyHLAPI family,
BigDecimal rotation,
CSS2FontSizeHLAPI size,
CSS2FontStyleHLAPI style,
CSS2FontWeightHLAPI weight)
this constructor allows you to set all 'settable' values
excepted container.
|
FontHLAPI(FontAlignHLAPI align,
FontDecorationHLAPI decoration,
CSS2FontFamilyHLAPI family,
BigDecimal rotation,
CSS2FontSizeHLAPI size,
CSS2FontStyleHLAPI style,
CSS2FontWeightHLAPI weight,
AnnotationGraphicsHLAPI containerAnnotationGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FontHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
FontAlign |
getAlign()
Return the encapsulate Low Level API object.
|
Font |
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.
|
FontDecoration |
getDecoration()
Return the encapsulate Low Level API object.
|
CSS2FontFamily |
getFamily()
Return the encapsulate Low Level API object.
|
BigDecimal |
getRotation()
Return the encapsulate Low Level API object.
|
CSS2FontSize |
getSize()
Return the encapsulate Low Level API object.
|
CSS2FontStyle |
getStyle()
Return the encapsulate Low Level API object.
|
CSS2FontWeight |
getWeight()
Return the encapsulate Low Level API object.
|
void |
setAlignHLAPI(FontAlign elem)
set Align
|
void |
setContainerAnnotationGraphicsHLAPI(AnnotationGraphicsHLAPI elem)
set ContainerAnnotationGraphics
|
void |
setDecorationHLAPI(FontDecoration elem)
set Decoration
|
void |
setFamilyHLAPI(CSS2FontFamily elem)
set Family
|
void |
setRotationHLAPI(BigDecimal elem)
set Rotation
|
void |
setSizeHLAPI(CSS2FontSize elem)
set Size
|
void |
setStyleHLAPI(CSS2FontStyle elem)
set Style
|
void |
setWeightHLAPI(CSS2FontWeight elem)
set Weight
|
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 FontHLAPI(FontAlignHLAPI align, FontDecorationHLAPI decoration, CSS2FontFamilyHLAPI family, BigDecimal rotation, CSS2FontSizeHLAPI size, CSS2FontStyleHLAPI style, CSS2FontWeightHLAPI weight)
public FontHLAPI(FontAlignHLAPI align, FontDecorationHLAPI decoration, CSS2FontFamilyHLAPI family, BigDecimal rotation, CSS2FontSizeHLAPI size, CSS2FontStyleHLAPI style, CSS2FontWeightHLAPI weight, AnnotationGraphicsHLAPI containerAnnotationGraphics)
public FontHLAPI(AnnotationGraphicsHLAPI containerAnnotationGraphics)
public FontHLAPI(Font lowLevelAPI)
public Font getContainedItem()
getContainedItem
in interface HLAPIClass
public FontAlign getAlign()
public FontDecoration getDecoration()
public CSS2FontFamily getFamily()
public BigDecimal getRotation()
public CSS2FontSize getSize()
public CSS2FontStyle getStyle()
public CSS2FontWeight getWeight()
public AnnotationGraphics getContainerAnnotationGraphics()
public AnnotationGraphicsHLAPI getContainerAnnotationGraphicsHLAPI()
public void setAlignHLAPI(FontAlign elem)
public void setDecorationHLAPI(FontDecoration elem)
public void setFamilyHLAPI(CSS2FontFamily elem)
public void setRotationHLAPI(BigDecimal elem)
public void setSizeHLAPI(CSS2FontSize elem)
public void setStyleHLAPI(CSS2FontStyle elem)
public void setWeightHLAPI(CSS2FontWeight elem)
public void setContainerAnnotationGraphicsHLAPI(AnnotationGraphicsHLAPI elem)
public boolean equals(FontHLAPI 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.