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.
Fields inherited from interface gzz.view.View |
rcsid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowColView
public RowColView(boolean column)
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).