Class: UU::OS::GVC::TouchIcon

Inherits:
Component show all
Includes:
Styleable
Defined in:
uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb

Overview

Link component.

Instance Attribute Summary (collapse)

Attributes included from Styleable

#style_class

Attributes inherited from Component

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

Method Summary

Methods included from Styleable

#add_style_class, #remove_style_class

Methods inherited from Component

#add_message, #focus, #initialize, #messages

Constructor Details

This class inherits a constructor from UU::OS::GVC::Component

Instance Attribute Details

- (Object) action_uri

Touch-icon uri. Can contain valid UESURI or uri to external web page. Web page uris must have one of supported schemas (http, https). External web pages are always opened into new window (attribute target is ignored).



31
32
33
# File 'uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb', line 31

def action_uri
  @action_uri
end

- (Object) disabled

Flag if component is disabled.



12
13
14
# File 'uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb', line 12

def disabled
  @disabled
end

- (Object) icon_uri

Touch-icon icon UESURI refers to icon in image catalog.



15
16
17
# File 'uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb', line 15

def icon_uri
  @icon_uri
end

- (Object) target

Defines target window where the action URI will be opened - one of "CURRENT_WINDOW" (default), "NEW_WINDOW", "DIALOG_WINDOW". For backward compatibility it's also possible to use older equivalents "SELF", "NEW" and "MODAL".



20
21
22
# File 'uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb', line 20

def target
  @target
end

- (Object) text

Touch-icon text.



23
24
25
# File 'uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb', line 23

def text
  @text
end

- (Object) tooltip

Touch-icon tooltip text.



26
27
28
# File 'uu_os_gvc-0.28.16/lib/uu/os/gvc/touch_icon.rb', line 26

def tooltip
  @tooltip
end