/[gzz]/gzz/gzz/vob/buoy/Buoy3Floater.java
ViewVC logotype

Diff of /gzz/gzz/vob/buoy/Buoy3Floater.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tjl, Thu Sep 19 01:20:05 2002 UTC revision 1.4 by tjl, Fri Sep 27 06:34:53 2002 UTC
# Line 25  package gzz.vob.buoy; Line 25  package gzz.vob.buoy;
25    
26  /** An interface to buoy layouts. As opposed to Buoy2, here we start by  /** An interface to buoy layouts. As opposed to Buoy2, here we start by
27   * the idea that we will have several different layouts.   * the idea that we will have several different layouts.
28     * XXX Delayed until all buoys there? Or modify coords?
29   */   */
30    
31  public interface Buoy3Floater {  public interface Buoy3Floater {
# Line 36  public interface Buoy3Floater { Line 37  public interface Buoy3Floater {
37       *           It is not guaranteed that this runnable will ever be called, if the buoy       *           It is not guaranteed that this runnable will ever be called, if the buoy
38       *           layout decides that there is too much crowding.       *           layout decides that there is too much crowding.
39       * @param w,h The width and height, centered around the origin of the coordinate system.       * @param w,h The width and height, centered around the origin of the coordinate system.
40         * @return The new coordinate system.
41       */       */
42      void addBuoy(float anchorX, float anchorY, float importance,      int addBuoy(float anchorX, float anchorY, float importance,
43                      Object key, Runnable buoy, float w, float h);                      Object key, float w, float h);
44    
45      /** Add the given "buoy" as a central system (the coordinates      /** Add the given "buoy" as a central system (the coordinates
46       * are not modified except by translation).       * are not modified except by translation).
47       * This is so that it will be easy to animate       * This is so that it will be easy to animate
48       * between buoy coord systems and the center.       * between buoy coord systems and the center.
49       */       */
50      void addCentralBuoy(Object key, Runnable buoy);      int addCentralBuoy(Object key);
51  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26