Interface AbstractStyle
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AbstractText
,Ellipse
,GraphicsAlgorithm
,Image
,MultiText
,PlatformGraphicsAlgorithm
,Polygon
,Polyline
,Rectangle
,RoundedRectangle
,Style
,Text
- All Known Implementing Classes:
AbstractStyleImpl
,AbstractTextImpl
,EllipseImpl
,GraphicsAlgorithmImpl
,ImageImpl
,MultiTextImpl
,PlatformGraphicsAlgorithmImpl
,PolygonImpl
,PolylineImpl
,RectangleImpl
,RoundedRectangleImpl
,StyleImpl
,TextImpl
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Background' reference.Returns the value of the 'Filled' attribute.Returns the value of the 'Foreground' reference.Returns the value of the 'Line Style' attribute.Returns the value of the 'Line Visible' attribute.Returns the value of the 'Line Width' attribute.Returns the value of the 'Rendering Style' containment reference.Returns the value of the 'Transparency' attribute.boolean
Returns whether the value of the 'Filled
' attribute is set.boolean
Returns whether the value of the 'Line Visible
' attribute is set.void
setBackground
(Color value) Sets the value of the 'Background
' reference.void
Sets the value of the 'Filled
' attribute.void
setForeground
(Color value) Sets the value of the 'Foreground
' reference.void
setLineStyle
(LineStyle value) Sets the value of the 'Line Style
' attribute.void
setLineVisible
(Boolean value) Sets the value of the 'Line Visible
' attribute.void
setLineWidth
(Integer value) Sets the value of the 'Line Width
' attribute.void
setRenderingStyle
(RenderingStyle value) Sets the value of the 'Rendering Style
' containment reference.void
setTransparency
(Double value) Sets the value of the 'Transparency
' attribute.void
Unsets the value of the 'Filled
' attribute.void
Unsets the value of the 'Line Visible
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getBackground
Color getBackground()Returns the value of the 'Background' reference.If the meaning of the 'Background' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Background' reference.
- See Also:
-
setBackground
Sets the value of the 'Background
' reference.- Parameters:
value
- the new value of the 'Background' reference.- See Also:
-
getForeground
Color getForeground()Returns the value of the 'Foreground' reference.If the meaning of the 'Foreground' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
setForeground
Sets the value of the 'Foreground
' reference.- Parameters:
value
- the new value of the 'Foreground' reference.- See Also:
-
getLineWidth
Integer getLineWidth()Returns the value of the 'Line Width' attribute.If the meaning of the 'Line Width' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Line Width' attribute.
- See Also:
-
setLineWidth
Sets the value of the 'Line Width
' attribute.- Parameters:
value
- the new value of the 'Line Width' attribute.- See Also:
-
getLineStyle
LineStyle getLineStyle()Returns the value of the 'Line Style' attribute. The literals are from the enumerationLineStyle
.If the meaning of the 'Line Style' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Line Style' attribute.
- See Also:
-
setLineStyle
Sets the value of the 'Line Style
' attribute.- Parameters:
value
- the new value of the 'Line Style' attribute.- See Also:
-
getFilled
Boolean getFilled()Returns the value of the 'Filled' attribute. The default value is"true"
.If the meaning of the 'Filled' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Filled' attribute.
- See Also:
-
setFilled
Sets the value of the 'Filled
' attribute.- Parameters:
value
- the new value of the 'Filled' attribute.- See Also:
-
unsetFilled
void unsetFilled()Unsets the value of the 'Filled
' attribute.- Since:
- 0.9
- See Also:
-
isSetFilled
boolean isSetFilled()Returns whether the value of the 'Filled
' attribute is set.- Returns:
- whether the value of the 'Filled' attribute is set.
- Since:
- 0.9
- See Also:
-
getLineVisible
Boolean getLineVisible()Returns the value of the 'Line Visible' attribute. The default value is"true"
.If the meaning of the 'Line Visible' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
-
setLineVisible
Sets the value of the 'Line Visible
' attribute.- Parameters:
value
- the new value of the 'Line Visible' attribute.- See Also:
-
unsetLineVisible
void unsetLineVisible()Unsets the value of the 'Line Visible
' attribute.- Since:
- 0.9
- See Also:
-
isSetLineVisible
boolean isSetLineVisible()Returns whether the value of the 'Line Visible
' attribute is set.- Returns:
- whether the value of the 'Line Visible' attribute is set.
- Since:
- 0.9
- See Also:
-
getRenderingStyle
RenderingStyle getRenderingStyle()Returns the value of the 'Rendering Style' containment reference.If the meaning of the 'Rendering Style' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Rendering Style' containment reference.
- See Also:
-
setRenderingStyle
Sets the value of the 'Rendering Style
' containment reference.- Parameters:
value
- the new value of the 'Rendering Style' containment reference.- See Also:
-
getTransparency
Double getTransparency()Returns the value of the 'Transparency' attribute.If the meaning of the 'Transparency' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Transparency' attribute.
- See Also:
-
setTransparency
Sets the value of the 'Transparency
' attribute.- Parameters:
value
- the new value of the 'Transparency' attribute.- See Also:
-