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

Diff of /gzz/gzz/view/CellMagnifier.java

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

revision 1.2 by benja, Tue Dec 3 01:33:19 2002 UTC revision 1.3 by benja, Fri Dec 6 01:03:51 2002 UTC
# Line 24  package gzz.view; Line 24  package gzz.view;
24  import gzz.*;  import gzz.*;
25  import gzz.vob.*;  import gzz.vob.*;
26    
27  /** A CellInBox that delegates all calls to another CellInBox,  /** A CellView that delegates all calls to another CellView,
28   *  except that it multiplies the results of getSize() calls   *  except that it multiplies the results of getSize() calls
29   *  with a constant factor. Used for showing cells larger or smaller   *  with a constant factor. Used for showing cells larger or smaller
30   *  than the normal CellInBox would.   *  than the normal CellView would.
31   *  <p>   *  <p>
32   *  Note that this does <strong>not</strong> work by wrapping   *  Note that this does <strong>not</strong> work by wrapping
33   *  the body in a scaling coordinate set. It only provides different   *  the body in a scaling coordinate set. It only provides different
# Line 38  import gzz.vob.*; Line 38  import gzz.vob.*;
38   *  With LinebreakingCellView, magnifying the cells may allow   *  With LinebreakingCellView, magnifying the cells may allow
39   *  multiple lines of text to be shown.   *  multiple lines of text to be shown.
40   */   */
41  public class CellMagnifier extends CellInBox {  public class CellMagnifier extends CellView {
42      protected CellInBox sub;      protected CellView sub;
43      protected float factor;      protected float factor;
44    
45      public CellMagnifier(CellInBox sub, float factor) {      public CellMagnifier(CellView sub, float factor) {
46          this.sub = sub;          this.sub = sub;
47          this.factor = factor;          this.factor = factor;
48      }      }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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