|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.zfqjava.swing.event.DataGridModelEvent
Field Summary | |
static int |
CELL_ALL
Identifies the cell all object. |
static int |
CELL_ATTRIBUTES
Identifies the cell attributes. |
static int |
CELL_CLASS
Identifies the cell class. |
static int |
CELL_EDITABLE
Identifies the cell editable value. |
static int |
CELL_SPAN
Identifies the cell span. |
static int |
CELL_VALUE
Identifies the cell value. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DataGridModelEvent(java.lang.Object source,
int type,
int rowIndex,
int columnIndex)
The specified cells attributes or span or class or editable has changed. |
|
DataGridModelEvent(java.lang.Object source,
int type,
int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
The specified cells attributes or span or class or editable has changed. |
Method Summary | |
int |
getFirstColumn()
Returns the first column has changed. |
int |
getFirstRow()
Returns the first row has changed. |
int |
getLastColumn()
Returns the last column has changed. |
int |
getLastRow()
Returns the last row has changed. |
int |
getType()
Returns the cell changed type. |
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 CELL_ATTRIBUTES
public static final int CELL_CLASS
public static final int CELL_EDITABLE
public static final int CELL_SPAN
public static final int CELL_VALUE
public static final int CELL_ALL
Constructor Detail |
public DataGridModelEvent(java.lang.Object source, int type, int rowIndex, int columnIndex)
source
- the event sourcetype
- the event type, One of 6 legal values:
rowIndex
- the row index of the specified cellcolumnIndex
- the column index of the specified cellpublic DataGridModelEvent(java.lang.Object source, int type, int firstRow, int lastRow, int firstColumn, int lastColumn)
source
- the event sourcetype
- the event type, One of 6 legal values:
firstRow
- the first row index of the specified cell arealastRow
- the last row index of the specified cell areafirstColumn
- the first column index of the specified cell arealastColumn
- the last column index of the specified cell areaMethod Detail |
public int getType()
public int getFirstRow()
public int getFirstColumn()
public int getLastRow()
public int getLastColumn()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |