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.
1644 1645 1646 |
# File 'lib/rbcurse/rtable.rb', line 1644 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.
1643 1644 1645 |
# File 'lib/rbcurse/rtable.rb', line 1643 def col @col end |
#newvalue ⇒ Object
Returns the value of attribute newvalue.
1643 1644 1645 |
# File 'lib/rbcurse/rtable.rb', line 1643 def newvalue @newvalue end |
#oldvalue ⇒ Object
Returns the value of attribute oldvalue.
1643 1644 1645 |
# File 'lib/rbcurse/rtable.rb', line 1643 def oldvalue @oldvalue end |
#row ⇒ Object
Returns the value of attribute row.
1643 1644 1645 |
# File 'lib/rbcurse/rtable.rb', line 1643 def row @row end |
#source ⇒ Object
Returns the value of attribute source.
1643 1644 1645 |
# File 'lib/rbcurse/rtable.rb', line 1643 def source @source end |
#type ⇒ Object
Returns the value of attribute type.
1643 1644 1645 |
# File 'lib/rbcurse/rtable.rb', line 1643 def type @type end |
Instance Method Details
#inspect ⇒ Object
1653 1654 1655 |
# File 'lib/rbcurse/rtable.rb', line 1653 def inspect to_s end |
#set(row, col, source, oldvalue, newvalue, type) ⇒ Object
1647 1648 1649 |
# File 'lib/rbcurse/rtable.rb', line 1647 def set row, col, source, oldvalue, newvalue, type @row, @col, @source, @oldvalue, @newvalue, @type = row, col, source, oldvalue, newvalue, type end |
#to_s ⇒ Object
1650 1651 1652 |
# File 'lib/rbcurse/rtable.rb', line 1650 def to_s "TABLEDITING #{@type} row: #{@row}, col: #{@col}, oldval: #{@oldvalue}, newvalue: #{@newvalue}, source: #{@source}" end |