|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.algorithms.styles.impl.AbstractStyleImpl
public abstract class AbstractStyleImpl
An implementation of the model object 'Abstract Style'.
The following features are implemented:
| Field Summary | |
|---|---|
protected Color |
background
The cached value of the ' Background' reference. |
protected java.lang.Boolean |
filled
The cached value of the ' Filled' attribute. |
protected static java.lang.Boolean |
FILLED_EDEFAULT
The default value of the ' Filled' attribute. |
protected Color |
foreground
The cached value of the ' Foreground' reference. |
protected static LineStyle |
LINE_STYLE_EDEFAULT
The default value of the ' Line Style' attribute. |
protected static java.lang.Boolean |
LINE_VISIBLE_EDEFAULT
The default value of the ' Line Visible' attribute. |
protected static java.lang.Integer |
LINE_WIDTH_EDEFAULT
The default value of the ' Line Width' attribute. |
protected LineStyle |
lineStyle
The cached value of the ' Line Style' attribute. |
protected java.lang.Boolean |
lineVisible
The cached value of the ' Line Visible' attribute. |
protected java.lang.Integer |
lineWidth
The cached value of the ' Line Width' attribute. |
protected RenderingStyle |
renderingStyle
The cached value of the ' Rendering Style' containment reference. |
protected java.lang.Double |
transparency
The cached value of the ' Transparency' attribute. |
protected static java.lang.Double |
TRANSPARENCY_EDEFAULT
The default value of the ' Transparency' attribute. |
| Constructor Summary | |
|---|---|
protected |
AbstractStyleImpl()
|
| Method Summary | |
|---|---|
Color |
basicGetBackground()
|
Color |
basicGetForeground()
|
RenderingStyle |
basicGetRenderingStyle()
|
NotificationChain |
basicSetRenderingStyle(RenderingStyle newRenderingStyle,
NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
Color |
getBackground()
|
java.lang.Boolean |
getFilled()
|
Color |
getForeground()
|
LineStyle |
getLineStyle()
|
java.lang.Boolean |
getLineVisible()
|
java.lang.Integer |
getLineWidth()
|
RenderingStyle |
getRenderingStyle()
|
java.lang.Double |
getTransparency()
|
void |
setBackground(Color newBackground)
|
void |
setFilled(java.lang.Boolean newFilled)
|
void |
setForeground(Color newForeground)
|
void |
setLineStyle(LineStyle newLineStyle)
|
void |
setLineVisible(java.lang.Boolean newLineVisible)
|
void |
setLineWidth(java.lang.Integer newLineWidth)
|
void |
setRenderingStyle(RenderingStyle newRenderingStyle)
|
void |
setTransparency(java.lang.Double newTransparency)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Color background
Background' reference.
getBackground()protected Color foreground
Foreground' reference.
getForeground()protected static final java.lang.Integer LINE_WIDTH_EDEFAULT
Line Width' attribute.
getLineWidth()protected java.lang.Integer lineWidth
Line Width' attribute.
getLineWidth()protected static final LineStyle LINE_STYLE_EDEFAULT
Line Style' attribute.
getLineStyle()protected LineStyle lineStyle
Line Style' attribute.
getLineStyle()protected static final java.lang.Boolean FILLED_EDEFAULT
Filled' attribute.
getFilled()protected java.lang.Boolean filled
Filled' attribute.
getFilled()protected static final java.lang.Boolean LINE_VISIBLE_EDEFAULT
Line Visible' attribute.
getLineVisible()protected java.lang.Boolean lineVisible
Line Visible' attribute.
getLineVisible()protected RenderingStyle renderingStyle
Rendering Style' containment reference.
getRenderingStyle()protected static final java.lang.Double TRANSPARENCY_EDEFAULT
Transparency' attribute.
getTransparency()protected java.lang.Double transparency
Transparency' attribute.
getTransparency()| Constructor Detail |
|---|
protected AbstractStyleImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
public Color getBackground()
getBackground in interface AbstractStyleAbstractStyle.setBackground(Color),
StylesPackage.getAbstractStyle_Background()public Color basicGetBackground()
public void setBackground(Color newBackground)
setBackground in interface AbstractStylenewBackground - the new value of the 'Background' reference.AbstractStyle.getBackground()public Color getForeground()
getForeground in interface AbstractStyleAbstractStyle.setForeground(Color),
StylesPackage.getAbstractStyle_Foreground()public Color basicGetForeground()
public void setForeground(Color newForeground)
setForeground in interface AbstractStylenewForeground - the new value of the 'Foreground' reference.AbstractStyle.getForeground()public java.lang.Integer getLineWidth()
getLineWidth in interface AbstractStyleAbstractStyle.setLineWidth(Integer),
StylesPackage.getAbstractStyle_LineWidth()public void setLineWidth(java.lang.Integer newLineWidth)
setLineWidth in interface AbstractStylenewLineWidth - the new value of the 'Line Width' attribute.AbstractStyle.getLineWidth()public LineStyle getLineStyle()
getLineStyle in interface AbstractStyleLineStyle,
AbstractStyle.setLineStyle(LineStyle),
StylesPackage.getAbstractStyle_LineStyle()public void setLineStyle(LineStyle newLineStyle)
setLineStyle in interface AbstractStylenewLineStyle - the new value of the 'Line Style' attribute.LineStyle,
AbstractStyle.getLineStyle()public java.lang.Boolean getFilled()
getFilled in interface AbstractStyleAbstractStyle.setFilled(Boolean),
StylesPackage.getAbstractStyle_Filled()public void setFilled(java.lang.Boolean newFilled)
setFilled in interface AbstractStylenewFilled - the new value of the 'Filled' attribute.AbstractStyle.getFilled()public java.lang.Boolean getLineVisible()
getLineVisible in interface AbstractStyleAbstractStyle.setLineVisible(Boolean),
StylesPackage.getAbstractStyle_LineVisible()public void setLineVisible(java.lang.Boolean newLineVisible)
setLineVisible in interface AbstractStylenewLineVisible - the new value of the 'Line Visible' attribute.AbstractStyle.getLineVisible()public RenderingStyle getRenderingStyle()
getRenderingStyle in interface AbstractStyleAbstractStyle.setRenderingStyle(RenderingStyle),
StylesPackage.getAbstractStyle_RenderingStyle()public RenderingStyle basicGetRenderingStyle()
public NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle,
NotificationChain msgs)
public void setRenderingStyle(RenderingStyle newRenderingStyle)
setRenderingStyle in interface AbstractStylenewRenderingStyle - the new value of the 'Rendering Style' containment reference.AbstractStyle.getRenderingStyle()public java.lang.Double getTransparency()
getTransparency in interface AbstractStyleAbstractStyle.setTransparency(Double),
StylesPackage.getAbstractStyle_Transparency()public void setTransparency(java.lang.Double newTransparency)
setTransparency in interface AbstractStylenewTransparency - the new value of the 'Transparency' attribute.AbstractStyle.getTransparency()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||