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

  1.  
  2. package sub_arctic.lib;
  3.  
  4. /** 
  5.  * A (very) simple interactor that does nothing but take up space. 
  6.  *
  7.  * @author Scott Hudson
  8.  */
  9. public class spacer extends base_interactor {
  10.   /* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
  11.  
  12.   /** 
  13.    * Full constructor. 
  14.    * @param int xv initial x position of the interactor.
  15.    * @param int yv initial y position of the interactor.
  16.    * @param int wv initial width of the interactor.
  17.    * @param int hv initial height of the interactor.
  18.    */
  19.   public spacer(int xv, int yv, int wv, int hv)
  20.     {
  21.       super(xv,yv,wv,hv);
  22.     }
  23.  
  24.   /* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
  25.  
  26.   /** 
  27.    * Constructor assuming default position of 0,0.
  28.    * @param int wv initial width of the interactor.
  29.    * @param int hv initial height of the interactor.
  30.    */
  31.   public spacer(int wv, int hv)
  32.     {
  33.       super(0,0,wv,hv);
  34.     }
  35.  
  36.   /* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
  37.  
  38.   /** 
  39.    * Constructor assuming default position of 0,0, and (temporary) 
  40.    * default size.  Typically size will be constrained to something. 
  41.    */ 
  42.   public spacer()
  43.     {
  44.       super(0,0,64,64);
  45.     }
  46.  
  47.   /* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
  48. }
  49. /*=========================== COPYRIGHT NOTICE ===========================
  50.  
  51. This file is part of the subArctic user interface toolkit.
  52.  
  53. Copyright (c) 1996 Scott Hudson and Ian Smith
  54. All rights reserved.
  55.  
  56. The subArctic system is freely available for most uses under the terms
  57. and conditions described in 
  58.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  59. and appearing in full in the lib/interactor.java source file.
  60.  
  61. The current release and additional information about this software can be 
  62. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  63.  
  64. ========================================================================*/
  65.