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 |
} |
} |