public interface Font
extends org.eclipse.emf.ecore.EObject
The following features are supported:
HlcorestructurePackage.getFont()
Modifier and Type | Method and Description |
---|---|
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
set values to conform PNML document
|
FontAlign |
getAlign()
Returns the value of the 'Align' attribute.
|
AnnotationGraphics |
getContainerAnnotationGraphics()
Returns the value of the 'Container Annotation Graphics' container reference.
|
FontDecoration |
getDecoration()
Returns the value of the 'Decoration' attribute.
|
CSS2FontFamily |
getFamily()
Returns the value of the 'Family' attribute.
|
BigDecimal |
getRotation()
Returns the value of the 'Rotation' attribute
|
CSS2FontSize |
getSize()
Returns the value of the 'Size' attribute.
|
CSS2FontStyle |
getStyle()
Returns the value of the 'Style' attribute.
|
CSS2FontWeight |
getWeight()
Returns the value of the 'Weight' attribute.
|
void |
setAlign(FontAlign value)
Sets the value of the '
Align ' attribute |
void |
setContainerAnnotationGraphics(AnnotationGraphics value)
Sets the value of the '
Container Annotation Graphics ' container reference |
void |
setDecoration(FontDecoration value)
Sets the value of the '
Decoration ' attribute |
void |
setFamily(CSS2FontFamily value)
Sets the value of the '
Family ' attribute |
void |
setRotation(BigDecimal value)
Sets the value of the '
Rotation ' attribute |
void |
setSize(CSS2FontSize value)
Sets the value of the '
Size ' attribute |
void |
setStyle(CSS2FontStyle value)
Sets the value of the '
Style ' attribute |
void |
setWeight(CSS2FontWeight value)
Sets the value of the '
Weight ' attribute |
String |
toPNML()
Return the string containing the pnml output
|
void |
toPNML(FileChannel fc)
Write the PNML xml tree of this object into file
|
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics) |
FontAlign getAlign()
"left"
.
The literals are from the enumeration FontAlign
.
If the meaning of the 'Align' attribute isn't clear, there really should be more of a description here...
FontAlign
,
setAlign(FontAlign)
,
HlcorestructurePackage.getFont_Align()
void setAlign(FontAlign value)
Align
' attribute.
value
- the new value of the 'Align' attribute.FontAlign
,
getAlign()
FontDecoration getDecoration()
"underline"
.
The literals are from the enumeration FontDecoration
.
If the meaning of the 'Decoration' attribute isn't clear, there really should be more of a description here...
FontDecoration
,
setDecoration(FontDecoration)
,
HlcorestructurePackage.getFont_Decoration()
void setDecoration(FontDecoration value)
Decoration
' attribute.
value
- the new value of the 'Decoration' attribute.FontDecoration
,
getDecoration()
CSS2FontFamily getFamily()
"verdana"
.
The literals are from the enumeration CSS2FontFamily
.
If the meaning of the 'Family' attribute isn't clear, there really should be more of a description here...
CSS2FontFamily
,
setFamily(CSS2FontFamily)
,
HlcorestructurePackage.getFont_Family()
void setFamily(CSS2FontFamily value)
Family
' attribute.
value
- the new value of the 'Family' attribute.CSS2FontFamily
,
getFamily()
BigDecimal getRotation()
If the meaning of the 'Rotation' attribute isn't clear, there really should be more of a description here...
setRotation(BigDecimal)
,
HlcorestructurePackage.getFont_Rotation()
void setRotation(BigDecimal value)
Rotation
' attribute.
value
- the new value of the 'Rotation' attribute.getRotation()
CSS2FontSize getSize()
"small"
.
The literals are from the enumeration CSS2FontSize
.
If the meaning of the 'Size' attribute isn't clear, there really should be more of a description here...
CSS2FontSize
,
setSize(CSS2FontSize)
,
HlcorestructurePackage.getFont_Size()
void setSize(CSS2FontSize value)
Size
' attribute.
value
- the new value of the 'Size' attribute.CSS2FontSize
,
getSize()
CSS2FontStyle getStyle()
"normal"
.
The literals are from the enumeration CSS2FontStyle
.
If the meaning of the 'Style' attribute isn't clear, there really should be more of a description here...
CSS2FontStyle
,
setStyle(CSS2FontStyle)
,
HlcorestructurePackage.getFont_Style()
void setStyle(CSS2FontStyle value)
Style
' attribute.
value
- the new value of the 'Style' attribute.CSS2FontStyle
,
getStyle()
CSS2FontWeight getWeight()
CSS2FontWeight
.
If the meaning of the 'Weight' attribute isn't clear, there really should be more of a description here...
CSS2FontWeight
,
setWeight(CSS2FontWeight)
,
HlcorestructurePackage.getFont_Weight()
void setWeight(CSS2FontWeight value)
Weight
' attribute.
value
- the new value of the 'Weight' attribute.CSS2FontWeight
,
getWeight()
AnnotationGraphics getContainerAnnotationGraphics()
Font
'.
If the meaning of the 'Container Annotation Graphics' container reference isn't clear, there really should be more of a description here...
setContainerAnnotationGraphics(AnnotationGraphics)
,
HlcorestructurePackage.getFont_ContainerAnnotationGraphics()
,
AnnotationGraphics.getFont()
void setContainerAnnotationGraphics(AnnotationGraphics value)
Container Annotation Graphics
' container reference.
value
- the new value of the 'Container Annotation Graphics' container reference.getContainerAnnotationGraphics()
String toPNML()
void fromPNML(org.apache.axiom.om.OMElement subRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
void toPNML(FileChannel fc)
boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.