|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.impl.StyleContainerImpl
org.eclipse.graphiti.mm.algorithms.styles.impl.StyleImpl
public class StyleImpl
An implementation of the model object 'Style'.
The following features are implemented:
Background
Foreground
Line Width
Line Style
Filled
Line Visible
Rendering Style
Transparency
Id
Description
Font
Horizontal Alignment
Vertical Alignment
Angle
Stretch H
Stretch V
Proportional
Style Container
Field Summary | |
---|---|
protected Integer |
angle
The cached value of the ' Angle ' attribute. |
protected static Integer |
ANGLE_EDEFAULT
The default value of the ' Angle ' attribute. |
protected Color |
background
The cached value of the ' Background ' reference. |
protected String |
description
The cached value of the ' Description ' attribute. |
protected static String |
DESCRIPTION_EDEFAULT
The default value of the ' Description ' attribute. |
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 Font |
font
The cached value of the ' Font ' reference. |
protected Color |
foreground
The cached value of the ' Foreground ' reference. |
protected static Orientation |
HORIZONTAL_ALIGNMENT_EDEFAULT
The default value of the ' Horizontal Alignment ' attribute. |
protected Orientation |
horizontalAlignment
The cached value of the ' Horizontal Alignment ' attribute. |
protected String |
id
The cached value of the ' Id ' attribute. |
protected static String |
ID_EDEFAULT
The default value of the ' Id ' attribute. |
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 Boolean |
proportional
The cached value of the ' Proportional ' attribute. |
protected static Boolean |
PROPORTIONAL_EDEFAULT
The default value of the ' Proportional ' attribute. |
protected RenderingStyle |
renderingStyle
The cached value of the ' Rendering Style ' containment reference. |
protected static Boolean |
STRETCH_H_EDEFAULT
The default value of the ' Stretch H ' attribute. |
protected static Boolean |
STRETCH_V_EDEFAULT
The default value of the ' Stretch V ' attribute. |
protected Boolean |
stretchH
The cached value of the ' Stretch H ' attribute. |
protected Boolean |
stretchV
The cached value of the ' Stretch V ' attribute. |
protected Double |
transparency
The cached value of the ' Transparency ' attribute. |
protected static Double |
TRANSPARENCY_EDEFAULT
The default value of the ' Transparency ' attribute. |
protected static Orientation |
VERTICAL_ALIGNMENT_EDEFAULT
The default value of the ' Vertical Alignment ' attribute. |
protected Orientation |
verticalAlignment
The cached value of the ' Vertical Alignment ' attribute. |
Fields inherited from class org.eclipse.graphiti.mm.impl.StyleContainerImpl |
---|
styles |
Constructor Summary | |
---|---|
protected |
StyleImpl()
|
Methods inherited from class org.eclipse.graphiti.mm.impl.StyleContainerImpl |
---|
getStyles |
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.StyleContainer |
---|
getStyles |
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()
protected static final String ID_EDEFAULT
Id
' attribute.
getId()
protected String id
Id
' attribute.
getId()
protected static final String DESCRIPTION_EDEFAULT
Description
' attribute.
getDescription()
protected String description
Description
' attribute.
getDescription()
protected Font font
Font
' reference.
getFont()
protected static final Orientation HORIZONTAL_ALIGNMENT_EDEFAULT
Horizontal Alignment
' attribute.
getHorizontalAlignment()
protected Orientation horizontalAlignment
Horizontal Alignment
' attribute.
getHorizontalAlignment()
protected static final Orientation VERTICAL_ALIGNMENT_EDEFAULT
Vertical Alignment
' attribute.
getVerticalAlignment()
protected Orientation verticalAlignment
Vertical Alignment
' attribute.
getVerticalAlignment()
protected static final Integer ANGLE_EDEFAULT
Angle
' attribute.
getAngle()
protected Integer angle
Angle
' attribute.
getAngle()
protected static final Boolean STRETCH_H_EDEFAULT
Stretch H
' attribute.
getStretchH()
protected Boolean stretchH
Stretch H
' attribute.
getStretchH()
protected static final Boolean STRETCH_V_EDEFAULT
Stretch V
' attribute.
getStretchV()
protected Boolean stretchV
Stretch V
' attribute.
getStretchV()
protected static final Boolean PROPORTIONAL_EDEFAULT
Proportional
' attribute.
getProportional()
protected Boolean proportional
Proportional
' attribute.
getProportional()
Constructor Detail |
---|
protected StyleImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class StyleContainerImpl
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 String getId()
getId
in interface Style
Style.setId(String)
,
StylesPackage.getStyle_Id()
public void setId(String newId)
setId
in interface Style
newId
- the new value of the 'Id' attribute.Style.getId()
public String getDescription()
getDescription
in interface Style
Style.setDescription(String)
,
StylesPackage.getStyle_Description()
public void setDescription(String newDescription)
setDescription
in interface Style
newDescription
- the new value of the 'Description' attribute.Style.getDescription()
public Font getFont()
getFont
in interface Style
Style.setFont(Font)
,
StylesPackage.getStyle_Font()
public Font basicGetFont()
public void setFont(Font newFont)
setFont
in interface Style
newFont
- the new value of the 'Font' reference.Style.getFont()
public Orientation getHorizontalAlignment()
getHorizontalAlignment
in interface Style
Orientation
,
Style.setHorizontalAlignment(Orientation)
,
StylesPackage.getStyle_HorizontalAlignment()
public void setHorizontalAlignment(Orientation newHorizontalAlignment)
setHorizontalAlignment
in interface Style
newHorizontalAlignment
- the new value of the 'Horizontal Alignment' attribute.Orientation
,
Style.getHorizontalAlignment()
public Orientation getVerticalAlignment()
getVerticalAlignment
in interface Style
Orientation
,
Style.setVerticalAlignment(Orientation)
,
StylesPackage.getStyle_VerticalAlignment()
public void setVerticalAlignment(Orientation newVerticalAlignment)
setVerticalAlignment
in interface Style
newVerticalAlignment
- the new value of the 'Vertical Alignment' attribute.Orientation
,
Style.getVerticalAlignment()
public Integer getAngle()
getAngle
in interface Style
Style.setAngle(Integer)
,
StylesPackage.getStyle_Angle()
public void setAngle(Integer newAngle)
setAngle
in interface Style
newAngle
- the new value of the 'Angle' attribute.Style.getAngle()
public Boolean getStretchH()
getStretchH
in interface Style
Style.setStretchH(Boolean)
,
StylesPackage.getStyle_StretchH()
public void setStretchH(Boolean newStretchH)
setStretchH
in interface Style
newStretchH
- the new value of the 'Stretch H' attribute.Style.getStretchH()
public Boolean getStretchV()
getStretchV
in interface Style
Style.setStretchV(Boolean)
,
StylesPackage.getStyle_StretchV()
public void setStretchV(Boolean newStretchV)
setStretchV
in interface Style
newStretchV
- the new value of the 'Stretch V' attribute.Style.getStretchV()
public Boolean getProportional()
getProportional
in interface Style
Style.setProportional(Boolean)
,
StylesPackage.getStyle_Proportional()
public void setProportional(Boolean newProportional)
setProportional
in interface Style
newProportional
- the new value of the 'Proportional' attribute.Style.getProportional()
public StyleContainer getStyleContainer()
getStyleContainer
in interface Style
Style.setStyleContainer(StyleContainer)
,
StylesPackage.getStyle_StyleContainer()
,
StyleContainer.getStyles()
public StyleContainer basicGetStyleContainer()
public NotificationChain basicSetStyleContainer(StyleContainer newStyleContainer, NotificationChain msgs)
public void setStyleContainer(StyleContainer newStyleContainer)
setStyleContainer
in interface Style
newStyleContainer
- the new value of the 'Style Container' container reference.Style.getStyleContainer()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class StyleContainerImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class StyleContainerImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class StyleContainerImpl
public void eSet(int featureID, Object newValue)
eSet
in class StyleContainerImpl
public void eUnset(int featureID)
eUnset
in class StyleContainerImpl
public boolean eIsSet(int featureID)
eIsSet
in class StyleContainerImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |