de.uni_paderborn.fujaba.layout.classdiag.internalmodel
Interface LayoutedNode

All Superinterfaces:
LayoutedObject

public interface LayoutedNode
extends LayoutedObject

This interface has to be implemented by layouted nodes in diagrams (i.e. classes or interfaces in a classdiagram). The class has been taken from Argo UML source code.

Version:
$Revision: 1.1 $ $Date: 2005/01/24 12:30:49 $
Author:
$Author: joerg $

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.