Class: Canis::ListSelectionEvent
- Defined in:
- lib/canis/core/include/listselectionmodel.rb,
lib/canis/core/include/deprecated/listselectable.rb
Overview
mod
selection related collapse
-
#firstrow ⇒ Object
Returns the value of attribute firstrow.
-
#lastrow ⇒ Object
Returns the value of attribute lastrow.
-
#source ⇒ Object
Returns the value of attribute source.
-
#type ⇒ Object
Returns the value of attribute type.
selection related collapse
-
#initialize(firstrow, lastrow, source, type) ⇒ ListSelectionEvent
constructor
A new instance of ListSelectionEvent.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(firstrow, lastrow, source, type) ⇒ ListSelectionEvent
Returns a new instance of ListSelectionEvent.
258 259 260 261 262 263 |
# 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 |
Instance Attribute Details
#firstrow ⇒ Object
Returns the value of attribute firstrow
67 68 69 |
# File 'lib/canis/core/include/listselectionmodel.rb', line 67 def firstrow @firstrow end |
#lastrow ⇒ Object
Returns the value of attribute lastrow
67 68 69 |
# File 'lib/canis/core/include/listselectionmodel.rb', line 67 def lastrow @lastrow end |
#source ⇒ Object
Returns the value of attribute source
67 68 69 |
# File 'lib/canis/core/include/listselectionmodel.rb', line 67 def source @source end |
#type ⇒ Object
Returns the value of attribute type
67 68 69 |
# File 'lib/canis/core/include/listselectionmodel.rb', line 67 def type @type end |
Instance Method Details
#inspect ⇒ Object
267 268 269 |
# File 'lib/canis/core/include/deprecated/listselectable.rb', line 267 def inspect to_s end |
#to_s ⇒ Object
264 265 266 |
# File 'lib/canis/core/include/deprecated/listselectable.rb', line 264 def to_s "#{@type.to_s}, firstrow: #{@firstrow}, lastrow: #{@lastrow}, source: #{@source}" end |