home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / INPUT / CLICK_TR.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.6 KB  |  44 lines

  1.  
  2. package sub_arctic.input;
  3.  
  4. /** 
  5.  * Input protocol interface for objects that wish to "track" (that is see,
  6.  * but not consume) all mouse press and release events.  This can be used, for
  7.  * example to rest set of releases that one would normally not see.  This
  8.  * protocol is dispatched by the click_track_agent.
  9.  *
  10.  * @see sub_arctic.input.click_track_agent
  11.  * @author Scott Hudson
  12.  */
  13. public interface click_tracking extends focusable {
  14.  
  15.   /** 
  16.    * Dispatch press and release events to the object so it can track 
  17.    * mouse button state outside its normal domain.
  18.    * 
  19.    * @param event evt the press or release event.
  20.    * @param Object the uninterpreted user information that was provided when 
  21.    *               the object established itself as a focus for this type 
  22.    *               of input.
  23.    * @return boolean whether the event was consumed (in this case this is 
  24.    *                 ignored).
  25.    */
  26.   public boolean track_click(event evt, Object user_info);
  27. }
  28. /*=========================== COPYRIGHT NOTICE ===========================
  29.  
  30. This file is part of the subArctic user interface toolkit.
  31.  
  32. Copyright (c) 1996 Scott Hudson and Ian Smith
  33. All rights reserved.
  34.  
  35. The subArctic system is freely available for most uses under the terms
  36. and conditions described in 
  37.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  38. and appearing in full in the lib/interactor.java source file.
  39.  
  40. The current release and additional information about this software can be 
  41. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  42.  
  43. ========================================================================*/
  44.