Class: UU::OS::Form::FormButton
- Inherits:
-
GVC::Component
- Object
- GVC::Component
- UU::OS::Form::FormButton
- Defined in:
- uu_os_gvc-0.9.6/lib/uu/os/form/form_button.rb
Overview
Form button component.
Instance Attribute Summary (collapse)
-
- (Object) action
Button on-click action.
-
- (Object) disabled
Flag if button is disabled.
-
- (Object) text
Button label.
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) action
Button on-click action.
14 15 16 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/form_button.rb', line 14 def action @action end |
- (Object) disabled
Flag if button is disabled
17 18 19 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/form_button.rb', line 17 def disabled @disabled end |
- (Object) text
Button label.
11 12 13 |
# File 'uu_os_gvc-0.9.6/lib/uu/os/form/form_button.rb', line 11 def text @text end |