gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/lava/gzz/loom Cursor.java


From: Benja Fallenstein
Subject: [Gzz-commits] gzz/lava/gzz/loom Cursor.java
Date: Wed, 26 Feb 2003 08:38:24 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      03/02/26 08:38:24

Modified files:
        lava/gzz/loom  : Cursor.java 

Log message:
        javadoc

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/lava/gzz/loom/Cursor.java.diff?tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: gzz/lava/gzz/loom/Cursor.java
diff -u gzz/lava/gzz/loom/Cursor.java:1.8 gzz/lava/gzz/loom/Cursor.java:1.9
--- gzz/lava/gzz/loom/Cursor.java:1.8   Sun Feb 23 18:44:56 2003
+++ gzz/lava/gzz/loom/Cursor.java       Wed Feb 26 08:38:24 2003
@@ -35,9 +35,21 @@
  */
 public class Cursor {
 
+    /** The focused node, usually shown in the middle of the screen. "Where 
you are."
+     */
     public Resource focus;
-    public int dir;
+
+    /** The 'selected' node, left/right of the focused node. "Where you go."
+     *  This can be either left or right of the focus.
+     */
     public RDFNode rotation;
+
+    /** The direction of the rotation from the focus: Posward (+1) or negward 
(-1).
+     *  If there is no rotation (rotation == null), this is zero.
+     *  The idea is that the same node can be right and left of the focus,
+     *  and we need to know which one's the rotation we're speaking about.
+     */
+    public int dir;
 
     /** The comparator used to order the nodes in the graph.
      *  The vertical order of nodes is determined by this Comparator.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]