|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Size'. This type holds dimensions.
The following features are supported:
AttributePackage.getSize()
Method Summary | |
double |
getHeight()
Returns the value of the 'Height' attribute. |
double |
getWidth()
Returns the value of the 'Width' attribute. |
boolean |
isSetHeight()
Returns whether the value of the ' Height ' attribute is set. |
boolean |
isSetWidth()
Returns whether the value of the ' Width ' attribute is set. |
void |
scale(double dScale)
Scales the size instance as specified via the 'dScale' parameter |
Size |
scaleInstance(double dScale)
Returns a new size instance with scaled members |
void |
setHeight(double value)
Sets the value of the ' Height ' attribute. |
void |
setWidth(double value)
Sets the value of the ' Width ' attribute. |
void |
unsetHeight()
Unsets the value of the ' Height ' attribute. |
void |
unsetWidth()
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public double getHeight()
isSetHeight()
,
unsetHeight()
,
setHeight(double)
,
AttributePackage.getSize_Height()
public void setHeight(double value)
Height
' attribute.
Sets the height component of the size.
value
- the new value of the 'Height' attribute.isSetHeight()
,
unsetHeight()
,
getHeight()
public void unsetHeight()
Height
' attribute.
isSetHeight()
,
getHeight()
,
setHeight(double)
public boolean isSetHeight()
Height
' attribute is set.
unsetHeight()
,
getHeight()
,
setHeight(double)
public double getWidth()
isSetWidth()
,
unsetWidth()
,
setWidth(double)
,
AttributePackage.getSize_Width()
public void setWidth(double value)
Width
' attribute.
Sets the width component of the size.
value
- the new value of the 'Width' attribute.isSetWidth()
,
unsetWidth()
,
getWidth()
public void unsetWidth()
Width
' attribute.
isSetWidth()
,
getWidth()
,
setWidth(double)
public boolean isSetWidth()
Width
' attribute is set.
unsetWidth()
,
getWidth()
,
setWidth(double)
public void scale(double dScale)
dScale
- public Size scaleInstance(double dScale)
dScale
- The scaling factor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |