es.prodevelop.gvsig.mobile.fmap.core
Class AbstractHandler

java.lang.Object
  extended byes.prodevelop.gvsig.mobile.fmap.core.AbstractHandler
All Implemented Interfaces:
Handler

public abstract class AbstractHandler
extends java.lang.Object
implements Handler

This utility class incresases the functionality of the Handler interface.

Author:
Vicente Caballero Navarro

Constructor Summary
AbstractHandler()
           
 
Method Summary
 boolean equalsPoint(java.lang.Object obj)
           
 java.awt.geom.Point2D getPoint()
          Returns the point associated with this handler
 boolean isSelected()
           
 void select(boolean b)
          sets the select boolean to a new value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.core.Handler
move, set
 

Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

getPoint

public java.awt.geom.Point2D getPoint()
Description copied from interface: Handler
Returns the point associated with this handler

Specified by:
getPoint in interface Handler
Returns:
gets the point associated with this handler

select

public void select(boolean b)
sets the select boolean to a new value

Parameters:
b - new select boolean value

isSelected

public boolean isSelected()
Returns:
the state of the select boolean

equalsPoint

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