public interface Text extends Figure
The following features are supported:
VisualInterfacePackage.getText()| Modifier and Type | Method and Description |
|---|---|
Double |
getAlpha()
Returns the value of the 'Alpha' attribute.
|
String |
getFontName()
Returns the value of the 'Font Name' attribute.
|
int |
getFontSize()
Returns the value of the 'Font Size' attribute.
|
Alignment |
getIconAlignment()
Returns the value of the 'Icon Alignment' attribute.
|
Alignment |
getLabelAlignment()
Returns the value of the 'Label Alignment' attribute.
|
String |
getText()
Returns the value of the 'Text' attribute.
|
Alignment |
getTextAlignment()
Returns the value of the 'Text Alignment' attribute.
|
Orientation |
getTextPlacement()
Returns the value of the 'Text Placement' attribute.
|
boolean |
isFontBold()
Returns the value of the 'Font Bold' attribute.
|
boolean |
isFontItalic()
Returns the value of the 'Font Italic' attribute.
|
void |
setAlpha(Double value)
Sets the value of the '
Alpha' attribute. |
void |
setFontBold(boolean value)
Sets the value of the '
Font Bold' attribute. |
void |
setFontItalic(boolean value)
Sets the value of the '
Font Italic' attribute. |
void |
setFontName(String value)
Sets the value of the '
Font Name' attribute. |
void |
setFontSize(int value)
Sets the value of the '
Font Size' attribute. |
void |
setIconAlignment(Alignment value)
Sets the value of the '
Icon Alignment' attribute. |
void |
setLabelAlignment(Alignment value)
Sets the value of the '
Label Alignment' attribute. |
void |
setText(String value)
Sets the value of the '
Text' attribute. |
void |
setTextAlignment(Alignment value)
Sets the value of the '
Text Alignment' attribute. |
void |
setTextPlacement(Orientation value)
Sets the value of the '
Text Placement' attribute. |
getBackgroundColor, getBorder, getCursor, getForegroundColor, getOnClick, getOnDoubleClick, getOnMouseDrag, getOnMouseHover, getOnMouseIn, getOnMouseMove, getOnMouseOut, getOpaque, getSize, getToolTip, isVisible, setBackgroundColor, setBorder, setCursor, setForegroundColor, setOnClick, setOnDoubleClick, setOnMouseDrag, setOnMouseHover, setOnMouseIn, setOnMouseMove, setOnMouseOut, setOpaque, setSize, setToolTip, setVisibleString getText()
If the meaning of the 'Text' attribute isn't clear, there really should be more of a description here...
setText(String),
VisualInterfacePackage.getText_Text()void setText(String value)
Text' attribute.
value - the new value of the 'Text' attribute.getText()Alignment getLabelAlignment()
"CENTER".
The literals are from the enumeration Alignment.
If the meaning of the 'Label Alignment' attribute isn't clear, there really should be more of a description here...
Alignment,
setLabelAlignment(Alignment),
VisualInterfacePackage.getText_LabelAlignment()void setLabelAlignment(Alignment value)
Label Alignment' attribute.
value - the new value of the 'Label Alignment' attribute.Alignment,
getLabelAlignment()Alignment getIconAlignment()
"CENTER".
The literals are from the enumeration Alignment.
If the meaning of the 'Icon Alignment' attribute isn't clear, there really should be more of a description here...
Alignment,
setIconAlignment(Alignment),
VisualInterfacePackage.getText_IconAlignment()void setIconAlignment(Alignment value)
Icon Alignment' attribute.
value - the new value of the 'Icon Alignment' attribute.Alignment,
getIconAlignment()Alignment getTextAlignment()
"CENTER".
The literals are from the enumeration Alignment.
If the meaning of the 'Text Alignment' attribute isn't clear, there really should be more of a description here...
Alignment,
setTextAlignment(Alignment),
VisualInterfacePackage.getText_TextAlignment()void setTextAlignment(Alignment value)
Text Alignment' attribute.
value - the new value of the 'Text Alignment' attribute.Alignment,
getTextAlignment()Orientation getTextPlacement()
"EAST".
The literals are from the enumeration Orientation.
If the meaning of the 'Text Placement' attribute isn't clear, there really should be more of a description here...
Orientation,
setTextPlacement(Orientation),
VisualInterfacePackage.getText_TextPlacement()void setTextPlacement(Orientation value)
Text Placement' attribute.
value - the new value of the 'Text Placement' attribute.Orientation,
getTextPlacement()String getFontName()
If the meaning of the 'Font Name' attribute isn't clear, there really should be more of a description here...
setFontName(String),
VisualInterfacePackage.getText_FontName()void setFontName(String value)
Font Name' attribute.
value - the new value of the 'Font Name' attribute.getFontName()int getFontSize()
If the meaning of the 'Font Size' attribute isn't clear, there really should be more of a description here...
setFontSize(int),
VisualInterfacePackage.getText_FontSize()void setFontSize(int value)
Font Size' attribute.
value - the new value of the 'Font Size' attribute.getFontSize()boolean isFontBold()
"false".
If the meaning of the 'Font Bold' attribute isn't clear, there really should be more of a description here...
setFontBold(boolean),
VisualInterfacePackage.getText_FontBold()void setFontBold(boolean value)
Font Bold' attribute.
value - the new value of the 'Font Bold' attribute.isFontBold()boolean isFontItalic()
"false".
If the meaning of the 'Font Italic' attribute isn't clear, there really should be more of a description here...
setFontItalic(boolean),
VisualInterfacePackage.getText_FontItalic()void setFontItalic(boolean value)
Font Italic' attribute.
value - the new value of the 'Font Italic' attribute.isFontItalic()Double getAlpha()
If the meaning of the 'Alpha' attribute isn't clear, there really should be more of a description here...
setAlpha(Double),
VisualInterfacePackage.getText_Alpha()void setAlpha(Double value)
Alpha' attribute.
value - the new value of the 'Alpha' attribute.getAlpha()Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.