< prev index next >

src/java.desktop/share/classes/javax/swing/JTable.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 6796,6837 **** --- 6796,6870 ---- * 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 >