class MyCellRendererConstText
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/ConstText.rb, line 7 def initialize(column) @myvalues=Hash.new admin_rows("select * from scv"){|row| @myvalues[row['cdata']]=row['cdisplay'] } super() self.editable=false self.editable_set=false end
Public Instance Methods
get_display(key)
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/ConstText.rb, line 17 def get_display(key) @myvalues[key] end
set_column(column)
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/ConstText.rb, line 20 def set_column(column) #we do nothing end