class MyCellRendererComboText
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint(dpblnt@gmail.com)
Public Class Methods
new(column)
click to toggle source
Calls superclass method
# File lib/ListHolder/EditableList/CellRenderers/ComboText.rb, line 6 def initialize(column) @myvalues=Hash.new super if q=query(querySQL) then while row=q.fetch_hash() @myvalues[row['cdata']]=row['cdisplay'] end end set_editable(false) set_editable_set(false) end
Public Instance Methods
get_display(key)
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/ComboText.rb, line 18 def get_display(key) @myvalues[key] end