Class: RubyCurses::TableColumnModel
- Inherits:
-
Object
- Object
- RubyCurses::TableColumnModel
- Defined in:
- lib/rbcurse/extras/widgets/rtable.rb
Overview
TCM
Direct Known Subclasses
Instance Method Summary collapse
- #add_column(tc) ⇒ Object
- #column(ix) ⇒ Object
- #column_count ⇒ Object
- #column_index(identifier) ⇒ Object
- #column_selection_allowed ⇒ Object
- #columns ⇒ Object
- #get_selection_model ⇒ Object
- #move_column(ix, newix) ⇒ Object
- #remove_column(tc) ⇒ Object
- #selected_column_count ⇒ Object
- #selected_columns ⇒ Object
- #set_selection_model(lsm) ⇒ Object
- #total_column_width ⇒ Object
Instance Method Details
#add_column(tc) ⇒ Object
1377 1378 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1377 def add_column tc end |
#column(ix) ⇒ Object
1351 1352 1353 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1351 def column ix nil end |
#column_count ⇒ Object
1357 1358 1359 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1357 def column_count 0 end |
#column_index(identifier) ⇒ Object
1383 1384 1385 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1383 def column_index identifier nil end |
#column_selection_allowed ⇒ Object
1360 1361 1362 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1360 def column_selection_allowed false end |
#columns ⇒ Object
1354 1355 1356 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1354 def columns nil end |
#get_selection_model ⇒ Object
1372 1373 1374 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1372 def get_selection_model nil end |
#move_column(ix, newix) ⇒ Object
1381 1382 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1381 def move_column ix, newix end |
#remove_column(tc) ⇒ Object
1379 1380 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1379 def remove_column tc end |
#selected_column_count ⇒ Object
1363 1364 1365 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1363 def selected_column_count 0 end |
#selected_columns ⇒ Object
1366 1367 1368 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1366 def selected_columns nil end |
#set_selection_model(lsm) ⇒ Object
1375 1376 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1375 def set_selection_model lsm end |
#total_column_width ⇒ Object
1369 1370 1371 |
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1369 def total_column_width -1 end |