/[classpath]/classpath/javax/swing/JTable.java
ViewVC logotype

Diff of /classpath/javax/swing/JTable.java

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

revision 1.37 by langel, Thu Jul 28 19:37:53 2005 UTC revision 1.38 by abalkiss, Tue Aug 2 19:25:34 2005 UTC
# Line 872  public class JTable extends JComponent Line 872  public class JTable extends JComponent
872                                 int column,                                 int column,
873                                 boolean includeSpacing)                                 boolean includeSpacing)
874    {    {
875      int height = getHeight();      int height = getRowHeight(row);
876      int width = columnModel.getColumn(column).getWidth();      int width = columnModel.getColumn(column).getWidth();
877      int x_gap = columnModel.getColumnMargin();      int x_gap = columnModel.getColumnMargin();
878      int y_gap = rowMargin;      int y_gap = rowMargin;
# Line 1100  public class JTable extends JComponent Line 1100  public class JTable extends JComponent
1100    }    }
1101    
1102    /**    /**
1103       * Get the height of the specified row.
1104       *
1105       * @param row the row whose height to return
1106       */
1107      public int getRowHeight(int row)
1108      {
1109        // FIXME: return the height of the specified row
1110        // which may be different from the general rowHeight
1111        return rowHeight;
1112      }
1113    
1114    
1115      /**
1116     * Get the value of the {@link #rowMargin} property.     * Get the value of the {@link #rowMargin} property.
1117     *     *
1118     * @return The current value of the property     * @return The current value of the property

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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