Class: RubyCurses::TableEditingEvent
- Inherits:
-
Object
- Object
- RubyCurses::TableEditingEvent
- Defined in:
- lib/rbcurse/rtable.rb
Overview
caller can create one and reuse NOTE TODO
Instance Attribute Summary collapse
-
#col ⇒ Object
Returns the value of attribute col.
-
#newvalue ⇒ Object
Returns the value of attribute newvalue.
-
#oldvalue ⇒ Object
Returns the value of attribute oldvalue.
-
#row ⇒ Object
Returns the value of attribute row.
-
#source ⇒ Object
Returns the value of attribute source.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(row, col, source, oldvalue, newvalue, type) ⇒ TableEditingEvent
constructor
A new instance of TableEditingEvent.
- #inspect ⇒ Object
- #set(row, col, source, oldvalue, newvalue, type) ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(row, col, source, oldvalue, newvalue, type) ⇒ TableEditingEvent
Returns a new instance of TableEditingEvent.
1678 1679 1680 |
# File 'lib/rbcurse/rtable.rb', line 1678 def initialize row, col, source, oldvalue, newvalue, type set row, col, source, oldvalue, newvalue, type end |
Instance Attribute Details
#col ⇒ Object
Returns the value of attribute col.
1677 1678 1679 |
# File 'lib/rbcurse/rtable.rb', line 1677 def col @col end |
#newvalue ⇒ Object
Returns the value of attribute newvalue.
1677 1678 1679 |
# File 'lib/rbcurse/rtable.rb', line 1677 def newvalue @newvalue end |
#oldvalue ⇒ Object
Returns the value of attribute oldvalue.
1677 1678 1679 |
# File 'lib/rbcurse/rtable.rb', line 1677 def oldvalue @oldvalue end |
#row ⇒ Object
Returns the value of attribute row.
1677 1678 1679 |
# File 'lib/rbcurse/rtable.rb', line 1677 def row @row end |
#source ⇒ Object
Returns the value of attribute source.
1677 1678 1679 |
# File 'lib/rbcurse/rtable.rb', line 1677 def source @source end |
#type ⇒ Object
Returns the value of attribute type.
1677 1678 1679 |
# File 'lib/rbcurse/rtable.rb', line 1677 def type @type end |
Instance Method Details
#inspect ⇒ Object
1687 1688 1689 |
# File 'lib/rbcurse/rtable.rb', line 1687 def inspect to_s end |
#set(row, col, source, oldvalue, newvalue, type) ⇒ Object
1681 1682 1683 |
# File 'lib/rbcurse/rtable.rb', line 1681 def set row, col, source, oldvalue, newvalue, type @row, @col, @source, @oldvalue, @newvalue, @type = row, col, source, oldvalue, newvalue, type end |
#to_s ⇒ Object
1684 1685 1686 |
# File 'lib/rbcurse/rtable.rb', line 1684 def to_s "TABLEDITING #{@type} row: #{@row}, col: #{@col}, oldval: #{@oldvalue}, newvalue: #{@newvalue}, source: #{@source}" end |