Class: UU::OS::Form::Input
- Inherits:
-
GVC::Component
- Object
- GVC::Component
- UU::OS::Form::Input
- Defined in:
- uu_os_gvc-0.9.6/lib/uu/os/form/input.rb
Overview
Common input component.
Instance Attribute Summary (collapse)
-
- (Object) data
Input data binding.
-
- (Object) disabled
Flag if component is disabled.
-
- (Object) read_only
Flag if component is read only.
-
- (Object) required
Flag if component input is required.
-
- (Object) value
Input value.
Attributes inherited from GVC::Component
#attributes, #code, #component_type, #form, #height, #id, #name, #width
Method Summary
Methods inherited from GVC::Component
#add_message, #focus, #initialize, #messages
Constructor Details
This class inherits a constructor from UU::OS::GVC::Component
Instance Attribute Details
- (Object) data
Input data binding.
14 15 16 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/input.rb', line 14 def data @data end |
- (Object) disabled
Flag if component is disabled.
23 24 25 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/input.rb', line 23 def disabled @disabled end |
- (Object) read_only
Flag if component is read only.
17 18 19 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/input.rb', line 17 def read_only @read_only end |
- (Object) required
Flag if component input is required.
20 21 22 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/input.rb', line 20 def required @required end |
- (Object) value
Input value.
11 12 13 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/input.rb', line 11 def value @value end |