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
 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

public 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

public 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

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

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

isSetTop

public 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

public 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

public 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

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

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

isSetLeft

public 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

public 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

public 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

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

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

isSetBottom

public 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

public 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

public 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

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

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

isSetRight

public 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

public Insets scaledInstance(double dScale)
Returns a new instance with scaled members w.r.t this instance. NOTE: Manually written

Parameters:
dScale -
Returns:

set

public 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

public boolean areLessThan(double dValue)
A convenience method provdided to detect if all members are below a certain value NOTE: Manually written

Returns:


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