fr.ove.openmath.jome.ctrlview.bidim
Interface Localisable

All Known Subinterfaces:
Displayable
All Known Implementing Classes:
Display, DisplayableImpl

public interface Localisable

Interface that must implement all objects that want to be located.

Version:
2.0 29/06/1999
Author:
© 1999 DIRAT Laurent

Method Summary
 java.awt.Point getLocation()
          Returns the location of the instance.
 int getX()
          Returns the x-location of the instance.
 int getY()
          Returns the y-location of the instance.
 void setLocation(int x, int y)
          Sets the location of the instance.
 void setLocation(java.awt.Point location)
          Sets the location of the instance.
 void setX(int x)
          Sets the x-location of the instance.
 void setY(int y)
          Sets the y-location of the instance.
 

Method Detail

setX

public void setX(int x)
Sets the x-location of the instance.

Parameters:
x - the x-location of the instance.

getX

public int getX()
Returns the x-location of the instance.


setY

public void setY(int y)
Sets the y-location of the instance.

Parameters:
y - the y-location of the instance.

getY

public int getY()
Returns the y-location of the instance.


setLocation

public void setLocation(int x,
                        int y)
Sets the location of the instance.

Parameters:
x - the x-location of the instance.
y - the y-location of the instance.

setLocation

public void setLocation(java.awt.Point location)
Sets the location of the instance.

Parameters:
location - the location of the instance.

getLocation

public java.awt.Point getLocation()
Returns the location of the instance.

Returns:
A Point representing the location of the instance.


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.