|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FontStyle
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. |
java.lang.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(java.lang.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 |
---|
java.lang.String getFontName()
"Tahoma"
.
The fontName property specified the font typeface name
setFontName(String)
,
NotationPackage.getFontStyle_FontName()
void setFontName(java.lang.String value)
Font Name
' attribute.
The fontName property specifies the font typeface name
value
- the new value of the 'Font Name' attribute.getFontName()
int getFontHeight()
"9"
.
The fontHeight property specifies the font size
setFontHeight(int)
,
NotationPackage.getFontStyle_FontHeight()
void setFontHeight(int value)
Font Height
' attribute.
The fontHeight property specifies the font size
value
- the new value of the 'Font Height' attribute.getFontHeight()
boolean isBold()
"false"
.
setBold(boolean)
,
NotationPackage.getFontStyle_Bold()
void setBold(boolean value)
Bold
' attribute.
value
- the new value of the 'Bold' attribute.isBold()
boolean isItalic()
"false"
.
setItalic(boolean)
,
NotationPackage.getFontStyle_Italic()
void setItalic(boolean value)
Italic
' attribute.
value
- the new value of the 'Italic' attribute.isItalic()
boolean isUnderline()
"false"
.
setUnderline(boolean)
,
NotationPackage.getFontStyle_Underline()
void setUnderline(boolean value)
Underline
' attribute.
value
- the new value of the 'Underline' attribute.isUnderline()
boolean isStrikeThrough()
"false"
.
setStrikeThrough(boolean)
,
NotationPackage.getFontStyle_StrikeThrough()
void setStrikeThrough(boolean value)
Strike Through
' attribute.
value
- the new value of the 'Strike Through' attribute.isStrikeThrough()
int getFontColor()
"0"
.
The font color is the color used in painting the texts inside node visuals
setFontColor(int)
,
NotationPackage.getFontStyle_FontColor()
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()
|
Runtime | |||||||||
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., Borland Software Corp., and others 2005,2006. All rights reserved.