public abstract class ShapeImpl extends FigureImpl implements Shape
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
alpha
The cached value of the '
Alpha' attribute. |
protected static java.lang.Double |
ALPHA_EDEFAULT
The default value of the '
Alpha' attribute. |
protected java.lang.Boolean |
antialias
The cached value of the '
Antialias' attribute. |
protected static java.lang.Boolean |
ANTIALIAS_EDEFAULT
The default value of the '
Antialias' attribute. |
protected boolean |
fill
The cached value of the '
Fill' attribute. |
protected static boolean |
FILL_EDEFAULT
The default value of the '
Fill' attribute. |
protected static float |
LINE_WIDTH_EDEFAULT
The default value of the '
Line Width' attribute. |
protected float |
lineWidth
The cached value of the '
Line Width' attribute. |
protected boolean |
outline
The cached value of the '
Outline' attribute. |
protected static boolean |
OUTLINE_EDEFAULT
The default value of the '
Outline' attribute. |
BACKGROUND_COLOR_EDEFAULT, backgroundColor, border, BORDER_EDEFAULT, cursor, FOREGROUND_COLOR_EDEFAULT, foregroundColor, name, NAME_EDEFAULT, ON_CLICK_EDEFAULT, ON_DOUBLE_CLICK_EDEFAULT, onClick, onDoubleClick, opaque, OPAQUE_EDEFAULT, size, TOOL_TIP_EDEFAULT, toolTip, visible, VISIBLE_EDEFAULT| Modifier | Constructor and Description |
|---|---|
protected |
ShapeImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.Double |
getAlpha() |
java.lang.Boolean |
getAntialias() |
float |
getLineWidth() |
boolean |
isFill() |
boolean |
isOutline() |
void |
setAlpha(java.lang.Double newAlpha) |
void |
setAntialias(java.lang.Boolean newAntialias) |
void |
setFill(boolean newFill) |
void |
setLineWidth(float newLineWidth) |
void |
setOutline(boolean newOutline) |
java.lang.String |
toString() |
basicGetCursor, basicSetSize, eInverseRemove, getBackgroundColor, getBorder, getCursor, getForegroundColor, getName, getOnClick, getOnDoubleClick, getOpaque, getSize, getToolTip, isVisible, setBackgroundColor, setBorder, setCursor, setForegroundColor, setName, setOnClick, setOnDoubleClick, setOpaque, setSize, setToolTip, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBackgroundColor, getBorder, getCursor, getForegroundColor, getOnClick, getOnDoubleClick, getOpaque, getSize, getToolTip, isVisible, setBackgroundColor, setBorder, setCursor, setForegroundColor, setOnClick, setOnDoubleClick, setOpaque, setSize, setToolTip, setVisibleprotected static final float LINE_WIDTH_EDEFAULT
Line Width' attribute.
getLineWidth(),
Constant Field Valuesprotected float lineWidth
Line Width' attribute.
getLineWidth()protected static final java.lang.Boolean ANTIALIAS_EDEFAULT
Antialias' attribute.
getAntialias()protected java.lang.Boolean antialias
Antialias' attribute.
getAntialias()protected static final java.lang.Double ALPHA_EDEFAULT
Alpha' attribute.
getAlpha()protected java.lang.Double alpha
Alpha' attribute.
getAlpha()protected static final boolean FILL_EDEFAULT
Fill' attribute.
isFill(),
Constant Field Valuesprotected static final boolean OUTLINE_EDEFAULT
Outline' attribute.
isOutline(),
Constant Field Valuesprotected boolean outline
Outline' attribute.
isOutline()protected EClass eStaticClass()
eStaticClass in class FigureImplpublic float getLineWidth()
getLineWidth in interface ShapeShape.setLineWidth(float),
VisualInterfacePackage.getShape_LineWidth()public void setLineWidth(float newLineWidth)
setLineWidth in interface ShapenewLineWidth - the new value of the 'Line Width' attribute.Shape.getLineWidth()public java.lang.Boolean getAntialias()
getAntialias in interface ShapeShape.setAntialias(Boolean),
VisualInterfacePackage.getShape_Antialias()public void setAntialias(java.lang.Boolean newAntialias)
setAntialias in interface ShapenewAntialias - the new value of the 'Antialias' attribute.Shape.getAntialias()public java.lang.Double getAlpha()
getAlpha in interface ShapeShape.setAlpha(Double),
VisualInterfacePackage.getShape_Alpha()public void setAlpha(java.lang.Double newAlpha)
setAlpha in interface ShapenewAlpha - the new value of the 'Alpha' attribute.Shape.getAlpha()public boolean isFill()
isFill in interface ShapeShape.setFill(boolean),
VisualInterfacePackage.getShape_Fill()public void setFill(boolean newFill)
setFill in interface ShapenewFill - the new value of the 'Fill' attribute.Shape.isFill()public boolean isOutline()
isOutline in interface ShapeShape.setOutline(boolean),
VisualInterfacePackage.getShape_Outline()public void setOutline(boolean newOutline)
setOutline in interface ShapenewOutline - the new value of the 'Outline' attribute.Shape.isOutline()public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class FigureImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class FigureImplpublic void eUnset(int featureID)
eUnset in class FigureImplpublic boolean eIsSet(int featureID)
eIsSet in class FigureImplpublic java.lang.String toString()
toString in class FigureImpl
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0