class Canis::ListSelectionEvent

Whenever user selects one or more rows, this object is sent via event giving start row and last row of selection, object and type which is :INSERT :DELETE :CLEAR

Attributes

firstrow[RW]
lastrow[RW]
source[RW]
type[RW]

Public Class Methods

new(firstrow, lastrow, source, type) click to toggle source
# File lib/canis/core/include/deprecated/listselectable.rb, line 258
def initialize firstrow, lastrow, source, type
  @firstrow = firstrow
  @lastrow = lastrow
  @source = source
  @type = type
end

Public Instance Methods

inspect() click to toggle source
# File lib/canis/core/include/deprecated/listselectable.rb, line 267
def inspect
  to_s
end
to_s() click to toggle source
# File lib/canis/core/include/deprecated/listselectable.rb, line 264
def to_s
  "#{@type.to_s}, firstrow: #{@firstrow}, lastrow: #{@lastrow}, source: #{@source}"
end