< prev index next >
src/java.desktop/share/classes/javax/swing/JTable.java
Print this page
@@ -6796,42 +6796,75 @@
* Describes a change in the accessible table model.
*/
protected class AccessibleJTableModelChange
implements AccessibleTableModelChange {
+ /** The type */
protected int type;
+ /** The first row */
protected int firstRow;
+ /** The last row */
protected int lastRow;
+ /** The first column */
protected int firstColumn;
+ /** The last column */
protected int lastColumn;
+ /**
+ * Constructs an {@code AccessibleJTableModelChange}.
+ * @param type the type
+ * @param firstRow the first row
+ * @param lastRow the last row
+ * @param firstColumn the first column
+ * @param lastColumn the last column
+ */
protected AccessibleJTableModelChange(int type, int firstRow,
int lastRow, int firstColumn,
int lastColumn) {
this.type = type;
this.firstRow = firstRow;
this.lastRow = lastRow;
this.firstColumn = firstColumn;
this.lastColumn = lastColumn;
}
+ /**
+ * Returns the type.
+ * @return the type
+ */
public int getType() {
return type;
}
+ /**
+ * Returns the first row.
+ * @return the first row
+ */
public int getFirstRow() {
return firstRow;
}
+ /**
+ * Returns the last row.
+ * @return the last row
+ */
public int getLastRow() {
return lastRow;
}
+ /**
+ * Returns the first column.
+ * @return the first column
+ */
public int getFirstColumn() {
return firstColumn;
}
+ /**
+ * Returns the last column.
+ * @return the last column
+ */
public int getLastColumn() {
return lastColumn;
}
}
< prev index next >