|
||||||||||
| 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 ContainerRotation
| 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 Double |
rotation
The cached value of the ' Rotation' attribute. |
protected static Double |
ROTATION_EDEFAULT
The default value of the ' Rotation'
attribute. |
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()protected static final Double ROTATION_EDEFAULT
Rotation'
attribute.
getRotation()protected Double rotation
Rotation' attribute.
getRotation()| 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 Integer getLineWidth()
getLineWidth in interface AbstractStyleAbstractStyle.setLineWidth(Integer),
StylesPackage.getAbstractStyle_LineWidth()public void setLineWidth(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 Boolean getFilled()
getFilled in interface AbstractStyleAbstractStyle.isSetFilled(),
AbstractStyle.unsetFilled(),
AbstractStyle.setFilled(Boolean),
StylesPackage.getAbstractStyle_Filled()public void setFilled(Boolean newFilled)
setFilled in interface AbstractStylenewFilled - the new value of the 'Filled' attribute.AbstractStyle.isSetFilled(),
AbstractStyle.unsetFilled(),
AbstractStyle.getFilled()public void unsetFilled()
unsetFilled in interface AbstractStyleAbstractStyle.isSetFilled(),
AbstractStyle.getFilled(),
AbstractStyle.setFilled(Boolean)public boolean isSetFilled()
isSetFilled in interface AbstractStyleAbstractStyle.unsetFilled(),
AbstractStyle.getFilled(),
AbstractStyle.setFilled(Boolean)public Boolean getLineVisible()
getLineVisible in interface AbstractStyleAbstractStyle.isSetLineVisible(),
AbstractStyle.unsetLineVisible(),
AbstractStyle.setLineVisible(Boolean),
StylesPackage.getAbstractStyle_LineVisible()public void setLineVisible(Boolean newLineVisible)
setLineVisible in interface AbstractStylenewLineVisible - the new value of the 'Line Visible' attribute.AbstractStyle.isSetLineVisible(),
AbstractStyle.unsetLineVisible(),
AbstractStyle.getLineVisible()public void unsetLineVisible()
unsetLineVisible in interface AbstractStyleAbstractStyle.isSetLineVisible(),
AbstractStyle.getLineVisible(),
AbstractStyle.setLineVisible(Boolean)public boolean isSetLineVisible()
isSetLineVisible in interface AbstractStyleAbstractStyle.unsetLineVisible(),
AbstractStyle.getLineVisible(),
AbstractStyle.setLineVisible(Boolean)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 Double getTransparency()
getTransparency in interface AbstractStyleAbstractStyle.setTransparency(Double),
StylesPackage.getAbstractStyle_Transparency()public void setTransparency(Double newTransparency)
setTransparency in interface AbstractStylenewTransparency - the new value of the 'Transparency' attribute.AbstractStyle.getTransparency()public String getId()
getId in interface StyleStyle.setId(String),
StylesPackage.getStyle_Id()public void setId(String newId)
setId in interface StylenewId - the new value of the 'Id' attribute.Style.getId()public String getDescription()
getDescription in interface StyleStyle.setDescription(String),
StylesPackage.getStyle_Description()public void setDescription(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 void setFont(Font newFont)
setFont in interface StylenewFont - the new value of the 'Font' 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 Integer getAngle()
getAngle in interface StyleStyle.setAngle(Integer),
StylesPackage.getStyle_Angle()public void setAngle(Integer newAngle)
setAngle in interface StylenewAngle - the new value of the 'Angle' attribute.Style.getAngle()public Boolean getStretchH()
getStretchH in interface StyleStyle.setStretchH(Boolean),
StylesPackage.getStyle_StretchH()public void setStretchH(Boolean newStretchH)
setStretchH in interface StylenewStretchH - the new value of the 'Stretch H' attribute.Style.getStretchH()public Boolean getStretchV()
getStretchV in interface StyleStyle.setStretchV(Boolean),
StylesPackage.getStyle_StretchV()public void setStretchV(Boolean newStretchV)
setStretchV in interface StylenewStretchV - the new value of the 'Stretch V' attribute.Style.getStretchV()public Boolean getProportional()
getProportional in interface StyleStyle.setProportional(Boolean),
StylesPackage.getStyle_Proportional()public void setProportional(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 Double getRotation()
getRotation in interface StyleStyle.setRotation(Double),
StylesPackage.getStyle_Rotation()public void setRotation(Double newRotation)
setRotation in interface StylenewRotation - the new value of the 'Rotation' attribute.Style.getRotation()
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 Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class StyleContainerImpl
public void eSet(int featureID,
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,
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 | |||||||||