IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface Location

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

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

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

public 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()

setX

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

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

getY

public 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()

setY

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

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

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.