org.argouml.uml.diagram.layout
Interface LayoutedNode

All Superinterfaces:
LayoutedObject
All Known Implementing Classes:
ClassdiagramNode

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

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

Returns:
The size of this node.

getLocation

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

Returns:
The location of this node.

setLocation

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

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


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook