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