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.
Field Summary |
static boolean |
dbg
|
static java.lang.String |
rcsid
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rcsid
public static final java.lang.String rcsid
- See Also:
- Constant Field Values
dbg
public static boolean dbg
CoordinatePlaneView
public CoordinatePlaneView(Dim d_rank,
Dim d_coords)
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.