Class: FXColoredTable

Inherits:
FXTable
  • Object
show all
Defined in:
lib/watobo/gui/conversation_table.rb

Instance Method Summary collapse

Instance Method Details

#createItem(*parameters) ⇒ Object



30
31
32
# File 'lib/watobo/gui/conversation_table.rb', line 30

def createItem *parameters
  CustomTableItem.new(*parameters)
end

#setCellBackground(row, column, color) ⇒ Object



39
40
41
42
43
# File 'lib/watobo/gui/conversation_table.rb', line 39

def setCellBackground row, column, color
  getItem(row, column).backcolor = color
  # puts getItem(row, column).methods.sort
  #  updateItem row, column
end

#setItemTextColor(row, column, color) ⇒ Object



34
35
36
37
# File 'lib/watobo/gui/conversation_table.rb', line 34

def setItemTextColor row, column, color
  getItem(row, column).color = color
  updateItem row, column
end