home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / un2maiq4 / pjjava / src / pj / io / statefulstorycontainer.java < prev    next >
Encoding:
Java Source  |  1996-08-14  |  1.8 KB  |  64 lines

  1. /*---------------------------------------------------------------------------
  2.  
  3.     Written by the Personal Journal developers of Dow Jones & Company, Inc.
  4.  
  5.     Dow Jones makes no representations or warranties about 
  6.     the suitability of this software, either express or 
  7.     implied, including but not limited to the implied warranties 
  8.     of merchantability, fitness for a particular purpose, 
  9.     or non-infringement.  Dow Jones will not be liable for 
  10.     any damages suffered by a user as a result of using, 
  11.     modifying or distributing this software or its derivatives.
  12.  
  13.  
  14.  
  15.     @(#)StatefuleStoryContainer.java    0.00 26-Dec-95
  16.  
  17.  
  18.         Interface of a stateful container for PaperStories.
  19.  
  20.  
  21.     Authors:
  22.  
  23.         rphall      Rick Hall
  24.  
  25.  
  26.     Version Ident:
  27.  
  28.         $Header: /PjJavaClient/src/pj/io/StatefulStoryContainer.java 2     1/21/96 5:27p Rphall $
  29.  
  30.  
  31.     History:
  32.  
  33.         12/26/95    rphall      Initial Creation
  34.  
  35.  
  36. ---------------------------------------------------------------------------*/
  37.  
  38. package pj.io;
  39.  
  40. import pj.io.StoryContainer;
  41.  
  42. /**
  43.  * Interface of a stateful container for PaperStories.
  44.  * @version 0.00, 20-Dec-95
  45.  * @author     Rick Hall
  46.  */
  47.  
  48. public interface StatefulStoryContainer extends StoryContainer
  49.     {
  50.  
  51.     // --- Class variables
  52.  
  53.     public static final int stateQuiescent  = 0; // Notifications complete
  54.     public static final int stateAdding     = 1; // Number of stories is increasing
  55.     public static final int stateAdded      = 2; // Number of stories increased
  56.     public static final int stateClearing   = 3; // Number of stories is zeroing
  57.     public static final int stateCleared    = 4; // Number of stories zeroed
  58.  
  59.     // -- Public operations
  60.  
  61.     public int getState();
  62.  
  63.     };
  64.