|
||||||||||
| 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:
BackgroundForegroundLine WidthLine StyleFilledLine VisibleRendering StyleTransparencyIdDescriptionFontHorizontal AlignmentVertical AlignmentAngleStretch HStretch VProportionalStyle Container
| Field Summary | |
|---|---|
protected java.lang.Integer |
angle
The cached value of the ' Angle' attribute. |
protected static java.lang.Integer |
ANGLE_EDEFAULT
The default value of the ' Angle' attribute. |
protected Color |
background
The cached value of the ' Background' reference. |
protected java.lang.String |
description
The cached value of the ' Description' attribute. |
protected static java.lang.String |
DESCRIPTION_EDEFAULT
The default value of the ' Description' attribute. |
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 Font |
font
The cached value of the ' Font' containment 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 java.lang.String |
id
The cached value of the ' Id' attribute. |
protected static java.lang.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 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 java.lang.Boolean |
proportional
The cached value of the ' Proportional' attribute. |
protected static java.lang.Boolean |
PROPORTIONAL_EDEFAULT
The default value of the ' Proportional' attribute. |
protected RenderingStyle |
renderingStyle
The cached value of the ' Rendering Style' containment reference. |
protected static java.lang.Boolean |
STRETCH_H_EDEFAULT
The default value of the ' Stretch H' attribute. |
protected static java.lang.Boolean |
STRETCH_V_EDEFAULT
The default value of the ' Stretch V' attribute. |
protected java.lang.Boolean |
stretchH
The cached value of the ' Stretch H' attribute. |
protected java.lang.Boolean |
stretchV
The cached value of the ' Stretch V' attribute. |
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. |
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()
|
| Method Summary | |
|---|---|
Color |
basicGetBackground()
|
Font |
basicGetFont()
|
Color |
basicGetForeground()
|
RenderingStyle |
basicGetRenderingStyle()
|
StyleContainer |
basicGetStyleContainer()
|
NotificationChain |
basicSetFont(Font newFont,
NotificationChain msgs)
|
NotificationChain |
basicSetRenderingStyle(RenderingStyle newRenderingStyle,
NotificationChain msgs)
|
NotificationChain |
basicSetStyleContainer(StyleContainer newStyleContainer,
NotificationChain msgs)
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
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)
|
java.lang.Integer |
getAngle()
|
Color |
getBackground()
|
java.lang.String |
getDescription()
|
java.lang.Boolean |
getFilled()
|
Font |
getFont()
|
Color |
getForeground()
|
Orientation |
getHorizontalAlignment()
|
java.lang.String |
getId()
|
LineStyle |
getLineStyle()
|
java.lang.Boolean |
getLineVisible()
|
java.lang.Integer |
getLineWidth()
|
java.lang.Boolean |
getProportional()
|
RenderingStyle |
getRenderingStyle()
|
java.lang.Boolean |
getStretchH()
|
java.lang.Boolean |
getStretchV()
|
StyleContainer |
getStyleContainer()
|
java.lang.Double |
getTransparency()
|
Orientation |
getVerticalAlignment()
|
void |
setAngle(java.lang.Integer newAngle)
|
void |
setBackground(Color newBackground)
|
void |
setDescription(java.lang.String newDescription)
|
void |
setFilled(java.lang.Boolean newFilled)
|
void |
setFont(Font newFont)
|
void |
setForeground(Color newForeground)
|
void |
setHorizontalAlignment(Orientation newHorizontalAlignment)
|
void |
setId(java.lang.String newId)
|
void |
setLineStyle(LineStyle newLineStyle)
|
void |
setLineVisible(java.lang.Boolean newLineVisible)
|
void |
setLineWidth(java.lang.Integer newLineWidth)
|
void |
setProportional(java.lang.Boolean newProportional)
|
void |
setRenderingStyle(RenderingStyle newRenderingStyle)
|
void |
setStretchH(java.lang.Boolean newStretchH)
|
void |
setStretchV(java.lang.Boolean newStretchV)
|
void |
setStyleContainer(StyleContainer newStyleContainer)
|
void |
setTransparency(java.lang.Double newTransparency)
|
void |
setVerticalAlignment(Orientation newVerticalAlignment)
|
java.lang.String |
toString()
|
| 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 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()protected static final java.lang.String ID_EDEFAULT
Id' attribute.
getId()protected java.lang.String id
Id' attribute.
getId()protected static final java.lang.String DESCRIPTION_EDEFAULT
Description' attribute.
getDescription()protected java.lang.String description
Description' attribute.
getDescription()protected Font font
Font' containment 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 java.lang.Integer ANGLE_EDEFAULT
Angle' attribute.
getAngle()protected java.lang.Integer angle
Angle' attribute.
getAngle()protected static final java.lang.Boolean STRETCH_H_EDEFAULT
Stretch H' attribute.
getStretchH()protected java.lang.Boolean stretchH
Stretch H' attribute.
getStretchH()protected static final java.lang.Boolean STRETCH_V_EDEFAULT
Stretch V' attribute.
getStretchV()protected java.lang.Boolean stretchV
Stretch V' attribute.
getStretchV()protected static final java.lang.Boolean PROPORTIONAL_EDEFAULT
Proportional' attribute.
getProportional()protected java.lang.Boolean proportional
Proportional' attribute.
getProportional()| Constructor Detail |
|---|
protected StyleImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class StyleContainerImplpublic 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 java.lang.String getId()
getId in interface StyleStyle.setId(String),
StylesPackage.getStyle_Id()public void setId(java.lang.String newId)
setId in interface StylenewId - the new value of the 'Id' attribute.Style.getId()public java.lang.String getDescription()
getDescription in interface StyleStyle.setDescription(String),
StylesPackage.getStyle_Description()public void setDescription(java.lang.String newDescription)
setDescription in interface StylenewDescription - the new value of the 'Description' attribute.Style.getDescription()public Font getFont()
getFont in interface StyleStyle.setFont(Font),
StylesPackage.getStyle_Font()public Font basicGetFont()
public NotificationChain basicSetFont(Font newFont,
NotificationChain msgs)
public void setFont(Font newFont)
setFont in interface StylenewFont - the new value of the 'Font' containment reference.Style.getFont()public Orientation getHorizontalAlignment()
getHorizontalAlignment in interface StyleOrientation,
Style.setHorizontalAlignment(Orientation),
StylesPackage.getStyle_HorizontalAlignment()public void setHorizontalAlignment(Orientation newHorizontalAlignment)
setHorizontalAlignment in interface StylenewHorizontalAlignment - the new value of the 'Horizontal Alignment' attribute.Orientation,
Style.getHorizontalAlignment()public Orientation getVerticalAlignment()
getVerticalAlignment in interface StyleOrientation,
Style.setVerticalAlignment(Orientation),
StylesPackage.getStyle_VerticalAlignment()public void setVerticalAlignment(Orientation newVerticalAlignment)
setVerticalAlignment in interface StylenewVerticalAlignment - the new value of the 'Vertical Alignment' attribute.Orientation,
Style.getVerticalAlignment()public java.lang.Integer getAngle()
getAngle in interface StyleStyle.setAngle(Integer),
StylesPackage.getStyle_Angle()public void setAngle(java.lang.Integer newAngle)
setAngle in interface StylenewAngle - the new value of the 'Angle' attribute.Style.getAngle()public java.lang.Boolean getStretchH()
getStretchH in interface StyleStyle.setStretchH(Boolean),
StylesPackage.getStyle_StretchH()public void setStretchH(java.lang.Boolean newStretchH)
setStretchH in interface StylenewStretchH - the new value of the 'Stretch H' attribute.Style.getStretchH()public java.lang.Boolean getStretchV()
getStretchV in interface StyleStyle.setStretchV(Boolean),
StylesPackage.getStyle_StretchV()public void setStretchV(java.lang.Boolean newStretchV)
setStretchV in interface StylenewStretchV - the new value of the 'Stretch V' attribute.Style.getStretchV()public java.lang.Boolean getProportional()
getProportional in interface StyleStyle.setProportional(Boolean),
StylesPackage.getStyle_Proportional()public void setProportional(java.lang.Boolean newProportional)
setProportional in interface StylenewProportional - the new value of the 'Proportional' attribute.Style.getProportional()public StyleContainer getStyleContainer()
getStyleContainer in interface StyleStyle.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 StylenewStyleContainer - 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 StyleContainerImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class StyleContainerImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in class StyleContainerImplpublic void eUnset(int featureID)
eUnset in class StyleContainerImplpublic boolean eIsSet(int featureID)
eIsSet in class StyleContainerImpl
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||