es.prodevelop.gvsig.mobile.fmap.core
Interface Handler

All Known Implementing Classes:
AbstractHandler

public interface Handler

Utility interface to manage geometries.


Method Summary
 boolean equalsPoint(java.lang.Object obj)
           
 java.awt.geom.Point2D getPoint()
          Returns the point associated with this handler
 void move(double x, double y)
          Adds an offset to this handler 'x','y'
 void set(double x, double y)
          Resets handler to new values 'x', 'y'
 

Method Detail

move

public void move(double x,
                 double y)
Adds an offset to this handler 'x','y'

Parameters:
x -
y -

set

public void set(double x,
                double y)
Resets handler to new values 'x', 'y'

Parameters:
x -
y -

getPoint

public java.awt.geom.Point2D getPoint()
Returns the point associated with this handler

Returns:
the point associated with this handler

equalsPoint

public boolean equalsPoint(java.lang.Object obj)
Parameters:
obj - the point to be compared to the current point
Returns:
whether this handler represents the same point than obj