|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jcreme.swing.table.TableColorModelEvent
Describes what changed in a TableColorModel.
Field Summary | |
static int |
ALL_COLUMNS
This constant signals that all the column colors changed. |
static int |
ALL_ROWS
This constant signals that all the row colors changed. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TableColorModelEvent(java.lang.Object source)
Creates new TableColorModelEvent |
|
TableColorModelEvent(java.lang.Object source,
int row)
Creates new TableColorModelEvent |
|
TableColorModelEvent(java.lang.Object source,
int row,
int column)
Creates new TableColorModelEvent |
|
TableColorModelEvent(java.lang.Object source,
int minRow,
int maxRow,
int column)
Creates new TableColorModelEvent |
Method Summary | |
int |
getColumn()
Gives access to the index of the column that changed. |
int |
getMaxRow()
Gives access to the last row index that changed. |
int |
getMinRow()
Gives access to the first row index that changed. |
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_ROWS
public static final int ALL_COLUMNS
Constructor Detail |
public TableColorModelEvent(java.lang.Object source)
source
- the TableColorModel that changed.public TableColorModelEvent(java.lang.Object source, int row)
source
- the TableColorModel that changed.row
- the row that changed color.public TableColorModelEvent(java.lang.Object source, int row, int column)
source
- the TableColorModel that changed.row
- the row that changed color.column
- the column that changed color.public TableColorModelEvent(java.lang.Object source, int minRow, int maxRow, int column)
source
- the TableColorModel that changed.minRow
- the first row that changed color.maxRow
- the last row that changed color.column
- the column that changed color.Method Detail |
public int getColumn()
public int getMinRow()
public int getMaxRow()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |