/[fenfire]/fenfire/org/fenfire/view/TextNodeView.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/TextNodeView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mudyc, Tue Jul 1 16:33:33 2003 UTC revision 1.10 by tjl, Mon Jul 28 08:22:32 2003 UTC
# Line 26  TextNodeView.java Line 26  TextNodeView.java
26   * Written by Benja Fallenstein   * Written by Benja Fallenstein
27   */   */
28  package org.fenfire.view;  package org.fenfire.view;
 import org.fenfire.view.lava.*;  
29  import org.fenfire.swamp.*;  import org.fenfire.swamp.*;
30  import org.nongnu.alph.*;  import org.nongnu.alph.*;
31  import org.nongnu.libvob.*;  import org.nongnu.libvob.*;
# Line 38  import org.nongnu.libvob.vobs.*; Line 37  import org.nongnu.libvob.vobs.*;
37   *  <em>Should</em> take a width and do linebreaking;   *  <em>Should</em> take a width and do linebreaking;
38   *  currently, places text as a single very long line.   *  currently, places text as a single very long line.
39   */   */
40  public class TextNodeView extends TextHandler implements NodeFunction {  public class TextNodeView extends org.fenfire.view.lava.TextHandler
41            implements NodeFunction {
42  public static final String rcsid = "$Id$";  public static final String rcsid = "$Id$";
43      public static boolean dbg = false;      public static boolean dbg = false;
44      private static void pa(String s) { System.out.println("TextNodeView::"+s); }      private static void pa(String s) { System.out.println("TextNodeView::"+s); }
# Line 60  public static final String rcsid = "$Id$ Line 60  public static final String rcsid = "$Id$
60      private boolean hasContext = true;      private boolean hasContext = true;
61      public void setHasNoContext() { hasContext = false; }      public void setHasNoContext() { hasContext = false; }
62    
63      private FenPDFContext context = null;      private org.fenfire.view.lava.FenPDFContext context = null;
64      public void setContext(FenPDFContext context) { this.context = context; }      public void setContext(org.fenfire.view.lava.FenPDFContext context)
65        { this.context = context; }
66    
67      public Object f(ConstGraph g, Object node) {      public Object f(ConstGraph g, Object node) {
68          if (hasContext) {          if (hasContext) {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26