gzz.view.buoy
Interface BuoyViewMainNode

gzz.view.buoy.CellBuoyViewLinker gzz.view.buoy.BuoyViewNodeType gzz.view.buoy.BuoyViewMainNode gzz.view.buoy.ScrollblockCellLinker ../../../../pegboard/buoydesign--tjl/peg.gen.html#PageSpanSemiPluggableBuoyNodes PageSpanSemiPluggableBuoyNodes_small gzz.view.buoy.BuoyViewNodeType gzz.view.buoy.BuoyViewMainNode gzz.view.buoy.BuoyLinkListener gzz.view.buoy.BuoyAdaptor BuoyAdaptor.LinkAdaptor gzz.view.CellPlacementHook gzz.view.buoy.CellBuoyViewNodeType gzz.view.buoy.CellBuoyViewLinker ../../../../pegboard/buoydesign--tjl/peg.gen.html#SemiPluggableBuoys SemiPluggableBuoys_small gzz.view.buoy.BuoyLinkListener gzz.view.buoy.BuoyViewMainNode gzz.view.buoy.BuoyViewNodeType ../../../../pegboard/buoydesign--tjl/peg.gen.html#BuoyManagerBasic BuoyManagerBasic_small
public interface BuoyViewMainNode

An interface representing a single node of the buoy view. This node must keep its own information about cursor location and handle keystrokes when it is a main view.


Method Summary
 void keystroke(java.lang.String s)
          A keystroke was not interpreted to the buoy framework and is passed to this node as the main buoy.
 boolean mouse(java.awt.event.MouseEvent e, VobScene oldVobScene)
          A mouse event was not interpreted to the buoy framework and is passed to this node as the main buoy.
 void renderMain(VobScene vs, int into)
          Render this main view into the given box in the given vs.
 

Method Detail

renderMain

public void renderMain(VobScene vs,
                       int into)
Render this main view into the given box in the given vs. This call has side effects: it should callback to the BuoyLinkListener given to this BuoyViewMainNode at creation. The callbacks indicate that buoy links should be made.


keystroke

public void keystroke(java.lang.String s)
A keystroke was not interpreted to the buoy framework and is passed to this node as the main buoy.


mouse

public boolean mouse(java.awt.event.MouseEvent e,
                     VobScene oldVobScene)
A mouse event was not interpreted to the buoy framework and is passed to this node as the main buoy.

Returns:
Whether the oldVobScene can be reused. If true, this call has changed the coordsys parameters inside oldVobScene and it can be just rendered. If false, the buoy manager should regenerate the vobscene.