|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Font Definition'. This type holds all font-related information.
The following features are supported:
AttributePackage.getFontDefinition()| Method Summary | |
TextAlignment |
getAlignment()
Returns the value of the 'Alignment' containment reference. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
double |
getRotation()
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 |
isSetBold()
Returns whether the value of the ' Bold' attribute is set. |
boolean |
isSetItalic()
Returns whether the value of the ' Italic' attribute is set. |
boolean |
isSetRotation()
Returns whether the value of the ' Rotation' attribute is set. |
boolean |
isSetSize()
Returns whether the value of the ' Size' attribute is set. |
boolean |
isSetStrikethrough()
Returns whether the value of the ' Strikethrough' attribute is set. |
boolean |
isSetUnderline()
Returns whether the value of the ' Underline' attribute is set. |
boolean |
isSetWordWrap()
Returns whether the value of the ' Word Wrap' attribute is set. |
boolean |
isStrikethrough()
Returns the value of the 'Strikethrough' attribute. |
boolean |
isUnderline()
Returns the value of the 'Underline' attribute. |
boolean |
isWordWrap()
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 |
setName(java.lang.String value)
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 |
unsetBold()
Unsets the value of the ' Bold' attribute. |
void |
unsetItalic()
Unsets the value of the ' Italic' attribute. |
void |
unsetRotation()
Unsets the value of the ' Rotation' attribute. |
void |
unsetSize()
Unsets the value of the ' Size' attribute. |
void |
unsetStrikethrough()
Unsets the value of the ' Strikethrough' attribute. |
void |
unsetUnderline()
Unsets the value of the ' Underline' attribute. |
void |
unsetWordWrap()
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
public java.lang.String getName()
setName(String),
AttributePackage.getFontDefinition_Name()public void setName(java.lang.String value)
Name' attribute.
Sets the font name.
value - the new value of the 'Name' attribute.getName()public float getSize()
isSetSize(),
unsetSize(),
setSize(float),
AttributePackage.getFontDefinition_Size()public void setSize(float value)
Size' attribute.
Sets the font size.
value - the new value of the 'Size' attribute.isSetSize(),
unsetSize(),
getSize()public void unsetSize()
Size' attribute.
isSetSize(),
getSize(),
setSize(float)public boolean isSetSize()
Size' attribute is set.
unsetSize(),
getSize(),
setSize(float)public boolean isBold()
isSetBold(),
unsetBold(),
setBold(boolean),
AttributePackage.getFontDefinition_Bold()public void setBold(boolean value)
Bold' attribute.
Gets whether the font is to be in bold.
value - the new value of the 'Bold' attribute.isSetBold(),
unsetBold(),
isBold()public void unsetBold()
Bold' attribute.
isSetBold(),
isBold(),
setBold(boolean)public boolean isSetBold()
Bold' attribute is set.
unsetBold(),
isBold(),
setBold(boolean)public boolean isItalic()
isSetItalic(),
unsetItalic(),
setItalic(boolean),
AttributePackage.getFontDefinition_Italic()public void setItalic(boolean value)
Italic' attribute.
Sets whether the font is to be rendered in italics.
value - the new value of the 'Italic' attribute.isSetItalic(),
unsetItalic(),
isItalic()public void unsetItalic()
Italic' attribute.
isSetItalic(),
isItalic(),
setItalic(boolean)public boolean isSetItalic()
Italic' attribute is set.
unsetItalic(),
isItalic(),
setItalic(boolean)public boolean isStrikethrough()
isSetStrikethrough(),
unsetStrikethrough(),
setStrikethrough(boolean),
AttributePackage.getFontDefinition_Strikethrough()public void setStrikethrough(boolean value)
Strikethrough' attribute.
Sets whether the font is to be rendered with strikethrough.
value - the new value of the 'Strikethrough' attribute.isSetStrikethrough(),
unsetStrikethrough(),
isStrikethrough()public void unsetStrikethrough()
Strikethrough' attribute.
isSetStrikethrough(),
isStrikethrough(),
setStrikethrough(boolean)public boolean isSetStrikethrough()
Strikethrough' attribute is set.
unsetStrikethrough(),
isStrikethrough(),
setStrikethrough(boolean)public boolean isUnderline()
isSetUnderline(),
unsetUnderline(),
setUnderline(boolean),
AttributePackage.getFontDefinition_Underline()public void setUnderline(boolean value)
Underline' attribute. Sets whether the font is to be underlined.
value - the new value of the 'Underline' attribute.isSetUnderline(),
unsetUnderline(),
isUnderline()public void unsetUnderline()
Underline' attribute.
isSetUnderline(),
isUnderline(),
setUnderline(boolean)public boolean isSetUnderline()
Underline' attribute is set.
unsetUnderline(),
isUnderline(),
setUnderline(boolean)public boolean isWordWrap()
isSetWordWrap(),
unsetWordWrap(),
setWordWrap(boolean),
AttributePackage.getFontDefinition_WordWrap()public void setWordWrap(boolean value)
Word Wrap' attribute. Sets whether the word wrapping is enabled.
value - the new value of the 'Word Wrap' attribute.isSetWordWrap(),
unsetWordWrap(),
isWordWrap()public void unsetWordWrap()
Word Wrap' attribute.
isSetWordWrap(),
isWordWrap(),
setWordWrap(boolean)public boolean isSetWordWrap()
Word Wrap' attribute is set.
unsetWordWrap(),
isWordWrap(),
setWordWrap(boolean)public TextAlignment getAlignment()
setAlignment(TextAlignment),
AttributePackage.getFontDefinition_Alignment()public void setAlignment(TextAlignment value)
Alignment' containment reference.
Sets the text alignment for the font.
value - the new value of the 'Alignment' containment reference.getAlignment()public double getRotation()
isSetRotation(),
unsetRotation(),
setRotation(double),
AttributePackage.getFontDefinition_Rotation()public void setRotation(double value)
Rotation' attribute. Sets the text rotation angle (in degrees).
value - the new value of the 'Rotation' attribute.isSetRotation(),
unsetRotation(),
getRotation()public void unsetRotation()
Rotation' attribute.
isSetRotation(),
getRotation(),
setRotation(double)public boolean isSetRotation()
Rotation' attribute is set.
unsetRotation(),
getRotation(),
setRotation(double)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||