|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Location'. This type defines the location of an element.
The following features are supported:
AttributePackage.getLocation()| Method Summary | |
double |
getX()
Returns the value of the 'X' attribute. |
double |
getY()
Returns the value of the 'Y' attribute. |
boolean |
isSetX()
Returns whether the value of the ' X' attribute is set. |
boolean |
isSetY()
Returns whether the value of the ' Y' attribute is set. |
void |
scale(double dScale)
Causes the internal (x,y) values to be scaled by a relative (dScale) value |
void |
set(double dX,
double dY)
A convenience method for defining member variables NOTE: Manually created |
void |
setX(double value)
Sets the value of the ' X' attribute. |
void |
setY(double value)
Sets the value of the ' Y' attribute. |
void |
translate(double dTranslateX,
double dTranslateY)
Causes the internal (x,y) values to be translated by a relative value of (dTranslateX, dTranslateY) |
void |
unsetX()
Unsets the value of the ' X' attribute. |
void |
unsetY()
Unsets the value of the ' Y' 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 getX()
isSetX(),
unsetX(),
setX(double),
AttributePackage.getLocation_X()public void setX(double value)
X' attribute. Sets the 'X' co-ordinate component of the location.
value - the new value of the 'X' attribute.isSetX(),
unsetX(),
getX()public void unsetX()
X' attribute.
isSetX(),
getX(),
setX(double)public boolean isSetX()
X' attribute is set.
unsetX(),
getX(),
setX(double)public double getY()
isSetY(),
unsetY(),
setY(double),
AttributePackage.getLocation_Y()public void setY(double value)
Y' attribute. Sets the 'Y' co-ordinate component of the location.
value - the new value of the 'Y' attribute.isSetY(),
unsetY(),
getY()public void unsetY()
Y' attribute.
isSetY(),
getY(),
setY(double)public boolean isSetY()
Y' attribute is set.
unsetY(),
getY(),
setY(double)
public void set(double dX,
double dY)
dX - dY -
public void translate(double dTranslateX,
double dTranslateY)
public void scale(double dScale)
dScale -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||