org.eclipse.birt.chart.model.attribute
Interface Insets

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
InsetsImpl

public interface Insets
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Insets'. This type defines the insets for an element.

The following features are supported:

See Also:
AttributePackage.getInsets()

Method Summary
 boolean areLessThan(double dValue)
          A convenience method provdided to detect if all members are below a certain value NOTE: Manually written
 Insets copyInstance()
          A convenient method to get an instance copy.
 double getBottom()
          Returns the value of the 'Bottom' attribute.
 double getLeft()
          Returns the value of the 'Left' attribute.
 double getRight()
          Returns the value of the 'Right' attribute.
 double getTop()
          Returns the value of the 'Top' attribute.
 boolean isSetBottom()
          Returns whether the value of the ' Bottom' attribute is set.
 boolean isSetLeft()
          Returns whether the value of the 'Left' attribute is set.
 boolean isSetRight()
          Returns whether the value of the 'Right' attribute is set.
 boolean isSetTop()
          Returns whether the value of the 'Top' attribute is set.
 Insets scaledInstance(double dScale)
          Returns a new instance with scaled members w.r.t this instance.
 void set(double dTop, double dLeft, double dBottom, double dRight)
          A convenience method for setting all members of an existing instance NOTE: Manually written
 void setBottom(double value)
          Sets the value of the 'Bottom' attribute.
 void setLeft(double value)
          Sets the value of the 'Left' attribute.
 void setRight(double value)
          Sets the value of the 'Right' attribute.
 void setTop(double value)
          Sets the value of the 'Top' attribute.
 void unsetBottom()
          Unsets the value of the 'Bottom' attribute.
 void unsetLeft()
          Unsets the value of the 'Left' attribute.
 void unsetRight()
          Unsets the value of the 'Right' attribute.
 void unsetTop()
          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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

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:
isSetTop(), unsetTop(), setTop(double), AttributePackage.getInsets_Top()

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:
isSetTop(), unsetTop(), getTop()

unsetTop

void unsetTop()
Unsets the value of the 'Top' attribute.

See Also:
isSetTop(), getTop(), setTop(double)

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:
unsetTop(), getTop(), setTop(double)

getLeft

double getLeft()
Returns the value of the 'Left' attribute. Specifies the left component of the insets.

Returns:
the value of the 'Left' attribute.
See Also:
isSetLeft(), unsetLeft(), setLeft(double), AttributePackage.getInsets_Left()

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:
isSetLeft(), unsetLeft(), getLeft()

unsetLeft

void unsetLeft()
Unsets the value of the 'Left' attribute.

See Also:
isSetLeft(), getLeft(), setLeft(double)

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:
unsetLeft(), getLeft(), setLeft(double)

getBottom

double getBottom()
Returns the value of the 'Bottom' attribute. Specifies the bottom component of the insets.

Returns:
the value of the 'Bottom' attribute.
See Also:
isSetBottom(), unsetBottom(), setBottom(double), AttributePackage.getInsets_Bottom()

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:
isSetBottom(), unsetBottom(), getBottom()

unsetBottom

void unsetBottom()
Unsets the value of the 'Bottom' attribute.

See Also:
isSetBottom(), getBottom(), setBottom(double)

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:
unsetBottom(), getBottom(), setBottom(double)

getRight

double getRight()
Returns the value of the 'Right' attribute. Specifies the right component of the insets.

Returns:
the value of the 'Right' attribute.
See Also:
isSetRight(), unsetRight(), setRight(double), AttributePackage.getInsets_Right()

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:
isSetRight(), unsetRight(), getRight()

unsetRight

void unsetRight()
Unsets the value of the 'Right' attribute.

See Also:
isSetRight(), getRight(), setRight(double)

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:
unsetRight(), getRight(), setRight(double)

scaledInstance

Insets scaledInstance(double dScale)
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()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().



Copyright © 2005-2008 Actuate Corp. All rights reserved.