gzz.view
Class RowColView

java.lang.Object
  |
  +--gzz.view.RowColView
All Implemented Interfaces:
View, View.NamedView

public class RowColView
extends java.lang.Object
implements View.NamedView

A simple row/col zzstructure view. This works, but the code is UGLY. A complete rewrite would be good.

Note that this is a repeating row/col view, i.e. the same cell can be shown more than once. Repetition should be optional, but that would require a different algorithm. Note that when repetition occurs, the vob system will give up on interpolation and will jump.


Nested Class Summary
 
Nested classes inherited from class gzz.view.View
View.NamedView
 
Field Summary
 
Fields inherited from interface gzz.view.View
rcsid
 
Constructor Summary
RowColView(boolean column)
           
 
Method Summary
 java.lang.String getDefaultName()
           
 void render(VobScene sc, int into, ViewContext context)
          Draw a representation of the structure into a VobScene.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowColView

public RowColView(boolean column)
Method Detail

getDefaultName

public java.lang.String getDefaultName()
Specified by:
getDefaultName in interface View.NamedView

render

public void render(VobScene sc,
                   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:
sc - The VobScene to render vobs into.
context - Metadata about what to render (e.g. cursor position).