Class zebkit.ui.grid.CellSelectMode | <zebkit.ui.grid> |
Class to that defines grid cell selection mode. This implementation allows users single grid cell selection.
zebkit.ui.grid.CellSelectMode
(target
)
Parameters:
-
target
<zebkit.ui.grid.Grid>a target grid the selection mode instance class belongs
public | void | clearSelect ( ) |
protected
|
void | fireSelected (row, col, b) |
public | void | install (target) |
public | <Boolean> | isSelected (row, col) |
public | void | posChanged (pos, prevOffset, prevLine, prevCol) |
protected
|
void | repaintTarget (row, col) |
public | void | select (row, col, b) |
public | void | uninstall (target) |
public
chainable
clearSelect ( )
Clear all selected cells |
protected
void
fireSelected (row, col, b )
Fire selected or de-selected event. Parameters:
|
public
void
install (target )
Callback method that is called every time the select mode is attached to the given target grid component Parameters:
|
public
void
posChanged (pos, prevOffset, prevLine, prevCol )
Callback method that is called every time a grid position marker has been updated. Parameters:
|
protected
void
repaintTarget (row, col )
Force cells repainting. Parameters:
|
public
chainable
select (row, col, b )
Select or de-select the given grid cell Parameters:
|
public
void
uninstall (target )
Callback method that is called every time the select mode is detached from the given target grid component Parameters:
|