|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Font Style'.
The font style is a style to be installed on views with text
The following features are supported:
NotationPackage.getFontStyle()
Method Summary | |
int |
getFontColor()
Returns the value of the 'Font Color' attribute. |
int |
getFontHeight()
Returns the value of the 'Font Height' attribute. |
String |
getFontName()
Returns the value of the 'Font Name' attribute. |
boolean |
isBold()
Returns the value of the 'Bold' attribute. |
boolean |
isItalic()
Returns the value of the 'Italic' attribute. |
boolean |
isStrikeThrough()
Returns the value of the 'Strike Through' attribute. |
boolean |
isUnderline()
Returns the value of the 'Underline' attribute. |
void |
setBold(boolean value)
Sets the value of the ' Bold ' attribute |
void |
setFontColor(int value)
Sets the value of the ' Font Color ' attribute |
void |
setFontHeight(int value)
Sets the value of the ' Font Height ' attribute |
void |
setFontName(String value)
Sets the value of the ' Font Name ' attribute |
void |
setItalic(boolean value)
Sets the value of the ' Italic ' attribute |
void |
setStrikeThrough(boolean value)
Sets the value of the ' Strike Through ' attribute |
void |
setUnderline(boolean value)
Sets the value of the ' Underline ' 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 String getFontName()
"Tahoma"
.
The fontName property specified the font typeface name
setFontName(String)
,
NotationPackage.getFontStyle_FontName()
public void setFontName(String value)
Font Name
' attribute.
The fontName property specifies the font typeface name
value
- the new value of the 'Font Name' attribute.getFontName()
public int getFontHeight()
"9"
.
The fontHeight property specifies the font size
setFontHeight(int)
,
NotationPackage.getFontStyle_FontHeight()
public void setFontHeight(int value)
Font Height
' attribute.
The fontHeight property specifies the font size
value
- the new value of the 'Font Height' attribute.getFontHeight()
public boolean isBold()
"false"
.
setBold(boolean)
,
NotationPackage.getFontStyle_Bold()
public void setBold(boolean value)
Bold
' attribute.
value
- the new value of the 'Bold' attribute.isBold()
public boolean isItalic()
"false"
.
setItalic(boolean)
,
NotationPackage.getFontStyle_Italic()
public void setItalic(boolean value)
Italic
' attribute.
value
- the new value of the 'Italic' attribute.isItalic()
public boolean isUnderline()
"false"
.
setUnderline(boolean)
,
NotationPackage.getFontStyle_Underline()
public void setUnderline(boolean value)
Underline
' attribute.
value
- the new value of the 'Underline' attribute.isUnderline()
public boolean isStrikeThrough()
"false"
.
setStrikeThrough(boolean)
,
NotationPackage.getFontStyle_StrikeThrough()
public void setStrikeThrough(boolean value)
Strike Through
' attribute.
value
- the new value of the 'Strike Through' attribute.isStrikeThrough()
public int getFontColor()
"0"
.
The font color is the color used in painting the texts inside node visuals
setFontColor(int)
,
NotationPackage.getFontStyle_FontColor()
public void setFontColor(int value)
Font Color
' attribute.
The font color is the color used in painting the texts inside node visuals
value
- the new value of the 'Font Color' attribute.getFontColor()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.