org.openmali.types.twodee
Interface Positioned2i

All Superinterfaces:
Positioned2iRO
All Known Subinterfaces:
ExtPositioned2i
All Known Implementing Classes:
ExtRect2i, Rect2i

public interface Positioned2i
extends Positioned2iRO

A Positioned2i class provides getters and setters for the position.


Method Summary
 Positioned2i setLocation(int left, int top)
          Sets the position.
 Positioned2i setLocation(Tuple2i location)
          Sets the position.
 
Methods inherited from interface org.openmali.types.twodee.Positioned2iRO
getLeft, getLocation, getTop
 

Method Detail

setLocation

Positioned2i setLocation(int left,
                         int top)
Sets the position.

Parameters:
left -
top -
Returns:
true, if the location actually has changed

setLocation

Positioned2i setLocation(Tuple2i location)
Sets the position.

Parameters:
location -
Returns:
true, if the location actually has changed