Interface Style
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
StyleImpl
A representation of the model object
'Style'.
Style provides a holder for all properties that can
be styled.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Background Color' containment reference.Returns the value of the 'Background Image' containment reference.getColor()
Returns the value of the 'Color' containment reference.getFont()
Returns the value of the 'Font' containment reference.Returns the value of the 'Padding' containment reference.void
Sets the value of the 'Background Color
' containment reference.void
setBackgroundImage
(Image value) Sets the value of the 'Background Image
' containment reference.void
setColor
(ColorDefinition value) Sets the value of the 'Color
' containment reference.void
setFont
(FontDefinition value) Sets the value of the 'Font
' containment reference.void
setPadding
(Insets value) Sets the value of the 'Padding
' containment reference.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
-
getFont
FontDefinition getFont()Returns the value of the 'Font' containment reference. Speicifies the font setting for this style.- Returns:
- the value of the 'Font' containment reference.
- See Also:
-
setFont
Sets the value of the 'Font
' containment reference.- Parameters:
value
- the new value of the 'Font' containment reference.- See Also:
-
getColor
ColorDefinition getColor()Returns the value of the 'Color' containment reference. Specifies the font color for this style.- Returns:
- the value of the 'Color' containment reference.
- See Also:
-
setColor
Sets the value of the 'Color
' containment reference.- Parameters:
value
- the new value of the 'Color' containment reference.- See Also:
-
getBackgroundColor
ColorDefinition getBackgroundColor()Returns the value of the 'Background Color' containment reference. Specifies the background color for this style.- Returns:
- the value of the 'Background Color' containment reference.
- See Also:
-
setBackgroundColor
Sets the value of the 'Background Color
' containment reference.- Parameters:
value
- the new value of the 'Background Color' containment reference.- See Also:
-
getBackgroundImage
Image getBackgroundImage()Returns the value of the 'Background Image' containment reference. Specifies the background image for this style.- Returns:
- the value of the 'Background Image' containment reference.
- See Also:
-
setBackgroundImage
Sets the value of the 'Background Image
' containment reference.- Parameters:
value
- the new value of the 'Background Image' containment reference.- See Also:
-
getPadding
Insets getPadding()Returns the value of the 'Padding' containment reference. Specifies the padding for this style.- Returns:
- the value of the 'Padding' containment reference.
- See Also:
-
setPadding
Sets the value of the 'Padding
' containment reference.- Parameters:
value
- the new value of the 'Padding' containment reference.- See Also:
-
copyInstance
Style copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-