home *** CD-ROM | disk | FTP | other *** search
/ Internet 1996 World Exposition / park.org.s3.amazonaws.com.7z / park.org.s3.amazonaws.com / Java / LEDSign / LED / FuncInfo.java < prev    next >
Encoding:
Java Source  |  2017-09-21  |  1.6 KB  |  51 lines

  1. ///////////////////////////////////////////////////////////////////
  2. //  FuncInfo.java   -- LED Sign V2.5
  3. //
  4. //  Contains the following classes:
  5. //      FuncInfo   -- a class (struct) to hold all the 
  6. //                    information for any function.
  7. //
  8. //  Revisions:
  9. //     V2.5: Fixed all known bugs in previous versions!  Added
  10. //           the new feature of ledsize, which allows the user
  11. //           to specify in pixels how big the LED's (1-4).
  12. //           Thanks to Robert B. Denny (rdenny@dc3.com) for
  13. //           code and input!
  14. //           Modified Dec 20-26, 1995
  15. //
  16. //     V2.0beta: Modified V1.0 to comply with Pre-Beta java.
  17. //               A problem with delay causes a jerky display.
  18. //               Modified Oct 20 - 29, 1995
  19. //
  20. //     V1.0: Written July 17 - August 6, 1995
  21. //
  22. //  by Darrick Brown
  23. //     dbrown@cs.hope.edu
  24. //     http://www.cs.hope.edu/~dbrown/
  25. //
  26. //  ⌐ Copyright 1995
  27. ///////////////////////////////////////////////////////////////////
  28.  
  29.  
  30. import java.awt.*;
  31. import java.io.*;
  32. import java.util.*;
  33. import java.net.*;
  34.  
  35. ///////////////////////////////////////////////////////////////////
  36. // The "struct" that contains all the information
  37. // than any function/transition would need.
  38. public class FuncInfo
  39. {
  40.    public int func;
  41.    public int delay;
  42.    public int startspace, endspace;
  43.    public int times, remaining;
  44.    public boolean centered;
  45.    public String color;
  46.    public String text;
  47.    public String store;  // store the original text line
  48.    public URL url;       // The url associated with this message
  49.    public linkList ret;  // pointer to the return place in the script (for loops);
  50. }
  51.