|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface representing a single node type of the buoy view, based on cells. This is a convenient interface for plugging in Cell-based nodes into a BuoyAdapter.
Method Summary | |
BuoyViewMainNode |
createMainNode(Cell c,
java.lang.Object content,
CellPlacementHook hook)
|
java.lang.Object |
getSize(Cell c,
java.lang.Object content,
float[] wh)
Get the ideal size for this buoy. |
boolean |
ownsCell(Cell c)
True if this view "owns" a certain cell. |
int |
renderBuoy(VobScene vs,
int into,
Cell c,
java.lang.Object content,
java.lang.Object cachedSize)
Render this view centered on a given cell. |
Method Detail |
public boolean ownsCell(Cell c)
public java.lang.Object getSize(Cell c, java.lang.Object content, float[] wh)
public int renderBuoy(VobScene vs, int into, Cell c, java.lang.Object content, java.lang.Object cachedSize)
content
- If not null, an object describing the part of content
that the view should be centered on. Can be ignored.
BuoyViewNodeType.renderBuoy(gzz.vob.VobScene, int, java.lang.Object, java.lang.Object, java.lang.Object)
public BuoyViewMainNode createMainNode(Cell c, java.lang.Object content, CellPlacementHook hook)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |