equal
deleted
inserted
replaced
1046 resizeAndRepaint(); |
1046 resizeAndRepaint(); |
1047 } |
1047 } |
1048 |
1048 |
1049 /** |
1049 /** |
1050 * Returns the horizontal and vertical space between cells. |
1050 * Returns the horizontal and vertical space between cells. |
1051 * The default spacing is (1, 1), which provides room to draw the grid. |
1051 * The default spacing is look and feel dependent. |
1052 * |
1052 * |
1053 * @return the horizontal and vertical spacing between cells |
1053 * @return the horizontal and vertical spacing between cells |
1054 * @see #setIntercellSpacing |
1054 * @see #setIntercellSpacing |
1055 */ |
1055 */ |
1056 public Dimension getIntercellSpacing() { |
1056 public Dimension getIntercellSpacing() { |
1153 repaint(); |
1153 repaint(); |
1154 } |
1154 } |
1155 |
1155 |
1156 /** |
1156 /** |
1157 * Returns true if the table draws horizontal lines between cells, false if it |
1157 * Returns true if the table draws horizontal lines between cells, false if it |
1158 * doesn't. The default is true. |
1158 * doesn't. The default value is look and feel dependent. |
1159 * |
1159 * |
1160 * @return true if the table draws horizontal lines between cells, false if it |
1160 * @return true if the table draws horizontal lines between cells, false if it |
1161 * doesn't |
1161 * doesn't |
1162 * @see #setShowHorizontalLines |
1162 * @see #setShowHorizontalLines |
1163 */ |
1163 */ |
1165 return showHorizontalLines; |
1165 return showHorizontalLines; |
1166 } |
1166 } |
1167 |
1167 |
1168 /** |
1168 /** |
1169 * Returns true if the table draws vertical lines between cells, false if it |
1169 * Returns true if the table draws vertical lines between cells, false if it |
1170 * doesn't. The default is true. |
1170 * doesn't. The default value is look and feel dependent. |
1171 * |
1171 * |
1172 * @return true if the table draws vertical lines between cells, false if it |
1172 * @return true if the table draws vertical lines between cells, false if it |
1173 * doesn't |
1173 * doesn't |
1174 * @see #setShowVerticalLines |
1174 * @see #setShowVerticalLines |
1175 */ |
1175 */ |