pl.edu.agh.cast.model.visual.backward
Interface IMoveable

All Known Implementing Classes:
Legend, Node

public interface IMoveable

Interface of a movable IDiagram element.

Author:
AGH CAST Team

Method Summary
 String getLabel()
          Returns label of movable element.
 org.eclipse.draw2d.geometry.Point getLocation()
          Returns current location of movable element.
 void setLocation(org.eclipse.draw2d.geometry.Point newLocation)
          Sets new location of movable element.
 

Method Detail

setLocation

void setLocation(org.eclipse.draw2d.geometry.Point newLocation)
Sets new location of movable element.

Parameters:
newLocation - new location point

getLocation

org.eclipse.draw2d.geometry.Point getLocation()
Returns current location of movable element.

Returns:
current element location

getLabel

String getLabel()
Returns label of movable element.

Returns:
element label


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.