Class: UU::OS::Form::FormButton Deprecated

Inherits:
GVC::Component show all
Defined in:
uu_os_gvc-0.28.16/lib/uu/os/form/form_button.rb

Overview

Deprecated.

Use GVC::Button instead.

Form button component.

Instance Attribute Summary (collapse)

Attributes inherited from GVC::Component

#attributes, #code, #component_type, #form, #height, #id, #name

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.



19
20
21
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/form_button.rb', line 19

def action
  @action
end

- (Object) disabled

Flag if button is disabled



22
23
24
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/form_button.rb', line 22

def disabled
  @disabled
end

- (Object) text

Button label.



16
17
18
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/form_button.rb', line 16

def text
  @text
end

- (Object) width (readonly)

Button width.



13
14
15
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/form_button.rb', line 13

def width
  @width
end