The event handler for the following functions takes a GridRangeSelectEvent parameter. The …CMD... variants also take a window identifier.
| evt_grid_range_select() { | event | ... } | The user selected a group of contiguous cells. Processes a EVT_GRID_RANGE_SELECT. |
| evt_grid_cmd_range_select() { | event | ... } | The user selected a group of contiguous cells; variant taking a window identifier. Processes a EVT_GRID_RANGE_SELECT. |
GridRangeSelectEvent.new(Integer id, EventType type,
Object obj,
Array topLeft,
Array bottomRight,
Boolean sel = true,
Boolean control = false,
Boolean shift = false,
Boolean alt = false,
Boolean meta = false)
Boolean alt_down()
Returns true if the Alt key was down at the time of the event.
Boolean control_down()
Returns true if the Control key was down at the time of the event.
Array get_bottom_right_coords()
Top left corner of the rectangular area that was (de)selected, returned as an row, column pair.
Integer get_bottom_row()
Bottom row of the rectangular area that was (de)selected.
Integer get_left_col()
Left column of the rectangular area that was (de)selected.
Integer get_right_col()
Right column of the rectangular area that was (de)selected.
Array get_top_left_coords()
Top left corner of the rectangular area that was (de)selected, returned as a row, column pair.
Integer get_top_row()
Top row of the rectangular area that was (de)selected.
Boolean meta_down()
Returns true if the Meta key was down at the time of the event.
Boolean selecting()
Returns true if the area was selected, false otherwise.
Boolean shift_down()
Returns true if the Shift key was down at the time of the event.
[This page automatically generated from the Textile source at Thu May 01 00:50:38 +0100 2008]