gov.nih.nci.cagrid.graph.uml.layout
Interface LayoutedNode

All Superinterfaces:
LayoutedObject
All Known Implementing Classes:
ClassdiagramNode, ClassdiagramNote

public interface LayoutedNode
extends LayoutedObject

This interface has to be implemented by layouted nodes in diagrams (i.e. classes or interfaces in a classdiagram).


Method Summary
 java.awt.Point getLocation()
          Operation getLocation returns the current location of this node.
 java.awt.Dimension getSize()
          Operation getSize returns the size of this node.
 void setLocation(java.awt.Point newLocation)
          Operation setLocation sets a new location for this node.
 

Method Detail

getSize

java.awt.Dimension getSize()
Operation getSize returns the size of this node.

Returns:
The size of this node.

getLocation

java.awt.Point getLocation()
Operation getLocation returns the current location of this node.

Returns:
The location of this node.

setLocation

void setLocation(java.awt.Point newLocation)
Operation setLocation sets a new location for this node.

Parameters:
newLocation - represents the new location for this node.