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
1251 1252 |
# File 'lib/rbcurse/rtable.rb', line 1251 def add_column tc end |
#column(ix) ⇒ Object
1225 1226 1227 |
# File 'lib/rbcurse/rtable.rb', line 1225 def column ix nil end |
#column_count ⇒ Object
1231 1232 1233 |
# File 'lib/rbcurse/rtable.rb', line 1231 def column_count 0 end |
#column_index(identifier) ⇒ Object
1257 1258 1259 |
# File 'lib/rbcurse/rtable.rb', line 1257 def column_index identifier nil end |
#column_selection_allowed ⇒ Object
1234 1235 1236 |
# File 'lib/rbcurse/rtable.rb', line 1234 def column_selection_allowed false end |
#columns ⇒ Object
1228 1229 1230 |
# File 'lib/rbcurse/rtable.rb', line 1228 def columns nil end |
#get_selection_model ⇒ Object
1246 1247 1248 |
# File 'lib/rbcurse/rtable.rb', line 1246 def get_selection_model nil end |
#move_column(ix, newix) ⇒ Object
1255 1256 |
# File 'lib/rbcurse/rtable.rb', line 1255 def move_column ix, newix end |
#remove_column(tc) ⇒ Object
1253 1254 |
# File 'lib/rbcurse/rtable.rb', line 1253 def remove_column tc end |
#selected_column_count ⇒ Object
1237 1238 1239 |
# File 'lib/rbcurse/rtable.rb', line 1237 def selected_column_count 0 end |
#selected_columns ⇒ Object
1240 1241 1242 |
# File 'lib/rbcurse/rtable.rb', line 1240 def selected_columns nil end |
#set_selection_model(lsm) ⇒ Object
1249 1250 |
# File 'lib/rbcurse/rtable.rb', line 1249 def set_selection_model lsm end |
#total_column_width ⇒ Object
1243 1244 1245 |
# File 'lib/rbcurse/rtable.rb', line 1243 def total_column_width -1 end |