Class: RubyCurses::TableColumnModel

Inherits:
Object
  • Object
show all
Defined in:
lib/rbcurse/extras/widgets/rtable.rb

Overview

TCM

Direct Known Subclasses

DefaultTableColumnModel

Instance Method Summary collapse

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_countObject



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_allowedObject



1360
1361
1362
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1360

def column_selection_allowed
  false
end

#columnsObject



1354
1355
1356
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1354

def columns 
  nil
end

#get_selection_modelObject



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_countObject



1363
1364
1365
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1363

def selected_column_count
  0
end

#selected_columnsObject



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_widthObject



1369
1370
1371
# File 'lib/rbcurse/extras/widgets/rtable.rb', line 1369

def total_column_width
  -1
end