public class TextImpl extends FigureImpl implements Text
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Field and Description |
|---|---|
protected Double |
alpha
The cached value of the '
Alpha' attribute. |
protected static Double |
ALPHA_EDEFAULT
The default value of the '
Alpha' attribute. |
protected static boolean |
FONT_BOLD_EDEFAULT
The default value of the '
Font Bold' attribute. |
protected static boolean |
FONT_ITALIC_EDEFAULT
The default value of the '
Font Italic' attribute. |
protected static String |
FONT_NAME_EDEFAULT
The default value of the '
Font Name' attribute. |
protected static int |
FONT_SIZE_EDEFAULT
The default value of the '
Font Size' attribute. |
protected boolean |
fontBold
The cached value of the '
Font Bold' attribute. |
protected boolean |
fontItalic
The cached value of the '
Font Italic' attribute. |
protected String |
fontName
The cached value of the '
Font Name' attribute. |
protected int |
fontSize
The cached value of the '
Font Size' attribute. |
protected static Alignment |
ICON_ALIGNMENT_EDEFAULT
The default value of the '
Icon Alignment' attribute. |
protected Alignment |
iconAlignment
The cached value of the '
Icon Alignment' attribute. |
protected static Alignment |
LABEL_ALIGNMENT_EDEFAULT
The default value of the '
Label Alignment' attribute. |
protected Alignment |
labelAlignment
The cached value of the '
Label Alignment' attribute. |
protected String |
text
The cached value of the '
Text' attribute. |
protected static Alignment |
TEXT_ALIGNMENT_EDEFAULT
The default value of the '
Text Alignment' attribute. |
protected static String |
TEXT_EDEFAULT
The default value of the '
Text' attribute. |
protected static Orientation |
TEXT_PLACEMENT_EDEFAULT
The default value of the '
Text Placement' attribute. |
protected Alignment |
textAlignment
The cached value of the '
Text Alignment' attribute. |
protected Orientation |
textPlacement
The cached value of the '
Text Placement' attribute. |
BACKGROUND_COLOR_EDEFAULT, backgroundColor, border, BORDER_EDEFAULT, cursor, FOREGROUND_COLOR_EDEFAULT, foregroundColor, name, NAME_EDEFAULT, ON_CLICK_EDEFAULT, ON_DOUBLE_CLICK_EDEFAULT, ON_MOUSE_DRAG_EDEFAULT, ON_MOUSE_HOVER_EDEFAULT, ON_MOUSE_IN_EDEFAULT, ON_MOUSE_MOVE_EDEFAULT, ON_MOUSE_OUT_EDEFAULT, onClick, onDoubleClick, onMouseDrag, onMouseHover, onMouseIn, onMouseMove, onMouseOut, opaque, OPAQUE_EDEFAULT, size, TOOL_TIP_EDEFAULT, toolTip, visible, VISIBLE_EDEFAULTeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
TextImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
Double |
getAlpha() |
String |
getFontName() |
int |
getFontSize() |
Alignment |
getIconAlignment() |
Alignment |
getLabelAlignment() |
String |
getText() |
Alignment |
getTextAlignment() |
Orientation |
getTextPlacement() |
boolean |
isFontBold() |
boolean |
isFontItalic() |
void |
setAlpha(Double newAlpha) |
void |
setFontBold(boolean newFontBold) |
void |
setFontItalic(boolean newFontItalic) |
void |
setFontName(String newFontName) |
void |
setFontSize(int newFontSize) |
void |
setIconAlignment(Alignment newIconAlignment) |
void |
setLabelAlignment(Alignment newLabelAlignment) |
void |
setText(String newText) |
void |
setTextAlignment(Alignment newTextAlignment) |
void |
setTextPlacement(Orientation newTextPlacement) |
String |
toString() |
basicGetCursor, basicSetSize, eInverseRemove, getBackgroundColor, getBorder, getCursor, getForegroundColor, getName, getOnClick, getOnDoubleClick, getOnMouseDrag, getOnMouseHover, getOnMouseIn, getOnMouseMove, getOnMouseOut, getOpaque, getSize, getToolTip, isVisible, setBackgroundColor, setBorder, setCursor, setForegroundColor, setName, setOnClick, setOnDoubleClick, setOnMouseDrag, setOnMouseHover, setOnMouseIn, setOnMouseMove, setOnMouseOut, setOpaque, setSize, setToolTip, setVisibleeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBackgroundColor, 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, setVisibleeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected static final String TEXT_EDEFAULT
Text' attribute.
getText()protected static final Alignment LABEL_ALIGNMENT_EDEFAULT
Label Alignment' attribute.
getLabelAlignment()protected Alignment labelAlignment
Label Alignment' attribute.
getLabelAlignment()protected static final Alignment ICON_ALIGNMENT_EDEFAULT
Icon Alignment' attribute.
getIconAlignment()protected Alignment iconAlignment
Icon Alignment' attribute.
getIconAlignment()protected static final Alignment TEXT_ALIGNMENT_EDEFAULT
Text Alignment' attribute.
getTextAlignment()protected Alignment textAlignment
Text Alignment' attribute.
getTextAlignment()protected static final Orientation TEXT_PLACEMENT_EDEFAULT
Text Placement' attribute.
getTextPlacement()protected Orientation textPlacement
Text Placement' attribute.
getTextPlacement()protected static final String FONT_NAME_EDEFAULT
Font Name' attribute.
getFontName()protected String fontName
Font Name' attribute.
getFontName()protected static final int FONT_SIZE_EDEFAULT
Font Size' attribute.
getFontSize(),
Constant Field Valuesprotected int fontSize
Font Size' attribute.
getFontSize()protected static final boolean FONT_BOLD_EDEFAULT
Font Bold' attribute.
isFontBold(),
Constant Field Valuesprotected boolean fontBold
Font Bold' attribute.
isFontBold()protected static final boolean FONT_ITALIC_EDEFAULT
Font Italic' attribute.
isFontItalic(),
Constant Field Valuesprotected boolean fontItalic
Font Italic' attribute.
isFontItalic()protected static final Double ALPHA_EDEFAULT
Alpha' attribute.
getAlpha()protected Double alpha
Alpha' attribute.
getAlpha()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class FigureImplpublic String getText()
getText in interface TextText.setText(String),
VisualInterfacePackage.getText_Text()public void setText(String newText)
setText in interface TextnewText - the new value of the 'Text' attribute.Text.getText()public Alignment getLabelAlignment()
getLabelAlignment in interface TextAlignment,
Text.setLabelAlignment(Alignment),
VisualInterfacePackage.getText_LabelAlignment()public void setLabelAlignment(Alignment newLabelAlignment)
setLabelAlignment in interface TextnewLabelAlignment - the new value of the 'Label Alignment' attribute.Alignment,
Text.getLabelAlignment()public Alignment getIconAlignment()
getIconAlignment in interface TextAlignment,
Text.setIconAlignment(Alignment),
VisualInterfacePackage.getText_IconAlignment()public void setIconAlignment(Alignment newIconAlignment)
setIconAlignment in interface TextnewIconAlignment - the new value of the 'Icon Alignment' attribute.Alignment,
Text.getIconAlignment()public Alignment getTextAlignment()
getTextAlignment in interface TextAlignment,
Text.setTextAlignment(Alignment),
VisualInterfacePackage.getText_TextAlignment()public void setTextAlignment(Alignment newTextAlignment)
setTextAlignment in interface TextnewTextAlignment - the new value of the 'Text Alignment' attribute.Alignment,
Text.getTextAlignment()public Orientation getTextPlacement()
getTextPlacement in interface TextOrientation,
Text.setTextPlacement(Orientation),
VisualInterfacePackage.getText_TextPlacement()public void setTextPlacement(Orientation newTextPlacement)
setTextPlacement in interface TextnewTextPlacement - the new value of the 'Text Placement' attribute.Orientation,
Text.getTextPlacement()public String getFontName()
getFontName in interface TextText.setFontName(String),
VisualInterfacePackage.getText_FontName()public void setFontName(String newFontName)
setFontName in interface TextnewFontName - the new value of the 'Font Name' attribute.Text.getFontName()public int getFontSize()
getFontSize in interface TextText.setFontSize(int),
VisualInterfacePackage.getText_FontSize()public void setFontSize(int newFontSize)
setFontSize in interface TextnewFontSize - the new value of the 'Font Size' attribute.Text.getFontSize()public boolean isFontBold()
isFontBold in interface TextText.setFontBold(boolean),
VisualInterfacePackage.getText_FontBold()public void setFontBold(boolean newFontBold)
setFontBold in interface TextnewFontBold - the new value of the 'Font Bold' attribute.Text.isFontBold()public boolean isFontItalic()
isFontItalic in interface TextText.setFontItalic(boolean),
VisualInterfacePackage.getText_FontItalic()public void setFontItalic(boolean newFontItalic)
setFontItalic in interface TextnewFontItalic - the new value of the 'Font Italic' attribute.Text.isFontItalic()public Double getAlpha()
getAlpha in interface TextText.setAlpha(Double),
VisualInterfacePackage.getText_Alpha()public void setAlpha(Double newAlpha)
setAlpha in interface TextnewAlpha - the new value of the 'Alpha' attribute.Text.getAlpha()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class FigureImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class FigureImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class FigureImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class FigureImplpublic String toString()
toString in class FigureImplCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.