Class: RubyCurses::TableColumnModel
- Inherits:
-
Object
- Object
- RubyCurses::TableColumnModel
- Defined in:
- lib/rbcurse/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
1285 1286 |
# File 'lib/rbcurse/rtable.rb', line 1285 def add_column tc end |
#column(ix) ⇒ Object
1259 1260 1261 |
# File 'lib/rbcurse/rtable.rb', line 1259 def column ix nil end |
#column_count ⇒ Object
1265 1266 1267 |
# File 'lib/rbcurse/rtable.rb', line 1265 def column_count 0 end |
#column_index(identifier) ⇒ Object
1291 1292 1293 |
# File 'lib/rbcurse/rtable.rb', line 1291 def column_index identifier nil end |
#column_selection_allowed ⇒ Object
1268 1269 1270 |
# File 'lib/rbcurse/rtable.rb', line 1268 def column_selection_allowed false end |
#columns ⇒ Object
1262 1263 1264 |
# File 'lib/rbcurse/rtable.rb', line 1262 def columns nil end |
#get_selection_model ⇒ Object
1280 1281 1282 |
# File 'lib/rbcurse/rtable.rb', line 1280 def get_selection_model nil end |
#move_column(ix, newix) ⇒ Object
1289 1290 |
# File 'lib/rbcurse/rtable.rb', line 1289 def move_column ix, newix end |
#remove_column(tc) ⇒ Object
1287 1288 |
# File 'lib/rbcurse/rtable.rb', line 1287 def remove_column tc end |
#selected_column_count ⇒ Object
1271 1272 1273 |
# File 'lib/rbcurse/rtable.rb', line 1271 def selected_column_count 0 end |
#selected_columns ⇒ Object
1274 1275 1276 |
# File 'lib/rbcurse/rtable.rb', line 1274 def selected_columns nil end |
#set_selection_model(lsm) ⇒ Object
1283 1284 |
# File 'lib/rbcurse/rtable.rb', line 1283 def set_selection_model lsm end |
#total_column_width ⇒ Object
1277 1278 1279 |
# File 'lib/rbcurse/rtable.rb', line 1277 def total_column_width -1 end |