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

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

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

revision 1.1 by tjl, Mon Feb 3 06:57:50 2003 UTC revision 1.2 by tjl, Wed Feb 5 20:21:05 2003 UTC
# Line 13  public interface CellBuoyViewNodeType { Line 13  public interface CellBuoyViewNodeType {
13      /** True if this view "owns" a certain cell.      /** True if this view "owns" a certain cell.
14       */       */
15      boolean ownsCell(Cell c);      boolean ownsCell(Cell c);
16    
17        /** Get the ideal size for this buoy.
18         * @return An object that, if passed to renderBuoy, may help
19         *          performance a little.
20         */
21        Object getSize(Cell c, Object content, float[] wh);
22    
23      /** Render this view centered on a given cell.      /** Render this view centered on a given cell.
24       * @param content If not null, an object describing the part of content       * @param content If not null, an object describing the part of content
25       *                  that the view should be centered on. Can be ignored.       *                  that the view should be centered on. Can be ignored.
26       */       */
27      void renderBuoy(VobScene vs, int into, Cell c, Object content);      void renderBuoy(VobScene vs, int into, Cell c, Object content,
28                    Object cachedSize);
29    
30      BuoyViewMainNode createMainNode(Cell c, Object content, CellPlacementHook hook);      BuoyViewMainNode createMainNode(Cell c, Object content, CellPlacementHook hook);
31  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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