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

Diff of /gzz/gzz/view/CellHBox.java

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

revision 1.11 by benja, Sat Nov 23 13:44:20 2002 UTC revision 1.12 by benja, Sun Dec 29 02:01:41 2002 UTC
# Line 59  public class CellHBox implements HBox { Line 59  public class CellHBox implements HBox {
59      public float getDepth(float scale) {      public float getDepth(float scale) {
60          return 0;          return 0;
61      }      }
62        
63        public int getLength() {
64            return 1;
65        }
66    
67        public float getX(int i, float scale) {
68            if(i < 0 || i > 1) throw new IndexOutOfBoundsException(""+i);
69            if(i == 0) return 0;
70            else return getWidth(scale);
71        }
72    
73      public Object getKey() {      public Object getKey() {
74          return cell;          return cell;

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