IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.5.0

javax.accessibility
Interface AccessibleTableModelChange

All Known Implementing Classes:
JTable.AccessibleJTable.AccessibleJTableModelChange

public interface AccessibleTableModelChange

The AccessibleTableModelChange interface describes a change to the table model. The attributes of the model change can be obtained by the following methods:

  • public int getType()
  • public int getFirstRow();
  • public int getLastRow();
  • public int getFirstColumn();
  • public int getLastColumn();
The model change type returned by getType() will be one of:
  • INSERT - one or more rows and/or columns have been inserted
  • UPDATE - some of the table data has changed
  • DELETE - one or more rows and/or columns have been deleted
The affected area of the table can be determined by the other four methods which specify ranges of rows and columns

See Also:
Accessible, Accessible.getAccessibleContext(), AccessibleContext, AccessibleContext.getAccessibleTable()

Field Summary
static int DELETE
          Identifies the deletion of rows and/or columns.
static int INSERT
          Identifies the insertion of new rows and/or columns.
static int UPDATE
          Identifies a change to existing data.
 
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
 

Field Detail

INSERT

static final int INSERT
Identifies the insertion of new rows and/or columns.

See Also:
Constant Field Values

UPDATE

static final int UPDATE
Identifies a change to existing data.

See Also:
Constant Field Values

DELETE

static final int DELETE
Identifies the deletion of rows and/or columns.

See Also:
Constant Field Values
Method Detail

getType

int getType()
Returns the type of event

See Also:
INSERT, UPDATE, DELETE

getFirstRow

int getFirstRow()
Returns the first row that changed.


getLastRow

int getLastRow()
Returns the last row that changed.


getFirstColumn

int getFirstColumn()
Returns the first column that changed.


getLastColumn

int getLastColumn()
Returns the last column that changed.


Copyright 2003 Sun Microsystems, Inc. All rights reserved