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
 Point getLocation()
          Operation getLocation returns the current location of this node.
 Dimension getSize()
          Operation getSize returns the size of this node.
 void setLocation(Point newLocation)
          Operation setLocation sets a new location for this node.
 

Method Detail

getSize

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

Returns:
The size of this node.

getLocation

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

Returns:
The location of this node.

setLocation

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

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


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