|
NextApp Echo 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
nextapp.echo.event.TableModelEvent
An event describing a change to a TableModel.
Table
,
TableModelListener
,
TableModel
,
Serialized FormField Summary | |
static int |
ALL_COLUMNS
A value for columns parameters indicating all columns were affected. |
static int |
DELETE
An event type indicating table rows were deleted. |
static int |
HEADER_ROW
A value for rows parameters indicating the table header was affected. |
static int |
INSERT
An event type indicating table rows were inserted. |
static int |
STRUCTURE_CHANGED
An event type indicating the table structure was modified. |
static int |
UPDATE
An event type indicating table rows were updated. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TableModelEvent(TableModel source)
Creates a TableModelEvent indicating a change to any or all cells of table. |
|
TableModelEvent(TableModel source,
int row)
Creates a TableModelEvent indicating a change to any or all columns of a table row. |
|
TableModelEvent(TableModel source,
int firstRow,
int lastRow)
Creates a TableModelEvent indicating a change to any or all columns of an interval of table rows. |
|
TableModelEvent(TableModel source,
int column,
int firstRow,
int lastRow)
Creates a TableModelEvent indicating a change to a particular column of a single or an interval of table rows. |
|
TableModelEvent(TableModel source,
int column,
int firstRow,
int lastRow,
int type)
Creates a TableModelEvent indicating a particular type of change to a particular column of a single or an interval of table rows. |
Method Summary | |
int |
getColumn()
Returns the column that was affected by the update. |
int |
getFirstRow()
Returns the first row that was affected by the update. |
int |
getLastRow()
Returns the last row that was affected by the update. |
int |
getType()
Returns the type of update that occurred. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ALL_COLUMNS
public static final int HEADER_ROW
public static final int DELETE
public static final int INSERT
public static final int UPDATE
public static final int STRUCTURE_CHANGED
Constructor Detail |
public TableModelEvent(TableModel source)
source
- The source of the TableModelEvent.public TableModelEvent(TableModel source, int row)
source
- The source of the TableModelEvent.row
- The table row affected by the update.public TableModelEvent(TableModel source, int firstRow, int lastRow)
source
- The source of the TableModelEvent.firstRow
- The first table row affected by the update.lastRow
- The last table row affected by the update.public TableModelEvent(TableModel source, int column, int firstRow, int lastRow)
source
- The source of the TableModelEvent.column
- The column that was affected by the update.firstRow
- The first table row affected by the update.lastRow
- The last table row affected by the update.public TableModelEvent(TableModel source, int column, int firstRow, int lastRow, int type)
source
- The source of the TableModelEvent.column
- The column that was affected by the update.firstRow
- The first table row affected by the update.lastRow
- The last table row affected by the update.type
- The type of change that occurred, one of the following
values:
Method Detail |
public int getColumn()
public int getFirstRow()
public int getLastRow()
public int getType()
|
NextApp Echo 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |