class Canis::TreeModelEvent

When an event is fired by TableModel, contents are changed, then this object will be passed to trigger type is :INSERT :UPDATE :DELETE :HEADER_ROW columns: number or :ALL_COLUMNS

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/widgets/tree/treemodel.rb, line 233
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/widgets/tree/treemodel.rb, line 242
def inspect
  to_s
end
to_s() click to toggle source
# File lib/canis/core/widgets/tree/treemodel.rb, line 239
def to_s
  "#{@type.to_s}, firstrow: #{@firstrow}, lastrow: #{@lastrow}, source: #{@source}"
end