/**
  * Reimplementación del método mouseDragged de Behavior.
  *
  * @param e MouseEvent
  * @throws BehaviorException
  */
 public void mouseDragged(MouseEvent e) throws BehaviorException {
   super.mouseDragged(e);
   PointEvent event = new PointEvent(e.getPoint(), e);
   listener.drag(event);
   dragged = true;
 }
 public void mouseMoved(MouseEvent e) throws BehaviorException {
   super.mouseMoved(e);
   PointEvent event = new PointEvent(e.getPoint(), e);
   listener.move(event);
 }
 /**
  * Reimplementación del método mouseReleased de Behavior.
  *
  * @param e MouseEvent
  * @throws BehaviorException Excepción lanzada cuando el Behavior.
  */
 public void mouseReleased(MouseEvent e) throws BehaviorException {
   super.mouseReleased(e);
   PointEvent event = new PointEvent(e.getPoint(), e);
   listener.release(event);
   dragged = false;
 }