gzz.view
Class CoordinatePlaneView

java.lang.Object
  |
  +--gzz.view.CoordinatePlaneView
All Implemented Interfaces:
View

public class CoordinatePlaneView
extends java.lang.Object
implements View

A view which shows a single rank of cells, at coordinates given in the structure. For use in PP, but generalizable; possibly a step into floatingworld ideas. Currently, most things are hardcoded but we can work on that later.


Nested Class Summary
 
Nested classes inherited from class gzz.view.View
View.NamedView
 
Field Summary
static boolean dbg
           
static java.lang.String rcsid
           
 
Constructor Summary
CoordinatePlaneView(Dim d_rank, Dim d_coords)
           
 
Method Summary
 int getCursorBox()
          Get the box into which the cursor cell was placed.
 void render(VobScene vs, int into, ViewContext context)
          Draw a representation of the structure into a VobScene.
 void render(VobScene vs, int into, ViewContext context, int cullCS)
          Render with culling.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcsid

public static final java.lang.String rcsid
See Also:
Constant Field Values

dbg

public static boolean dbg
Constructor Detail

CoordinatePlaneView

public CoordinatePlaneView(Dim d_rank,
                           Dim d_coords)
Method Detail

getCursorBox

public int getCursorBox()
Get the box into which the cursor cell was placed.


render

public void render(VobScene vs,
                   int into,
                   ViewContext context)
Description copied from interface: View
Draw a representation of the structure into a VobScene.

Specified by:
render in interface View
Parameters:
vs - The VobScene to render vobs into.
context - Metadata about what to render (e.g. cursor position).

render

public void render(VobScene vs,
                   int into,
                   ViewContext context,
                   int cullCS)
Render with culling.

Parameters:
cullCS - is the clip cs or under zero if not used.