IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface Size

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

public interface Size
extends LayoutConstraint

A representation of the model object 'Size'.

The size constraint specifies the extents of a node

The following features are supported:

See Also:
NotationPackage.getSize()

Method Summary
 int getHeight()
          Returns the value of the 'Height' attribute.
 int getWidth()
          Returns the value of the 'Width' attribute.
 void setHeight(int value)
          Sets the value of the 'Height' attribute
 void setWidth(int value)
          Sets 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

getWidth

public int getWidth()
Returns the value of the 'Width' attribute. The default value is "-1".

Returns:
the value of the 'Width' attribute.
See Also:
setWidth(int), NotationPackage.getSize_Width()

setWidth

public void setWidth(int value)
Sets the value of the 'Width' attribute.

Parameters:
value - the new value of the 'Width' attribute.
See Also:
getWidth()

getHeight

public int getHeight()
Returns the value of the 'Height' attribute. The default value is "-1".

Returns:
the value of the 'Height' attribute.
See Also:
setHeight(int), NotationPackage.getSize_Height()

setHeight

public void setHeight(int value)
Sets the value of the 'Height' attribute.

Parameters:
value - the new value of the 'Height' attribute.
See Also:
getHeight()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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