org.diamondspin
Interface DSStrokeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DSStrokeAdapter

public interface DSStrokeListener
extends EventListener

A DSStrokeListener is an interface to listen Stroke events.

Copyright 2002-2009 DiamondSpin project. All Rights Reserved.

Permission to use, copy, modify and distribute this software and its documentation for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and the following three paragraphs appear in all copies.

To request Permission to incorporate this software into commercial products contact one of the authors of the project.
  • Frederic Vernier (frederic.vernier@limsi.fr)
  • Chia Shen (chia_shen@harvard.edu)
  • Guillaume Besacier (guillaume.besacier@limsi.fr)
  • Daniel Wigdor (dwigdor@microsoft.com)

IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

THE AUTHORS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHORS HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

Creation date : 9 april 2001

Version:
: 1.0
Author:
: Frederic vernier, Guillaume Besacier, Gaetan Rey

Method Summary
 void strokeDrawn(DSStrokeEvent DSStrokeEvent_Arg)
          Invoked when a DSStroke is getting one more point in the stroke
 void strokeFinished(DSStrokeEvent DSStrokeEvent_Arg)
          Invoked when a DSStroke is finished
 void strokeStarted(DSStrokeEvent DSStrokeEvent_Arg)
          Invoked when a DSStroke is started.
 boolean strokeStarting(DSStrokeEvent DSStrokeEvent_Arg)
          Invoked when a DSStroke is starting.
 

Method Detail

strokeStarting

boolean strokeStarting(DSStrokeEvent DSStrokeEvent_Arg)
Invoked when a DSStroke is starting. Return fakse if you do not agree

Parameters:
DSStrokeEvent_Arg - Description of the Parameter

strokeStarted

void strokeStarted(DSStrokeEvent DSStrokeEvent_Arg)
Invoked when a DSStroke is started.

Parameters:
DSStrokeEvent_Arg - Description of the Parameter

strokeFinished

void strokeFinished(DSStrokeEvent DSStrokeEvent_Arg)
Invoked when a DSStroke is finished

Parameters:
DSStrokeEvent_Arg - Description of the Parameter

strokeDrawn

void strokeDrawn(DSStrokeEvent DSStrokeEvent_Arg)
Invoked when a DSStroke is getting one more point in the stroke

Parameters:
DSStrokeEvent_Arg - Description of the Parameter


Copyright © 2006 Frederic Vernier(LIMSI) Chia Shen(MERL) Guillaume Besacier(LIMSI). All Rights Reserved.