Class: UU::OS::Form::Label

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

Overview

Label component.

Instance Attribute Summary (collapse)

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) info_text

Label tooltip text.



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

def info_text
  @info_text
end

- (Object) required

Flag input field belongs to the label is required.



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

def required
  @required
end

- (Object) text

Label text.



11
12
13
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/label.rb', line 11

def text
  @text
end