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



50
51
52
# File 'lib/watobo/gui/conversation_table.rb', line 50

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

#setCellBackground(row, column, color) ⇒ Object



59
60
61
62
63
# File 'lib/watobo/gui/conversation_table.rb', line 59

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



54
55
56
57
# File 'lib/watobo/gui/conversation_table.rb', line 54

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