/[gzz]/gzz/gzz/view/buoy/BuoyViewNodeType.java
ViewVC logotype

Diff of /gzz/gzz/view/buoy/BuoyViewNodeType.java

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

revision 1.4 by tjl, Tue Feb 4 15:09:51 2003 UTC revision 1.5 by tjl, Wed Feb 5 20:21:05 2003 UTC
# Line 6  import gzz.vob.*; Line 6  import gzz.vob.*;
6  /** An interface representing a single node of the buoy view.  /** An interface representing a single node of the buoy view.
7   */   */
8  public interface BuoyViewNodeType {  public interface BuoyViewNodeType {
9    
10        /** Get the ideal size for this buoy.
11         * @return An object that, if passed to renderBuoy, may help
12         *          performance a little.
13         */
14        Object getSize(Object linkId, Object anchor, float[] wh);
15    
16      /** Render portion of the view relevant to linkId and anchor      /** Render portion of the view relevant to linkId and anchor
17       * into the given box. This should not have any side effects.       * into the given box. This should not have any side effects.
18       */       */
19      void renderBuoy(VobScene vs, int into, Object linkId, Object anchor);      void renderBuoy(VobScene vs, int into, Object linkId, Object anchor,
20                            Object cachedSize);
21    
22      /** Focus was set to the buoy -- create an object that knows      /** Focus was set to the buoy -- create an object that knows
23       * the user interface and motion in that space.       * the user interface and motion in that space.

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

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