Class: Wx::GRID::GridTableMessage
- Inherits:
-
Object
- Object
- Wx::GRID::GridTableMessage
- Defined in:
- lib/wx/doc/gen/grid/grid_table_message.rb
Overview
This class is untracked and should not be derived from nor instances extended!
Message class used by the grid table to send requests and notifications to the grid view.
A message object of this class must be sent to the grid using Wx::GRID::Grid#process_table_message every time the table changes, e.g. rows are added/deleted. The messages are just notifications and don’t result in any actual changes but just allow the view to react to changes to the model.
Instance Method Summary collapse
-
#get_command_int ⇒ Integer
(also: #command_int)
Get the position after which the insertion/deletion occur.
-
#get_command_int2 ⇒ Integer
(also: #command_int2)
Get the number of rows to be inserted/deleted.
-
#get_id ⇒ Integer
(also: #id)
Gets an id.
-
#get_table_object ⇒ Wx::GRID::GridTableBase
(also: #table_object)
Gets the table object.
-
#initialize(*args) ⇒ GridTableMessage
constructor
A new instance of GridTableMessage.
-
#set_command_int(comInt1) ⇒ void
(also: #command_int=)
Set the position after which the insertion/deletion occur.
-
#set_command_int2(comInt2) ⇒ void
(also: #command_int2=)
Set the number of rows to be inserted/deleted.
-
#set_id(id) ⇒ void
(also: #id=)
Sets an id.
-
#set_table_object(table) ⇒ void
(also: #table_object=)
Sets the table object.
Constructor Details
#initialize ⇒ Wx::GRID::GridTableMessage #initialize(table, id, comInt1 = -1, comInt2 = -1) ⇒ Wx::GRID::GridTableMessage
Returns a new instance of GridTableMessage.
30 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 30 def initialize(*args) end |
Instance Method Details
#get_command_int ⇒ Integer Also known as: command_int
Get the position after which the insertion/deletion occur.
62 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 62 def get_command_int; end |
#get_command_int2 ⇒ Integer Also known as: command_int2
Get the number of rows to be inserted/deleted.
73 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 73 def get_command_int2; end |
#get_id ⇒ Integer Also known as: id
Gets an id.
51 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 51 def get_id; end |
#get_table_object ⇒ Wx::GRID::GridTableBase Also known as: table_object
Gets the table object.
40 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 40 def get_table_object; end |
#set_command_int(comInt1) ⇒ void Also known as: command_int=
This method returns an undefined value.
Set the position after which the insertion/deletion occur.
57 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 57 def set_command_int(comInt1) end |
#set_command_int2(comInt2) ⇒ void Also known as: command_int2=
This method returns an undefined value.
Set the number of rows to be inserted/deleted.
68 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 68 def set_command_int2(comInt2) end |
#set_id(id) ⇒ void Also known as: id=
This method returns an undefined value.
Sets an id.
46 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 46 def set_id(id) end |
#set_table_object(table) ⇒ void Also known as: table_object=
This method returns an undefined value.
Sets the table object.
35 |
# File 'lib/wx/doc/gen/grid/grid_table_message.rb', line 35 def set_table_object(table) end |