Class: Lore::GUI::Custom_Element
- Inherits:
-
Form_Element
- Object
- Form_Element
- Lore::GUI::Custom_Element
- Defined in:
- lib/lore/gui/form_element.rb
Overview
class }}}
Instance Attribute Summary
Attributes inherited from Form_Element
#attribute_id, #attribute_label, #attribute_name, #attribute_range, #attribute_table, #attribute_value, #id, #mode, #on_change, #on_click, #style, #style_class, #template, #template_file
Instance Method Summary collapse
-
#initialize(_table, _attrib_name, _attrib_label, _attrib_range = nil, _attrib_value = nil) ⇒ Custom_Element
constructor
A new instance of Custom_Element.
-
#string ⇒ Object
To be overloaded.
Methods inherited from Form_Element
for, #label, #onblur, #onfocus, #print, #set_attribute_style, #set_attribute_value, #set_mode, #setup
Constructor Details
#initialize(_table, _attrib_name, _attrib_label, _attrib_range = nil, _attrib_value = nil) ⇒ Custom_Element
Returns a new instance of Custom_Element.
108 109 110 |
# File 'lib/lore/gui/form_element.rb', line 108 def initialize(_table, _attrib_name, _attrib_label, _attrib_range=nil, _attrib_value=nil) setup(_table, _attrib_name, _attrib_label, _attrib_range, _attrib_value) end |
Instance Method Details
#string ⇒ Object
To be overloaded
113 114 115 |
# File 'lib/lore/gui/form_element.rb', line 113 def string 'Custom_Element#string not redefined!' end |