/[gzz]/gzz/gzz/view/CellVobFactory.java
ViewVC logotype

Diff of /gzz/gzz/view/CellVobFactory.java

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

revision 1.18 by benja, Tue Oct 1 13:06:10 2002 UTC revision 1.19 by benja, Thu Oct 3 18:50:37 2002 UTC
# Line 60  public static final String rcsid = "$Id$ Line 60  public static final String rcsid = "$Id$
60      //CellContentView ccv = new SpanCellContentView(style);      //CellContentView ccv = new SpanCellContentView(style);
61      //CellContentView ccv = new LinebrokenCellContentView(style);      //CellContentView ccv = new LinebrokenCellContentView(style);
62            
63        /** The ccv to use, if any. XXX hack for demo, remove
64         */
65        CellContentView cellContentView = null; // use viewcontext's by default
66        public CellVobFactory() {}
67        public CellVobFactory(CellContentView ccv) { cellContentView = ccv; }
68        
69      Dim d_clone;      Dim d_clone;
70      /*      /*
71      Dim d_cursor;      Dim d_cursor;
# Line 132  public static final String rcsid = "$Id$ Line 138  public static final String rcsid = "$Id$
138          if(d_clone == null)          if(d_clone == null)
139              throw new NullPointerException("clone dim not set in CellVobFactory");              throw new NullPointerException("clone dim not set in CellVobFactory");
140                            
141          final CellContentView ccv = context.getCellContentView();          final CellContentView ccv =
142                cellContentView != null ? cellContentView : context.getCellContentView();
143    
144          final RectBgVob bg = new RectBgVob();          final RectBgVob bg = new RectBgVob();
145    

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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