Interface FontDefinition
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
FontDefinitionImpl
A representation of the model object 'Font
Definition'.
FontDefinition holds all information about a certain
font used by chart.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Alignment' containment reference.getName()
Returns the value of the 'Name' attribute.double
Returns the value of the 'Rotation' attribute.float
getSize()
Returns the value of the 'Size' attribute.boolean
isBold()
Returns the value of the 'Bold' attribute.boolean
isItalic()
Returns the value of the 'Italic' attribute.boolean
Returns whether the value of the 'Bold
' attribute is set.boolean
Returns whether the value of the 'Italic
' attribute is set.boolean
Returns whether the value of the 'Rotation
' attribute is set.boolean
Returns whether the value of the 'Size
' attribute is set.boolean
Returns whether the value of the 'Strikethrough
' attribute is set.boolean
Returns whether the value of the 'Underline
' attribute is set.boolean
Returns whether the value of the 'Word Wrap
' attribute is set.boolean
Returns the value of the 'Strikethrough' attribute.boolean
Returns the value of the 'Underline' attribute.boolean
Returns the value of the 'Word Wrap' attribute.void
setAlignment
(TextAlignment value) Sets the value of the 'Alignment
' containment reference.void
setBold
(boolean value) Sets the value of the 'Bold
' attribute.void
setItalic
(boolean value) Sets the value of the 'Italic
' attribute.void
Sets the value of the 'Name
' attribute.void
setRotation
(double value) Sets the value of the 'Rotation
' attribute.void
setSize
(float value) Sets the value of the 'Size
' attribute.void
setStrikethrough
(boolean value) Sets the value of the 'Strikethrough
' attribute.void
setUnderline
(boolean value) Sets the value of the 'Underline
' attribute.void
setWordWrap
(boolean value) Sets the value of the 'Word Wrap
' attribute.void
Unsets the value of the 'Bold
' attribute.void
Unsets the value of the 'Italic
' attribute.void
Unsets the value of the 'Rotation
' attribute.void
Unsets the value of the 'Size
' attribute.void
Unsets the value of the 'Strikethrough
' attribute.void
Unsets the value of the 'Underline
' attribute.void
Unsets the value of the 'Word Wrap
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getName
String getName()Returns the value of the 'Name' attribute. Gets the font name. Holds the font name.- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name
' attribute. Sets the font name.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-
getSize
float getSize()Returns the value of the 'Size' attribute. Gets the font size. Holds the font size. This can be a floating point number.- Returns:
- the value of the 'Size' attribute.
- See Also:
-
setSize
void setSize(float value) Sets the value of the 'Size
' attribute. Sets the font size.- Parameters:
value
- the new value of the 'Size' attribute.- See Also:
-
unsetSize
void unsetSize()Unsets the value of the 'Size
' attribute.- See Also:
-
isSetSize
boolean isSetSize()Returns whether the value of the 'Size
' attribute is set.- Returns:
- whether the value of the 'Size' attribute is set.
- See Also:
-
isBold
boolean isBold()Returns the value of the 'Bold' attribute. Gets whether the font is to be in bold. This specifies if the font is to be in bold.- Returns:
- the value of the 'Bold' attribute.
- See Also:
-
setBold
void setBold(boolean value) Sets the value of the 'Bold
' attribute. Gets whether the font is to be in bold.- Parameters:
value
- the new value of the 'Bold' attribute.- See Also:
-
unsetBold
void unsetBold()Unsets the value of the 'Bold
' attribute.- See Also:
-
isSetBold
boolean isSetBold()Returns whether the value of the 'Bold
' attribute is set.- Returns:
- whether the value of the 'Bold' attribute is set.
- See Also:
-
isItalic
boolean isItalic()Returns the value of the 'Italic' attribute. Gets whether the font is to be rendered in italics. This specifies if the font is to be in italics.- Returns:
- the value of the 'Italic' attribute.
- See Also:
-
setItalic
void setItalic(boolean value) Sets the value of the 'Italic
' attribute. Sets whether the font is to be rendered in italics.- Parameters:
value
- the new value of the 'Italic' attribute.- See Also:
-
unsetItalic
void unsetItalic()Unsets the value of the 'Italic
' attribute.- See Also:
-
isSetItalic
boolean isSetItalic()Returns whether the value of the 'Italic
' attribute is set.- Returns:
- whether the value of the 'Italic' attribute is set.
- See Also:
-
isStrikethrough
boolean isStrikethrough()Returns the value of the 'Strikethrough' attribute. Gets whether the font is to be rendered with strikethrough. This specifies if the font is to be in strikethrough.- Returns:
- the value of the 'Strikethrough' attribute.
- See Also:
-
setStrikethrough
void setStrikethrough(boolean value) Sets the value of the 'Strikethrough
' attribute. Sets whether the font is to be rendered with strikethrough.- Parameters:
value
- the new value of the 'Strikethrough' attribute.- See Also:
-
unsetStrikethrough
void unsetStrikethrough()Unsets the value of the 'Strikethrough
' attribute. -
isSetStrikethrough
boolean isSetStrikethrough()Returns whether the value of the 'Strikethrough
' attribute is set.- Returns:
- whether the value of the 'Strikethrough' attribute is set.
- See Also:
-
isUnderline
boolean isUnderline()Returns the value of the 'Underline' attribute. Gets whether the font is to be underlined. This specifies if the font is to be underlined.- Returns:
- the value of the 'Underline' attribute.
- See Also:
-
setUnderline
void setUnderline(boolean value) Sets the value of the 'Underline
' attribute. Sets whether the font is to be underlined.- Parameters:
value
- the new value of the 'Underline' attribute.- See Also:
-
unsetUnderline
void unsetUnderline()Unsets the value of the 'Underline
' attribute. -
isSetUnderline
boolean isSetUnderline()Returns whether the value of the 'Underline
' attribute is set.- Returns:
- whether the value of the 'Underline' attribute is set.
- See Also:
-
isWordWrap
boolean isWordWrap()Returns the value of the 'Word Wrap' attribute. Gets whether the word wrapping is enabled. Indicates if wordwrapping is to be used.- Returns:
- the value of the 'Word Wrap' attribute.
- See Also:
-
setWordWrap
void setWordWrap(boolean value) Sets the value of the 'Word Wrap
' attribute. Sets whether the word wrapping is enabled.- Parameters:
value
- the new value of the 'Word Wrap' attribute.- See Also:
-
unsetWordWrap
void unsetWordWrap()Unsets the value of the 'Word Wrap
' attribute.- See Also:
-
isSetWordWrap
boolean isSetWordWrap()Returns whether the value of the 'Word Wrap
' attribute is set.- Returns:
- whether the value of the 'Word Wrap' attribute is set.
- See Also:
-
getAlignment
TextAlignment getAlignment()Returns the value of the 'Alignment' containment reference. Gets the text alignment for the font. Defines the alignment to be used to render the text in the element.- Returns:
- the value of the 'Alignment' containment reference.
- See Also:
-
setAlignment
Sets the value of the 'Alignment
' containment reference. Sets the text alignment for the font.- Parameters:
value
- the new value of the 'Alignment' containment reference.- See Also:
-
getRotation
double getRotation()Returns the value of the 'Rotation' attribute. Gets the text rotation angle (in degrees). Holds the angle (in degrees) through which the text is to be rotated while rendering.- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
void setRotation(double value) Sets the value of the 'Rotation
' attribute. Sets the text rotation angle (in degrees).- Parameters:
value
- the new value of the 'Rotation' attribute.- See Also:
-
unsetRotation
void unsetRotation()Unsets the value of the 'Rotation
' attribute.- See Also:
-
isSetRotation
boolean isSetRotation()Returns whether the value of the 'Rotation
' attribute is set.- Returns:
- whether the value of the 'Rotation' attribute is set.
- See Also:
-
copyInstance
FontDefinition copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-