|
||||||||||
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 Boolean |
filled
The cached value of the ' Filled ' attribute. |
protected static Boolean |
FILLED_EDEFAULT
The default value of the ' Filled ' attribute. |
protected boolean |
filledESet
This is true if the Filled attribute has been set. |
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 Boolean |
LINE_VISIBLE_EDEFAULT
The default value of the ' Line Visible ' attribute. |
protected static Integer |
LINE_WIDTH_EDEFAULT
The default value of the ' Line Width ' attribute. |
protected LineStyle |
lineStyle
The cached value of the ' Line Style ' attribute. |
protected Boolean |
lineVisible
The cached value of the ' Line Visible ' attribute. |
protected boolean |
lineVisibleESet
This is true if the Line Visible attribute has been set. |
protected Integer |
lineWidth
The cached value of the ' Line Width ' attribute. |
protected RenderingStyle |
renderingStyle
The cached value of the ' Rendering Style ' containment reference. |
protected Double |
transparency
The cached value of the ' Transparency ' attribute. |
protected static Double |
TRANSPARENCY_EDEFAULT
The default value of the ' Transparency ' attribute. |
Constructor Summary | |
---|---|
protected |
AbstractStyleImpl()
|
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 Integer LINE_WIDTH_EDEFAULT
Line Width
' attribute.
getLineWidth()
protected 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 Boolean FILLED_EDEFAULT
Filled
' attribute.
getFilled()
protected Boolean filled
Filled
' attribute.
getFilled()
protected boolean filledESet
protected static final Boolean LINE_VISIBLE_EDEFAULT
Line Visible
' attribute.
getLineVisible()
protected Boolean lineVisible
Line Visible
' attribute.
getLineVisible()
protected boolean lineVisibleESet
protected RenderingStyle renderingStyle
Rendering Style
' containment reference.
getRenderingStyle()
protected static final Double TRANSPARENCY_EDEFAULT
Transparency
' attribute.
getTransparency()
protected Double transparency
Transparency
' attribute.
getTransparency()
Constructor Detail |
---|
protected AbstractStyleImpl()
Method Detail |
---|
protected EClass eStaticClass()
public Color getBackground()
getBackground
in interface AbstractStyle
AbstractStyle.setBackground(Color)
,
StylesPackage.getAbstractStyle_Background()
public Color basicGetBackground()
public void setBackground(Color newBackground)
setBackground
in interface AbstractStyle
newBackground
- the new value of the 'Background' reference.AbstractStyle.getBackground()
public Color getForeground()
getForeground
in interface AbstractStyle
AbstractStyle.setForeground(Color)
,
StylesPackage.getAbstractStyle_Foreground()
public Color basicGetForeground()
public void setForeground(Color newForeground)
setForeground
in interface AbstractStyle
newForeground
- the new value of the 'Foreground' reference.AbstractStyle.getForeground()
public Integer getLineWidth()
getLineWidth
in interface AbstractStyle
AbstractStyle.setLineWidth(Integer)
,
StylesPackage.getAbstractStyle_LineWidth()
public void setLineWidth(Integer newLineWidth)
setLineWidth
in interface AbstractStyle
newLineWidth
- the new value of the 'Line Width' attribute.AbstractStyle.getLineWidth()
public LineStyle getLineStyle()
getLineStyle
in interface AbstractStyle
LineStyle
,
AbstractStyle.setLineStyle(LineStyle)
,
StylesPackage.getAbstractStyle_LineStyle()
public void setLineStyle(LineStyle newLineStyle)
setLineStyle
in interface AbstractStyle
newLineStyle
- the new value of the 'Line Style' attribute.LineStyle
,
AbstractStyle.getLineStyle()
public Boolean getFilled()
getFilled
in interface AbstractStyle
AbstractStyle.isSetFilled()
,
AbstractStyle.unsetFilled()
,
AbstractStyle.setFilled(Boolean)
,
StylesPackage.getAbstractStyle_Filled()
public void setFilled(Boolean newFilled)
setFilled
in interface AbstractStyle
newFilled
- the new value of the 'Filled' attribute.AbstractStyle.isSetFilled()
,
AbstractStyle.unsetFilled()
,
AbstractStyle.getFilled()
public void unsetFilled()
unsetFilled
in interface AbstractStyle
AbstractStyle.isSetFilled()
,
AbstractStyle.getFilled()
,
AbstractStyle.setFilled(Boolean)
public boolean isSetFilled()
isSetFilled
in interface AbstractStyle
AbstractStyle.unsetFilled()
,
AbstractStyle.getFilled()
,
AbstractStyle.setFilled(Boolean)
public Boolean getLineVisible()
getLineVisible
in interface AbstractStyle
AbstractStyle.isSetLineVisible()
,
AbstractStyle.unsetLineVisible()
,
AbstractStyle.setLineVisible(Boolean)
,
StylesPackage.getAbstractStyle_LineVisible()
public void setLineVisible(Boolean newLineVisible)
setLineVisible
in interface AbstractStyle
newLineVisible
- the new value of the 'Line Visible' attribute.AbstractStyle.isSetLineVisible()
,
AbstractStyle.unsetLineVisible()
,
AbstractStyle.getLineVisible()
public void unsetLineVisible()
unsetLineVisible
in interface AbstractStyle
AbstractStyle.isSetLineVisible()
,
AbstractStyle.getLineVisible()
,
AbstractStyle.setLineVisible(Boolean)
public boolean isSetLineVisible()
isSetLineVisible
in interface AbstractStyle
AbstractStyle.unsetLineVisible()
,
AbstractStyle.getLineVisible()
,
AbstractStyle.setLineVisible(Boolean)
public RenderingStyle getRenderingStyle()
getRenderingStyle
in interface AbstractStyle
AbstractStyle.setRenderingStyle(RenderingStyle)
,
StylesPackage.getAbstractStyle_RenderingStyle()
public RenderingStyle basicGetRenderingStyle()
public NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, NotificationChain msgs)
public void setRenderingStyle(RenderingStyle newRenderingStyle)
setRenderingStyle
in interface AbstractStyle
newRenderingStyle
- the new value of the 'Rendering Style' containment reference.AbstractStyle.getRenderingStyle()
public Double getTransparency()
getTransparency
in interface AbstractStyle
AbstractStyle.setTransparency(Double)
,
StylesPackage.getAbstractStyle_Transparency()
public void setTransparency(Double newTransparency)
setTransparency
in interface AbstractStyle
newTransparency
- the new value of the 'Transparency' attribute.AbstractStyle.getTransparency()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |