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.EPropertiesHolderImpl
org.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_EDEFAULT
eAdapters, 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, setVisible
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, setVisible
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected 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 FigureImpl
public String getText()
getText
in interface Text
Text.setText(String)
,
VisualInterfacePackage.getText_Text()
public void setText(String newText)
setText
in interface Text
newText
- the new value of the 'Text' attribute.Text.getText()
public Alignment getLabelAlignment()
getLabelAlignment
in interface Text
Alignment
,
Text.setLabelAlignment(Alignment)
,
VisualInterfacePackage.getText_LabelAlignment()
public void setLabelAlignment(Alignment newLabelAlignment)
setLabelAlignment
in interface Text
newLabelAlignment
- the new value of the 'Label Alignment' attribute.Alignment
,
Text.getLabelAlignment()
public Alignment getIconAlignment()
getIconAlignment
in interface Text
Alignment
,
Text.setIconAlignment(Alignment)
,
VisualInterfacePackage.getText_IconAlignment()
public void setIconAlignment(Alignment newIconAlignment)
setIconAlignment
in interface Text
newIconAlignment
- the new value of the 'Icon Alignment' attribute.Alignment
,
Text.getIconAlignment()
public Alignment getTextAlignment()
getTextAlignment
in interface Text
Alignment
,
Text.setTextAlignment(Alignment)
,
VisualInterfacePackage.getText_TextAlignment()
public void setTextAlignment(Alignment newTextAlignment)
setTextAlignment
in interface Text
newTextAlignment
- the new value of the 'Text Alignment' attribute.Alignment
,
Text.getTextAlignment()
public Orientation getTextPlacement()
getTextPlacement
in interface Text
Orientation
,
Text.setTextPlacement(Orientation)
,
VisualInterfacePackage.getText_TextPlacement()
public void setTextPlacement(Orientation newTextPlacement)
setTextPlacement
in interface Text
newTextPlacement
- the new value of the 'Text Placement' attribute.Orientation
,
Text.getTextPlacement()
public String getFontName()
getFontName
in interface Text
Text.setFontName(String)
,
VisualInterfacePackage.getText_FontName()
public void setFontName(String newFontName)
setFontName
in interface Text
newFontName
- the new value of the 'Font Name' attribute.Text.getFontName()
public int getFontSize()
getFontSize
in interface Text
Text.setFontSize(int)
,
VisualInterfacePackage.getText_FontSize()
public void setFontSize(int newFontSize)
setFontSize
in interface Text
newFontSize
- the new value of the 'Font Size' attribute.Text.getFontSize()
public boolean isFontBold()
isFontBold
in interface Text
Text.setFontBold(boolean)
,
VisualInterfacePackage.getText_FontBold()
public void setFontBold(boolean newFontBold)
setFontBold
in interface Text
newFontBold
- the new value of the 'Font Bold' attribute.Text.isFontBold()
public boolean isFontItalic()
isFontItalic
in interface Text
Text.setFontItalic(boolean)
,
VisualInterfacePackage.getText_FontItalic()
public void setFontItalic(boolean newFontItalic)
setFontItalic
in interface Text
newFontItalic
- the new value of the 'Font Italic' attribute.Text.isFontItalic()
public Double getAlpha()
getAlpha
in interface Text
Text.setAlpha(Double)
,
VisualInterfacePackage.getText_Alpha()
public void setAlpha(Double newAlpha)
setAlpha
in interface Text
newAlpha
- 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.InternalEObject
eGet
in class FigureImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class FigureImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class FigureImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class FigureImpl
public String toString()
toString
in class FigureImpl
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.