|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.view.buoy.BuoyAdaptor
A class that allows different cell-based views to be connected easily to a buoy view, separating the viewing and linking.
Field Summary | |
CellBuoyViewLinker[] |
cellLinkers
The cell-to-X link types used by the current instance. |
CellBuoyViewNodeType[] |
cellNodes
The cell node types used by the current instance. |
static boolean |
dbg
|
Constructor Summary | |
BuoyAdaptor()
|
Method Summary | |
BuoyViewMainNode |
createMainNode(java.lang.Object linkId,
java.lang.Object anchor,
BuoyLinkListener l)
Focus was set to the buoy -- create an object that knows the user interface and motion in that space. |
java.lang.Object |
getSize(java.lang.Object linkId,
java.lang.Object anchor,
float[] wh)
Get the ideal size for this buoy. |
int |
renderBuoy(VobScene vs,
int into,
java.lang.Object linkId,
java.lang.Object anchor,
java.lang.Object cachedSize)
Render portion of the view relevant to linkId and anchor into the given box. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean dbg
public CellBuoyViewNodeType[] cellNodes
public CellBuoyViewLinker[] cellLinkers
Constructor Detail |
public BuoyAdaptor()
Method Detail |
public java.lang.Object getSize(java.lang.Object linkId, java.lang.Object anchor, float[] wh)
BuoyViewNodeType
getSize
in interface BuoyViewNodeType
public int renderBuoy(VobScene vs, int into, java.lang.Object linkId, java.lang.Object anchor, java.lang.Object cachedSize)
BuoyViewNodeType
renderBuoy
in interface BuoyViewNodeType
public BuoyViewMainNode createMainNode(java.lang.Object linkId, java.lang.Object anchor, BuoyLinkListener l)
BuoyViewNodeType
createMainNode
in interface BuoyViewNodeType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |