Interface TextStyle
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TextStyleImpl
public interface TextStyle extends org.eclipse.emf.ecore.EObjectA representation of the model object 'Text Style'.- Since:
- 0.10
The following features are supported:
- See Also:
StylesPackage.getTextStyle()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColorgetBackground()Returns the value of the 'Background' reference.FontgetFont()Returns the value of the 'Font' reference.ColorgetForeground()Returns the value of the 'Foreground' reference.ColorgetStrikeoutColor()Returns the value of the 'Strikeout Color' reference.ColorgetUnderlineColor()Returns the value of the 'Underline Color' reference.UnderlineStylegetUnderlineStyle()Returns the value of the 'Underline Style' attribute.booleanisStrikeout()Returns the value of the 'Strikeout' attribute.booleanisUnderline()Returns the value of the 'Underline' attribute.voidsetBackground(Color value)Sets the value of the 'Background' reference.voidsetFont(Font value)Sets the value of the 'Font' reference.voidsetForeground(Color value)Sets the value of the 'Foreground' reference.voidsetStrikeout(boolean value)Sets the value of the 'Strikeout' attribute.voidsetStrikeoutColor(Color value)Sets the value of the 'Strikeout Color' reference.voidsetUnderline(boolean value)Sets the value of the 'Underline' attribute.voidsetUnderlineColor(Color value)Sets the value of the 'Underline Color' reference.voidsetUnderlineStyle(UnderlineStyle value)Sets the value of the 'Underline Style' attribute.
-
-
-
Method Detail
-
isUnderline
boolean isUnderline()
Returns the value of the 'Underline' attribute.If the meaning of the 'Underline' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Underline' attribute.
- See Also:
setUnderline(boolean),StylesPackage.getTextStyle_Underline()
-
setUnderline
void setUnderline(boolean value)
Sets the value of the 'Underline' attribute.- Parameters:
value- the new value of the 'Underline' attribute.- See Also:
isUnderline()
-
getUnderlineStyle
UnderlineStyle getUnderlineStyle()
Returns the value of the 'Underline Style' attribute. The literals are from the enumerationUnderlineStyle.If the meaning of the 'Underline Style' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Underline Style' attribute.
- See Also:
UnderlineStyle,setUnderlineStyle(UnderlineStyle),StylesPackage.getTextStyle_UnderlineStyle()
-
setUnderlineStyle
void setUnderlineStyle(UnderlineStyle value)
Sets the value of the 'Underline Style' attribute.- Parameters:
value- the new value of the 'Underline Style' attribute.- See Also:
UnderlineStyle,getUnderlineStyle()
-
isStrikeout
boolean isStrikeout()
Returns the value of the 'Strikeout' attribute.If the meaning of the 'Strikeout' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
setStrikeout(boolean),StylesPackage.getTextStyle_Strikeout()
-
setStrikeout
void setStrikeout(boolean value)
Sets the value of the 'Strikeout' attribute.- Parameters:
value- the new value of the 'Strikeout' attribute.- See Also:
isStrikeout()
-
getFont
Font getFont()
Returns the value of the 'Font' reference.If the meaning of the 'Font' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Font' reference.
- See Also:
setFont(Font),StylesPackage.getTextStyle_Font()
-
setFont
void setFont(Font value)
Sets the value of the 'Font' reference.- Parameters:
value- the new value of the 'Font' reference.- See Also:
getFont()
-
getForeground
Color getForeground()
Returns the value of the 'Foreground' reference.If the meaning of the 'Foreground' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Foreground' reference.
- See Also:
setForeground(Color),StylesPackage.getTextStyle_Foreground()
-
setForeground
void setForeground(Color value)
Sets the value of the 'Foreground' reference.- Parameters:
value- the new value of the 'Foreground' reference.- See Also:
getForeground()
-
getBackground
Color getBackground()
Returns the value of the 'Background' reference.If the meaning of the 'Background' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Background' reference.
- See Also:
setBackground(Color),StylesPackage.getTextStyle_Background()
-
setBackground
void setBackground(Color value)
Sets the value of the 'Background' reference.- Parameters:
value- the new value of the 'Background' reference.- See Also:
getBackground()
-
getUnderlineColor
Color getUnderlineColor()
Returns the value of the 'Underline Color' reference.If the meaning of the 'Underline Color' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Underline Color' reference.
- See Also:
setUnderlineColor(Color),StylesPackage.getTextStyle_UnderlineColor()
-
setUnderlineColor
void setUnderlineColor(Color value)
Sets the value of the 'Underline Color' reference.- Parameters:
value- the new value of the 'Underline Color' reference.- See Also:
getUnderlineColor()
-
getStrikeoutColor
Color getStrikeoutColor()
Returns the value of the 'Strikeout Color' reference.If the meaning of the 'Strikeout Color' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Strikeout Color' reference.
- See Also:
setStrikeoutColor(Color),StylesPackage.getTextStyle_StrikeoutColor()
-
setStrikeoutColor
void setStrikeoutColor(Color value)
Sets the value of the 'Strikeout Color' reference.- Parameters:
value- the new value of the 'Strikeout Color' reference.- See Also:
getStrikeoutColor()
-
-