|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.impl.PropertyContainerImpl
org.eclipse.graphiti.mm.impl.GraphicsAlgorithmContainerImpl
org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl
org.eclipse.graphiti.mm.algorithms.impl.RoundedRectangleImpl
public class RoundedRectangleImpl
An implementation of the model object 'Rounded Rectangle'.
The following features are implemented:
Field Summary | |
---|---|
protected static int |
CORNER_HEIGHT_EDEFAULT
The default value of the ' Corner Height ' attribute. |
protected static int |
CORNER_WIDTH_EDEFAULT
The default value of the ' Corner Width ' attribute. |
protected int |
cornerHeight
The cached value of the ' Corner Height ' attribute. |
protected int |
cornerWidth
The cached value of the ' Corner Width ' attribute. |
Fields inherited from class org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl |
---|
background, filled, FILLED_EDEFAULT, foreground, graphicsAlgorithmChildren, height, HEIGHT_EDEFAULT, LINE_STYLE_EDEFAULT, LINE_VISIBLE_EDEFAULT, LINE_WIDTH_EDEFAULT, lineStyle, lineVisible, lineWidth, renderingStyle, style, transparency, TRANSPARENCY_EDEFAULT, width, WIDTH_EDEFAULT, x, X_EDEFAULT, y, Y_EDEFAULT |
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl |
---|
properties |
Constructor Summary | |
---|---|
protected |
RoundedRectangleImpl()
|
Method Summary | |
---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
int |
getCornerHeight()
|
int |
getCornerWidth()
|
void |
setCornerHeight(int newCornerHeight)
|
void |
setCornerWidth(int newCornerWidth)
|
String |
toString()
|
Methods inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl |
---|
getProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm |
---|
getGraphicsAlgorithmChildren, getHeight, getParentGraphicsAlgorithm, getPictogramElement, getStyle, getWidth, getX, getY, setHeight, setParentGraphicsAlgorithm, setPictogramElement, setStyle, setWidth, setX, setY |
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer |
---|
getProperties |
Methods inherited from interface org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle |
---|
getBackground, getFilled, getForeground, getLineStyle, getLineVisible, getLineWidth, getRenderingStyle, getTransparency, setBackground, setFilled, setForeground, setLineStyle, setLineVisible, setLineWidth, setRenderingStyle, setTransparency |
Field Detail |
---|
protected static final int CORNER_HEIGHT_EDEFAULT
Corner Height
' attribute.
getCornerHeight()
,
Constant Field Valuesprotected int cornerHeight
Corner Height
' attribute.
getCornerHeight()
protected static final int CORNER_WIDTH_EDEFAULT
Corner Width
' attribute.
getCornerWidth()
,
Constant Field Valuesprotected int cornerWidth
Corner Width
' attribute.
getCornerWidth()
Constructor Detail |
---|
protected RoundedRectangleImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class GraphicsAlgorithmImpl
public int getCornerHeight()
getCornerHeight
in interface RoundedRectangle
RoundedRectangle.setCornerHeight(int)
,
AlgorithmsPackage.getRoundedRectangle_CornerHeight()
public void setCornerHeight(int newCornerHeight)
setCornerHeight
in interface RoundedRectangle
newCornerHeight
- the new value of the 'Corner Height' attribute.RoundedRectangle.getCornerHeight()
public int getCornerWidth()
getCornerWidth
in interface RoundedRectangle
RoundedRectangle.setCornerWidth(int)
,
AlgorithmsPackage.getRoundedRectangle_CornerWidth()
public void setCornerWidth(int newCornerWidth)
setCornerWidth
in interface RoundedRectangle
newCornerWidth
- the new value of the 'Corner Width' attribute.RoundedRectangle.getCornerWidth()
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class GraphicsAlgorithmImpl
public void eSet(int featureID, Object newValue)
eSet
in class GraphicsAlgorithmImpl
public void eUnset(int featureID)
eUnset
in class GraphicsAlgorithmImpl
public boolean eIsSet(int featureID)
eIsSet
in class GraphicsAlgorithmImpl
public String toString()
toString
in class GraphicsAlgorithmImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |