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

Diff of /gzz/gzz/view/MultitypeCellContentView.java

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

revision 1.11 by benja, Sun Nov 24 20:40:49 2002 UTC revision 1.12 by benja, Fri Dec 6 01:03:51 2002 UTC
# Line 29  import gzz.vob.vobs.*; Line 29  import gzz.vob.vobs.*;
29  /** A cell content view that uses a text- or pagespan view, dependent  /** A cell content view that uses a text- or pagespan view, dependent
30   * on the type of content.   * on the type of content.
31   */   */
32  public class MultitypeCellContentView extends CellContentView {  public class MultitypeCellContentView extends CellView {
33      CellInBox textView, pageView, imageView;      CellView textView, pageView, imageView;
34            
35      public MultitypeCellContentView(CellInBox textView,      public MultitypeCellContentView(CellView textView,
36                                      CellInBox pageView,                                      CellView pageView,
37                                      CellInBox imageView) {                                      CellView imageView) {
38          this.textView = textView;          this.textView = textView;
39          this.pageView = pageView;          this.pageView = pageView;
40          this.imageView = imageView;          this.imageView = imageView;
41      }      }
42    
43      private CellInBox v(Cell c) {      private CellView v(Cell c) {
44          if(c == null) return textView;          if(c == null) return textView;
45          VStreamCellTexter tex = (VStreamCellTexter)c.space.getCellTexter();          VStreamCellTexter tex = (VStreamCellTexter)c.space.getCellTexter();
46          Enfilade1D enf = tex.getEnfilade(c, null);          Enfilade1D enf = tex.getEnfilade(c, null);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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