站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JTable.AccessibleJTable.AccessibleJTableModelChange (Java 2 Platform SE v1.4.1) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.1

javax.swing
Class JTable.AccessibleJTable.AccessibleJTableModelChange

java.lang.Object
  |
  +--javax.swing.JTable.AccessibleJTable.AccessibleJTableModelChange
All Implemented Interfaces:
AccessibleTableModelChange
Enclosing class:
JTable.AccessibleJTable

protected class JTable.AccessibleJTable.AccessibleJTableModelChange
extends Object
implements AccessibleTableModelChange


Field Summary
protected  int firstColumn
           
protected  int firstRow
           
protected  int lastColumn
           
protected  int lastRow
           
protected  int type
           
 
Fields inherited from interface javax.accessibility.AccessibleTableModelChange
DELETE, INSERT, UPDATE
 
Constructor Summary
protected JTable.AccessibleJTable.AccessibleJTableModelChange(int type, int firstRow, int lastRow, int firstColumn, int lastColumn)
           
 
Method Summary
 int getFirstColumn()
          Returns the first column that changed.
 int getFirstRow()
          Returns the first row that changed.
 int getLastColumn()
          Returns the last column that changed.
 int getLastRow()
          Returns the last row that changed.
 int getType()
          Returns the type of event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected int type

firstRow

protected int firstRow

lastRow

protected int lastRow

firstColumn

protected int firstColumn

lastColumn

protected int lastColumn
Constructor Detail

JTable.AccessibleJTable.AccessibleJTableModelChange

protected JTable.AccessibleJTable.AccessibleJTableModelChange(int type,
                                                              int firstRow,
                                                              int lastRow,
                                                              int firstColumn,
                                                              int lastColumn)
Method Detail

getType

public int getType()
Description copied from interface: AccessibleTableModelChange
Returns the type of event

Specified by:
getType in interface AccessibleTableModelChange
See Also:
AccessibleTableModelChange.INSERT, AccessibleTableModelChange.UPDATE, AccessibleTableModelChange.DELETE

getFirstRow

public int getFirstRow()
Description copied from interface: AccessibleTableModelChange
Returns the first row that changed.

Specified by:
getFirstRow in interface AccessibleTableModelChange

getLastRow

public int getLastRow()
Description copied from interface: AccessibleTableModelChange
Returns the last row that changed.

Specified by:
getLastRow in interface AccessibleTableModelChange

getFirstColumn

public int getFirstColumn()
Description copied from interface: AccessibleTableModelChange
Returns the first column that changed.

Specified by:
getFirstColumn in interface AccessibleTableModelChange

getLastColumn

public int getLastColumn()
Description copied from interface: AccessibleTableModelChange
Returns the last column that changed.

Specified by:
getLastColumn in interface AccessibleTableModelChange

JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.