|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Ratio'.
The ratio constraint specifies the size ratio of a node in its container
The following features are supported:
NotationPackage.getRatio()
Method Summary | |
double |
getValue()
Returns the value of the 'Value' attribute. |
void |
setValue(double value)
Sets the value of the ' Value ' 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 getValue()
"-1"
.
The value is the ratio of the view to its container
setValue(double)
,
NotationPackage.getRatio_Value()
public void setValue(double value)
Value
' attribute.
The value is the ratio of the view to its container
value
- the new value of the 'Value' attribute.getValue()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.