org.fenfire.loom
Class SimpleView

java.lang.Object
  |
  +--org.fenfire.loom.SimpleView
All Implemented Interfaces:
View

public class SimpleView
extends java.lang.Object
implements View

A very simple view of an RDF graph. Example:

      neg1 \
      neg2 \       / pos1
      neg3 - focus - pos2
      neg4 /       \ pos3
      neg5 /
  


Field Summary
protected  Vob conn
           
protected  int gapx
           
protected  int gapy
           
protected  NodeView nodeView
          The view used to show the individual nodes.
protected  int sizex
           
protected  int sizey
           
 
Constructor Summary
SimpleView(NodeView nodeView)
           
 
Method Summary
 void render(VobScene sc, int into, Cursor c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeView

protected NodeView nodeView
The view used to show the individual nodes.


conn

protected final Vob conn

sizex

protected int sizex

sizey

protected int sizey

gapx

protected int gapx

gapy

protected int gapy
Constructor Detail

SimpleView

public SimpleView(NodeView nodeView)
Method Detail

render

public void render(VobScene sc,
                   int into,
                   Cursor c)
Specified by:
render in interface View