com.jidesoft.grid
Interface RolloverTableUtils.AutoCellAction
- Enclosing class:
- RolloverTableUtils
public static interface RolloverTableUtils.AutoCellAction
Method Summary |
boolean |
isEditable(JTable table,
MouseEvent e,
int row,
int column)
Check if the cell should be edited when the mouse is over. |
boolean |
isRollover(JTable table,
MouseEvent e,
int row,
int column)
Check if the cell should enter rollover mode when the mouse is over. |
isEditable
boolean isEditable(JTable table,
MouseEvent e,
int row,
int column)
- Check if the cell should be edited when the mouse is over. If true, we will call editCellAt method to start
editing automatically.
- Parameters:
table
- the tablee
- the mouse event if any. It could be null.row
- the row indexcolumn
- the column index
- Returns:
- true or false.
isRollover
boolean isRollover(JTable table,
MouseEvent e,
int row,
int column)
- Check if the cell should enter rollover mode when the mouse is over. If true, we will call rolloverCellAt
(only on JideTable) method to start editing automatically.
- Parameters:
table
- the tablee
- the mouse event if any. It could be null.row
- the row indexcolumn
- the column index
- Returns:
- true or false.