Interface Insets
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IChartObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
InsetsImpl
A representation of the model object
'Insets'.
Insets represents a reserved blank area between the
edges and the client area of a chart element (e.g. Block, Label... etc.).
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanareLessThan(double dValue) A convenience method provdided to detect if all members are below a certain value NOTE: Manually writtendoubleReturns the value of the 'Bottom' attribute.doublegetLeft()Returns the value of the 'Left' attribute.doublegetRight()Returns the value of the 'Right' attribute.doublegetTop()Returns the value of the 'Top' attribute.booleanReturns whether the value of the 'Bottom' attribute is set.booleanReturns whether the value of the 'Left' attribute is set.booleanReturns whether the value of the 'Right' attribute is set.booleanisSetTop()Returns whether the value of the 'Top' attribute is set.scaledInstance(double dScale) Returns a new instance with scaled members w.r.t this instance.voidset(double dTop, double dLeft, double dBottom, double dRight) A convenience method for setting all members of an existing instance NOTE: Manually writtenvoidsetBottom(double value) Sets the value of the 'Bottom' attribute.voidsetLeft(double value) Sets the value of the 'Left' attribute.voidsetRight(double value) Sets the value of the 'Right' attribute.voidsetTop(double value) Sets the value of the 'Top' attribute.voidUnsets the value of the 'Bottom' attribute.voidUnsets the value of the 'Left' attribute.voidUnsets the value of the 'Right' attribute.voidunsetTop()Unsets the value of the 'Top' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getTop
double getTop()Returns the value of the 'Top' attribute. Specifies the top component of the insets.- Returns:
- the value of the 'Top' attribute.
- See Also:
-
setTop
void setTop(double value) Sets the value of the 'Top' attribute. Sets the top component of the insets.- Parameters:
value- the new value of the 'Top' attribute.- See Also:
-
unsetTop
void unsetTop()Unsets the value of the 'Top' attribute.- See Also:
-
isSetTop
boolean isSetTop()Returns whether the value of the 'Top' attribute is set.- Returns:
- whether the value of the 'Top' attribute is set.
- See Also:
-
getLeft
double getLeft()Returns the value of the 'Left' attribute. Attribute "Left" specifies the distance in points of the client area from the left edge.- Returns:
- the value of the 'Left' attribute.
- See Also:
-
setLeft
void setLeft(double value) Sets the value of the 'Left' attribute. Sets the left component of the insets.- Parameters:
value- the new value of the 'Left' attribute.- See Also:
-
unsetLeft
void unsetLeft()Unsets the value of the 'Left' attribute.- See Also:
-
isSetLeft
boolean isSetLeft()Returns whether the value of the 'Left' attribute is set.- Returns:
- whether the value of the 'Left' attribute is set.
- See Also:
-
getBottom
double getBottom()Returns the value of the 'Bottom' attribute. Attribute "Bottom" specifies the distance in points of the client area from the bottom edge.- Returns:
- the value of the 'Bottom' attribute.
- See Also:
-
setBottom
void setBottom(double value) Sets the value of the 'Bottom' attribute. Sets the bottom component of the insets.- Parameters:
value- the new value of the 'Bottom' attribute.- See Also:
-
unsetBottom
void unsetBottom()Unsets the value of the 'Bottom' attribute.- See Also:
-
isSetBottom
boolean isSetBottom()Returns whether the value of the 'Bottom' attribute is set.- Returns:
- whether the value of the 'Bottom' attribute is set.
- See Also:
-
getRight
double getRight()Returns the value of the 'Right' attribute. Attribute "Right" specifies the distance in points of the client area from the right edge.- Returns:
- the value of the 'Right' attribute.
- See Also:
-
setRight
void setRight(double value) Sets the value of the 'Right' attribute. Sets the right component of the insets.- Parameters:
value- the new value of the 'Right' attribute.- See Also:
-
unsetRight
void unsetRight()Unsets the value of the 'Right' attribute.- See Also:
-
isSetRight
boolean isSetRight()Returns whether the value of the 'Right' attribute is set.- Returns:
- whether the value of the 'Right' attribute is set.
- See Also:
-
scaledInstance
Returns a new instance with scaled members w.r.t this instance. NOTE: Manually written- Parameters:
dScale-- Returns:
-
set
void set(double dTop, double dLeft, double dBottom, double dRight) A convenience method for setting all members of an existing instance NOTE: Manually written- Parameters:
dTop-dLeft-dBottom-dRight-
-
areLessThan
boolean areLessThan(double dValue) A convenience method provdided to detect if all members are below a certain value NOTE: Manually written- Returns:
-
copyInstance
Insets copyInstance()- Specified by:
copyInstancein interfaceIChartObject
-