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



38
39
40
# File 'lib/watobo/gui/conversation_table.rb', line 38

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

#setCellBackground(row, column, color) ⇒ Object



47
48
49
50
51
# File 'lib/watobo/gui/conversation_table.rb', line 47

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



42
43
44
45
# File 'lib/watobo/gui/conversation_table.rb', line 42

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