Runtime

org.eclipse.gmf.runtime.notation
Interface Location

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LayoutConstraint, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Bounds
All Known Implementing Classes:
BoundsImpl, LocationImpl

public interface Location
extends LayoutConstraint

A representation of the model object 'Location'.

The location constraint specifies the position of a node

The following features are supported:

See Also:
NotationPackage.getLocation()
** Generated **
Model:

Method Summary
 int getX()
          Returns the value of the 'X' attribute.
 int getY()
          Returns the value of the 'Y' attribute.
 void setX(int value)
          Sets the value of the 'X' attribute
 void setY(int value)
          Sets 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

getX

int getX()
Returns the value of the 'X' attribute. The default value is "0".

Returns:
the value of the 'X' attribute.
See Also:
setX(int), NotationPackage.getLocation_X()
** Generated **
Model:
default="0"

setX

void setX(int value)
Sets the value of the 'X' attribute.

Parameters:
value - the new value of the 'X' attribute.
See Also:
getX()
** Generated **

getY

int getY()
Returns the value of the 'Y' attribute. The default value is "0".

Returns:
the value of the 'Y' attribute.
See Also:
setY(int), NotationPackage.getLocation_Y()
** Generated **
Model:
default="0"

setY

void setY(int value)
Sets the value of the 'Y' attribute.

Parameters:
value - the new value of the 'Y' attribute.
See Also:
getY()
** Generated **

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.