Interface Size
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SizeImpl
A representation of the model object
'Size'.
Size represents the 2D dimension of a chart element.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Height' attribute.double
getWidth()
Returns the value of the 'Width' attribute.boolean
Returns whether the value of the 'Height
' attribute is set.boolean
Returns whether the value of the 'Width
' attribute is set.void
scale
(double dScale) Scales the size instance as specified via the 'dScale' parameterscaleInstance
(double dScale) Returns a new size instance with scaled membersvoid
setHeight
(double value) Sets the value of the 'Height
' attribute.void
setWidth
(double value) Sets the value of the 'Width
' attribute.void
Unsets the value of the 'Height
' attribute.void
Unsets the value of the 'Width
' 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
-
getHeight
double getHeight()Returns the value of the 'Height' attribute. Holds the height of the chart- Returns:
- the value of the 'Height' attribute.
- See Also:
-
setHeight
void setHeight(double value) Sets the value of the 'Height
' attribute. Sets the height component of the size.- Parameters:
value
- the new value of the 'Height' attribute.- See Also:
-
unsetHeight
void unsetHeight()Unsets the value of the 'Height
' attribute.- See Also:
-
isSetHeight
boolean isSetHeight()Returns whether the value of the 'Height
' attribute is set.- Returns:
- whether the value of the 'Height' attribute is set.
- See Also:
-
getWidth
double getWidth()Returns the value of the 'Width' attribute. Holds the width of the chart- Returns:
- the value of the 'Width' attribute.
- See Also:
-
setWidth
void setWidth(double value) Sets the value of the 'Width
' attribute. Sets the width component of the size.- Parameters:
value
- the new value of the 'Width' attribute.- See Also:
-
unsetWidth
void unsetWidth()Unsets the value of the 'Width
' attribute.- See Also:
-
isSetWidth
boolean isSetWidth()Returns whether the value of the 'Width
' attribute is set.- Returns:
- whether the value of the 'Width' attribute is set.
- See Also:
-
scale
void scale(double dScale) Scales the size instance as specified via the 'dScale' parameter- Parameters:
dScale
-
-
scaleInstance
Returns a new size instance with scaled members- Parameters:
dScale
- The scaling factor- Returns:
- A new scaled instance
-
copyInstance
Size copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-