rsence-pre 3.0.0.5 → 3.0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/client/conf/client_pkg.yaml +8 -8
  4. data/client/js/chat/speech_bubble/themes/default/speech_bubble.css +3 -3
  5. data/client/js/controls/button/button.coffee +45 -0
  6. data/client/js/controls/button/themes/default/button.css +39 -72
  7. data/client/js/controls/button/themes/default/button.html +14 -4
  8. data/client/js/controls/checkbox/checkbox.js +9 -8
  9. data/client/js/controls/checkbox/themes/default/checkbox.css +1 -1
  10. data/client/js/controls/checkbox/themes/default/checkbox.html +1 -0
  11. data/client/js/controls/clickbutton/clickbutton.coffee +44 -0
  12. data/client/js/controls/onoffbutton/themes/default/onoffbutton.css +20 -19
  13. data/client/js/controls/onoffbutton/themes/default/onoffbutton.html +1 -4
  14. data/client/js/controls/radiobutton/themes/default/radiobutton.css +1 -1
  15. data/client/js/controls/radiobutton/themes/default/radiobutton.html +1 -0
  16. data/client/js/controls/searchfield/searchfield.coffee +1 -1
  17. data/client/js/controls/searchfield/themes/default/searchfield.css +1 -1
  18. data/client/js/controls/stringview/themes/default/stringview.css +1 -1
  19. data/client/js/controls/tab/tab.js +17 -17
  20. data/client/js/controls/tab/themes/default/tab.css +16 -16
  21. data/client/js/controls/tab/themes/default/tab.html +1 -1
  22. data/client/js/controls/textarea/textarea.js +1 -1
  23. data/client/js/controls/textarea/themes/default/textarea.css +1 -1
  24. data/client/js/controls/textcontrol/themes/default/textcontrol.css +1 -2
  25. data/client/js/controls/uploader/themes/default/uploader.css +10 -62
  26. data/client/js/controls/uploader/themes/default/uploader.html +31 -25
  27. data/client/js/controls/uploader/uploader.coffee +10 -7
  28. data/client/js/controls/window/themes/default/window.css +2 -4
  29. data/client/js/core/elem/elem.coffee +4 -4
  30. data/client/js/core/event/event.js +11 -11
  31. data/client/js/datetime/calendar/themes/default/calendar.css +3 -3
  32. data/client/js/foundation/eventmanager/eventmanager.coffee +44 -1
  33. data/client/js/foundation/thememanager/thememanager.coffee +30 -17
  34. data/client/js/foundation/view/view.js +194 -192
  35. data/client/js/menus/menuitem/themes/default/menuitem.css +1 -1
  36. data/client/js/menus/minimenu/themes/default/minimenu.css +1 -1
  37. data/client/js/menus/minimenuitem/themes/default/minimenuitem.css +1 -1
  38. data/client/js/menus/popupmenu/themes/default/popupmenu.css +1 -1
  39. data/plugins/client_pkg/lib/client_pkg_build.rb +54 -53
  40. data/plugins/main/tmpl/index.html +1 -1
  41. metadata +4 -5
  42. data/client/js/controls/button/button.js +0 -78
  43. data/client/js/controls/button/themes/default/button_parts1.png +0 -0
  44. data/client/js/foundation/view/markupview/markupview.js +0 -95
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 704d65450d16a70de1c5bd816a2f7fa4c68d9bc6
4
- data.tar.gz: 74fbb072f1270cf981514b96949078b88ff89f4e
3
+ metadata.gz: 04007e333814868e82a87b423d5a55ee5f411d9f
4
+ data.tar.gz: 135c7d9ab384cc0a5a90d81d7f6fba1757864ff8
5
5
  SHA512:
6
- metadata.gz: 16727cb8b34689c452de3b57be2dd68b4b675fd480d95917a00aaf712d7ee4852afe8296f0a83354e24029e038f19f3f936d7b458cbc0b42210e451015ec6b56
7
- data.tar.gz: 51dd8ea5057c58ff9469e5108a08a6a184852e60b3f599fd94ec84a3587da70a38a74e9e86c41eec28404ebb8f5c345d9ce3ea8cb083f09f2d266b4b85e1667b
6
+ metadata.gz: 53eb640329904169ba5585a7ecd781742f1cf1fbbf6d251369d62b84cdb62e47ddefb02fbe7fe34cfbca742ed87a2f3240bf3720f26c0c46fd6f1096a2ccd057
7
+ data.tar.gz: 90febdd9363b38547ce3f12fcb540e78e6e63c1ab20a22dc26e97d1f823f6b5b86b394ad0dce7538688c6851692b8553c6edcd6d9c6b260e56320c4508d5efad
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0.5.pre
1
+ 3.0.0.6.pre
@@ -13,24 +13,24 @@
13
13
 
14
14
  # The core package, loaded by default using a script tag in index_html
15
15
  core:
16
-
16
+
17
17
  # RSence.*
18
18
  - rsence_ns
19
-
19
+
20
20
  - locale_settings # HLocaleSettings
21
-
21
+
22
22
  # RSence.Core
23
23
  - class # HClass
24
24
  - sha # SHA
25
25
  - elem # ELEM
26
26
  - event # Event
27
27
  - util_methods # UtilMethods
28
-
28
+
29
29
  # RSence.Foundation
30
30
  - system # HSystem
31
31
  - valueresponder # HValueResponder
32
32
  - application # HApplication
33
-
33
+
34
34
  # COMM
35
35
  - comm # COMM
36
36
  - queue # COMM.Queue
@@ -47,7 +47,6 @@
47
47
  - point # HPoint
48
48
  - rect # HRect
49
49
  - thememanager # HThemeManager
50
- - markupview # HMarkupView
51
50
  - morphanimation # HMorphAnimation
52
51
  - viewdefaults # HViewDefaults
53
52
  - view # HView
@@ -64,7 +63,8 @@
64
63
 
65
64
  # The default collection of simple control widgets (components)
66
65
  controls:
67
- - button # HButton & HClickValueButton
66
+ - button # HButton
67
+ - clickbutton # HClickButton (HClickValueButton)
68
68
  - checkbox # HCheckbox
69
69
  - onoffbutton # HOnOffButton
70
70
  - radiobutton # HRadioButton
@@ -120,7 +120,7 @@
120
120
  - minimenuitem # HMiniMenuItem
121
121
  - popupmenu # HPopupMenu
122
122
  - menuitem # HMenuItem
123
-
123
+
124
124
  tables:
125
125
  - table # HTable
126
126
 
@@ -23,7 +23,7 @@
23
23
  .default > .speechbubble > .text {
24
24
  padding-left: 6px; padding-top: 3px; padding-bottom: 3px; padding-right: 6px;
25
25
  vertical-align: middle;
26
- font-family: Arial, sans-serif;
26
+ font-family: Helvetica, Arial, sans-serif;
27
27
  font-size: 12px; font-weight: bold;
28
28
  color: #333;
29
29
  }
@@ -75,10 +75,10 @@
75
75
  border-color: transparent transparent #efefef transparent;
76
76
  }
77
77
  .default.orientation_left > .speechbubble > .direction_inner2 {
78
- left: -11px;
78
+ left: -11px;
79
79
  border-width: 0 0 4px 11px;
80
80
  }
81
81
  .default.orientation_right > .speechbubble > .direction_inner2 {
82
- right: -11px;
82
+ right: -11px;
83
83
  border-width: 0 11px 4px 0;
84
84
  }
@@ -0,0 +1,45 @@
1
+
2
+ ### = Description
3
+ ## Simple button component, designed to be extended for any
4
+ ## actual functionality above regular HControl.
5
+ ###
6
+ HButton = HControl.extend
7
+
8
+ componentName: 'button'
9
+ optimizeWidthOnRefresh: true
10
+ controlDefaults: HControlDefaults.extend
11
+ defaultKeyClick: false
12
+ pack: false
13
+
14
+ defaultEvents:
15
+ click: true
16
+
17
+ ###
18
+ # = Description
19
+ # setStyle function for button.
20
+ #
21
+ ###
22
+ setStyle: (_name, _value, _setElemStyle)->
23
+ if _setElemStyle?
24
+ @base(_name,_value)
25
+ else
26
+ @setStyleOfPart('label',_name,_value)
27
+ @
28
+
29
+ defaultKey: ->
30
+ if @options.defaultKeyClick
31
+ @click()
32
+ return false
33
+ null
34
+
35
+ click: ->
36
+ console.log('no click action defined in HButton') if !@isProduction
37
+
38
+ labelPadding: 0
39
+ optimizeWidth: ->
40
+ _labelWidth = @stringWidth(@label,null,@markupElemIds.label)
41
+ _labelWidth += @labelPadding+Math.floor(@rect.height*0.6)
42
+ if @rect.width != _labelWidth
43
+ # console.log(@viewId,'labelWidth:',@rect.width,'->',_labelWidth)
44
+ @rect.setWidth(_labelWidth)
45
+ @drawRect()
@@ -1,89 +1,56 @@
1
1
 
2
- .button_control,
3
- .button_edge_left,
4
- .button_center,
5
- .button_edge_right,
6
- .button_label,
7
- .button_antiselect {
2
+ .default > .button_control,
3
+ .default > .button_control > .button_bg,
4
+ .default > .button_control > .button_label {
8
5
  position: absolute;
9
- top: 0px; height: 24px;
10
6
  }
11
-
12
- .button_control {
13
- left: 0px; right: 0px;
7
+ .default > .button_control {
14
8
  cursor: pointer;
9
+ top: 0; left: 0; right: 0; bottom: 0;
15
10
  }
16
- .disabled .button_control {
11
+ .default.disabled > .button_control {
17
12
  cursor: default;
18
13
  }
19
-
20
- .button_edge_left,
21
- .button_center,
22
- .button_edge_right {
23
- background-repeat: repeat-x;
24
- background-image: #{this.getCssFilePath('button_parts1.png')};
25
- }
26
-
27
- .button_edge_left {
28
- left: 0px; width: 6px;
29
- background-position: 0px 0px;
30
- }
31
- .disabled > .button_control > .button_edge_left {
32
- background-position: 0px -144px;
33
- }
34
- .enabled > .button_control:hover > .button_edge_left {
35
- background-position: 0px -48px;
36
- }
37
- .enabled > .button_control:active > .button_edge_left {
38
- background-position: 0px -96px;
39
- }
40
-
41
- .button_edge_right {
42
- right: 0px; width: 6px;
43
- background-position: -42px 0px;
44
- }
45
- .disabled > .button_control > .button_edge_right {
46
- background-position: -42px -144px;
47
- }
48
- .enabled > .button_control:hover > .button_edge_right {
49
- background-position: -42px -48px;
50
- }
51
- .enabled > .button_control:active > .button_edge_right {
52
- background-position: -42px -96px;
53
- }
54
-
55
- .button_center {
56
- left: 6px; right: 6px;
57
- background-position: 0px -24px;
58
- }
59
- .disabled > .button_control > .button_center {
60
- background-position: 0px -168px;
61
- }
62
- .enabled > .button_control:hover > .button_center {
63
- background-position: 0px -72px;
64
- }
65
- .enabled > .button_control:active > .button_center {
66
- background-position: 0px -120px;
67
- }
68
-
69
- .button_label {
70
- left: 6px; right: 6px; top: 2px;
71
- height: 20px; line-height: 20px;
14
+ .default > .button_control > .button_bg {
15
+ top: 2px; left: 2px; right: 2px; bottom: 3px;
16
+ border: 1px solid #e0e0e0;
17
+ border-top: 0; border-left: 0;
18
+ box-shadow: 0px 0px 3px #333;
19
+ #{this.gradientCSS('#fcfcfc',[45,'#fff'],[55,'#fdfdfd'],[75,'#f3f3f3'],'#f0f0f0')}
20
+ }
21
+ .default.disabled > .button_control > .button_bg {
22
+ border-color: #ddd;
23
+ box-shadow: 0px 0px 3px #666;
24
+ opacity: 0.75;
25
+ #{this.gradientCSS('#d6d6d6',[66,'#d0d0d0'],[71,'#d3d3d3'],'#ccc')}
26
+ }
27
+ .default > .button_control > .button_label {
28
+ left: 6px; right: 6px; top: 2px; bottom: auto;
72
29
  text-align: center; vertical-align: middle;
73
- font-family: Arial, sans-serif;
30
+ white-space: nowrap;
31
+ overflow: hidden;
32
+ text-overflow: ellipsis;
33
+ font-family: Helvetica, Arial, sans-serif;
34
+ text-shadow: 0 0 2px #fff;
74
35
  font-size: 12px; font-weight: bold;
75
36
  color: #333;
76
37
  }
77
- .disabled > .button_control > .button_label {
38
+ .default.disabled > .button_control > .button_label {
78
39
  color: #999;
79
40
  }
80
- .enabled > .button_control:hover > .button_label {
81
- color: #000;
41
+ .default.enabled > .button_control:hover > .button_bg {
42
+ box-shadow: 0px 0px 3px #000;
43
+ #{this.gradientCSS('#f6f6f6',[66,'#fff'],[71,'#fcfcfc'],'#f0f0f0')}
82
44
  }
83
- .enabled > .button_control:active > .button_label {
45
+ .default.enabled > .button_control:hover > .button_label {
84
46
  color: #000;
85
47
  }
86
-
87
- .button_antiselect {
88
- left: 0px; right: 0px;
48
+ .default.enabled > .button_control:active > .button_bg {
49
+ border: 1px solid #fff;
50
+ border-bottom: 0; border-right: 0;
51
+ box-shadow: 0px 0px 3px #000;
52
+ #{this.gradientCSS('#e6e6e6',[29,'#f0f0f0'],[33,'#f6f6f6'],'#fff')}
53
+ }
54
+ .default.enabled > .button_control:active > .button_label {
55
+ color: #000;
89
56
  }
@@ -1,7 +1,17 @@
1
1
  <div class="button_control" id="control]I[">
2
- <div class="button_edge_left"></div>
3
- <div class="button_center"></div>
4
- <div class="button_edge_right"></div>
2
+ <div class="button_bg" id="bg]I["></div>
5
3
  <div class="button_label" id="label]I[">#{this.label}</div>
6
- <div class="button_antiselect"></div>
7
4
  </div>
5
+ ${#!coffee
6
+ @labelPadding = 12
7
+ @themeStyle = ->
8
+ _labelHeight = (@rect.height-4)+'px'
9
+ _fontSize = Math.floor(@rect.height*0.5)+'px'
10
+ for [_key,_value] in [
11
+ ['height',_labelHeight],
12
+ ['lineHeight',_labelHeight],
13
+ ['fontSize',_fontSize] ]
14
+ @setStyleOfPart('label',_key,_value)
15
+ _radius = Math.floor(@rect.height / 6)+'px'
16
+ @setStyleOfPart('bg','borderRadius',_radius)
17
+ }
@@ -7,11 +7,7 @@ var//RSence.Controls
7
7
  HCheckbox = HButton.extend({
8
8
 
9
9
  componentName: 'checkbox',
10
-
11
- defaultEvents: {
12
- click: true
13
- },
14
-
10
+
15
11
  /** Toggles the value checked / unchecked.
16
12
  **/
17
13
  click: function(){
@@ -20,10 +16,15 @@ HCheckbox = HButton.extend({
20
16
  /** SetStyle function for HCheckBox
21
17
  **/
22
18
  setStyle: function(_name,_value,_bypass){
23
- this.setStyleOfPart('label',_name,_value,_bypass);
19
+ if(_bypass || !this.markupElemIds.label){
20
+ this.base(_name,_value,_bypass);
21
+ }
22
+ else {
23
+ this.setStyleOfPart('label',_name,_value);
24
+ }
24
25
  },
25
-
26
- /**Toggles the checked/unchecked css-class status
26
+
27
+ /**Toggles the checked/unchecked css-class status
27
28
  according to the trueness of the value.**/
28
29
  refreshValue: function(){
29
30
  if(this.markupElemIds.control){
@@ -49,7 +49,7 @@
49
49
  left: 24px; right: 0px; top: 2px;
50
50
  height: 20px; line-height: 20px;
51
51
  text-align: left; vertical-align: middle;
52
- font-family: Arial, sans-serif;
52
+ font-family: Helvetica, Arial, sans-serif;
53
53
  font-size: 12px;
54
54
  color: #333;
55
55
  }
@@ -3,3 +3,4 @@
3
3
  <div class="checkbox_label" id="label]I[">#{this.label}</div>
4
4
  <div class="checkbox_antiselect"></div>
5
5
  </div>
6
+ ${this.labelPadding=24}
@@ -0,0 +1,44 @@
1
+ ### = Description
2
+ ## Simple HButton extension, operates on its value so it's useful
3
+ ## for sending button clicks to the server and the like.
4
+ ## For the value responder, reset the value to 0 when read to make
5
+ ## the button clickable again.
6
+ ##
7
+ ## = Value states
8
+ ## +0+:: Enabled, clickable
9
+ ## +1+:: Disabled, clicked
10
+ ## +Other+:: Disabled, not clickable, not clicked
11
+ ###
12
+ HClickButton = HButton.extend
13
+
14
+ defaultEvents:
15
+ click: true
16
+
17
+ controlDefaults: HButton.prototype.controlDefaults.extend
18
+ clickOnValue: 1
19
+ clickOffValue: 0
20
+
21
+ ###
22
+ # = Description
23
+ # Sets the button enabled if this.value is 0.
24
+ #
25
+ ###
26
+ refreshValue: ->
27
+ if @options.inverseValue
28
+ @setEnabled( @value == @options.clickOnValue )
29
+ else
30
+ @setEnabled( @value == @options.clickOffValue )
31
+
32
+ ###
33
+ # = Description
34
+ # Click method, sets the value to disabled if the button is enabled.
35
+ #
36
+ ###
37
+ click: ->
38
+ if @enabled
39
+ if @options.inverseValue
40
+ @setValue( @options.clickOffValue )
41
+ else
42
+ @setValue( @options.clickOnValue )
43
+
44
+ HClickValueButton = HClickButton
@@ -1,50 +1,51 @@
1
- .onoffbutton_label,
2
- .onoffbutton_label_off {
1
+ .default > .button_control > .onoffbutton_label,
2
+ .default > .button_control > .onoffbutton_label_off {
3
3
  position: absolute;
4
4
  top: 2px; height: 20px; line-height: 20px;
5
5
  text-align: center; vertical-align: middle;
6
- font-family: Arial, sans-serif;
6
+ font-family: Helvetica, Arial, sans-serif;
7
7
  font-size: 12px; font-weight: bold;
8
+ text-shadow: 0 0 2px #fff;
8
9
  color: #333;
9
10
  }
10
- .onoffbutton_label {
11
- left: 6px; right: 50%;
11
+ .default > .button_control > .onoffbutton_label {
12
+ left: 6px; right: 50%;
12
13
  }
13
- .onoffbutton_label_off {
14
- right: 6px; left: 50%;
14
+ .default > .button_control > .onoffbutton_label_off {
15
+ right: 6px; left: 50%;
15
16
  }
16
- .disabled > .button_control > .onoffbutton_label,
17
- .disabled > .button_control > .onoffbutton_label_off {
17
+ .default.disabled > .button_control > .onoffbutton_label,
18
+ .default.disabled > .button_control > .onoffbutton_label_off {
18
19
  color: #999;
19
20
  }
20
- .enabled > .button_control:hover > .onoffbutton_label,
21
- .enabled > .button_control:active > .onoffbutton_label_off {
21
+ .default.enabled > .button_control:hover > .onoffbutton_label,
22
+ .default.enabled > .button_control:active > .onoffbutton_label_off {
22
23
  color: #000;
23
24
  }
24
- .enabled > .button_control:active > .onoffbutton_label,
25
- .enabled > .button_control:active > .onoffbutton_label_off {
25
+ .default.enabled > .button_control:active > .onoffbutton_label,
26
+ .default.enabled > .button_control:active > .onoffbutton_label_off {
26
27
  color: #000;
27
28
  }
28
- .onoffbutton_on,
29
- .onoffbutton_off {
29
+ .default > .button_control > .onoffbutton_on,
30
+ .default > .button_control > .onoffbutton_off {
30
31
  position: absolute;
31
32
  display: none;
32
33
  top: 1px; height: 20px;
33
34
  opacity: 0.6;
34
35
  }
35
- .onoffbutton_off {
36
+ .default > .button_control > .onoffbutton_off {
36
37
  left: 50%; right: 1px;
37
38
  background-color: #660000;
38
39
  border-bottom-right-radius: 3px;
39
40
  border-top-right-radius: 3px;
40
41
  }
41
- .onoffbutton_on {
42
+ .default > .button_control > .onoffbutton_on {
42
43
  right: 50%; left: 1px;
43
44
  background-color: #006600;
44
45
  border-bottom-left-radius: 3px;
45
46
  border-top-left-radius: 3px;
46
47
  }
47
- .disabled > .button_control > .onoffbutton_off,
48
- .disabled > .button_control > .onoffbutton_on {
48
+ .default.disabled > .button_control > .onoffbutton_off,
49
+ .default.disabled > .button_control > .onoffbutton_on {
49
50
  opacity: 0.3;
50
51
  }
@@ -1,10 +1,7 @@
1
1
  <div class="button_control" id="control]I[">
2
- <div class="button_edge_left"></div>
3
- <div class="button_center"></div>
4
- <div class="button_edge_right"></div>
2
+ <div class="button_bg" id="bg]I["></div>
5
3
  <div class="onoffbutton_on" id="onvalue]I["></div>
6
4
  <div class="onoffbutton_off" id="offvalue]I["></div>
7
5
  <div class="onoffbutton_label" id="label]I[">#{this.label}</div>
8
6
  <div class="onoffbutton_label_off" id="offlabel]I[">#{this.offLabel}</div>
9
- <div class="button_antiselect"></div>
10
7
  </div>
@@ -49,7 +49,7 @@
49
49
  left: 24px; right: 0px; top: 0px;
50
50
  height: 20px; line-height: 24px;
51
51
  text-align: left; vertical-align: middle;
52
- font-family: Arial, sans-serif;
52
+ font-family: Helvetica, Arial, sans-serif;
53
53
  font-size: 12px;
54
54
  color: #333;
55
55
  }
@@ -3,3 +3,4 @@
3
3
  <div class="radiobutton_label" id="label]I[">#{this.label}</div>
4
4
  <div class="radiobutton_antiselect"></div>
5
5
  </div>
6
+ ${this.labelPadding=24}
@@ -1,6 +1,6 @@
1
1
  HSearchField = HTextControl.extend
2
2
  componentName: 'searchfield'
3
- markupElemNames: ['help'].concat( HTextControl.prototype.markupElemNames )
3
+ markupElemNames: HTextControl.prototype.markupElemNames.slice().concat('help')
4
4
  controlDefaults: HTextControl.prototype.controlDefaults.extend
5
5
  helpText: 'Search...'
6
6
 
@@ -2,7 +2,7 @@
2
2
  .default .searchfield_input {
3
3
  position: absolute;
4
4
  display: block;
5
- font-family: Arial, sans-serif;
5
+ font-family: Helvetica, Arial, sans-serif;
6
6
  font-size: 13px;
7
7
  color: #000;
8
8
  background-color: transparent;
@@ -2,7 +2,7 @@
2
2
  color: #333;
3
3
  padding: 1px;
4
4
  font-size: 12px;
5
- font-family: Arial, sans-serif;
5
+ font-family: Helvetica, Arial, sans-serif;
6
6
  overflow-y: visible;
7
7
  }
8
8
 
@@ -34,7 +34,7 @@ HTab = HControl.extend({
34
34
  componentName: "tab",
35
35
  refreshOnValueChange: true,
36
36
  refreshOnLabelChange: false,
37
-
37
+
38
38
  controlDefaults: (HControlDefaults.extend({
39
39
  constructor: function(_ctrl){
40
40
  this.tabInit(_ctrl);
@@ -46,22 +46,22 @@ HTab = HControl.extend({
46
46
  _ctrl.tabLabelStrings = [];
47
47
  }
48
48
  })),
49
-
49
+
50
50
  rightmostPx: 0,
51
51
  selectIdx: -1,
52
-
52
+
53
53
  // overridden in the template
54
54
  tabLabelHeight: 20,
55
-
55
+
56
56
  // overridden in the template
57
57
  tabLabelLeftEdge: 4,
58
-
58
+
59
59
  // overridden in the template
60
60
  tabLabelRightEdge: 4,
61
-
61
+
62
62
  // overridden in the template
63
- fontStyle: 'font-family:Arial,sans-serif;font-size:13px;',
64
-
63
+ fontStyle: 'font-family: Helvetica, Arial, sans-serif;font-size:13px;',
64
+
65
65
  tabLabelHTMLPrefix1: '<div class="edge_left"></div><div class="tablabel" style="width:',
66
66
  tabLabelHTMLPrefix2: 'px">',
67
67
  tabLabelHTMLSuffix: '</div><div class="edge_right"></div>',
@@ -71,7 +71,7 @@ HTab = HControl.extend({
71
71
  tabLabelFillBg: false,
72
72
  tabTriggerLink: true,
73
73
  tabLabelNoHTMLPrefix: false,
74
-
74
+
75
75
  /** = Description
76
76
  * refreshValue function
77
77
  *
@@ -87,7 +87,7 @@ HTab = HControl.extend({
87
87
  }
88
88
  }
89
89
  },
90
-
90
+
91
91
  /** = Description
92
92
  * Sets label for the tab.
93
93
  *
@@ -98,7 +98,7 @@ HTab = HControl.extend({
98
98
  setLabel: function(_label){
99
99
  this.label = _label;
100
100
  },
101
-
101
+
102
102
  /** = Description
103
103
  * selectTab function
104
104
  *
@@ -127,7 +127,7 @@ HTab = HControl.extend({
127
127
  this.selectIdx = _tabIdx;
128
128
  this.setValue(_tabIdx);
129
129
  },
130
-
130
+
131
131
  /** = Description
132
132
  * addTab function
133
133
  *
@@ -190,7 +190,7 @@ HTab = HControl.extend({
190
190
  }
191
191
  return _tab;
192
192
  },
193
-
193
+
194
194
  /** = Description
195
195
  * click function
196
196
  *
@@ -220,10 +220,10 @@ HTab = HControl.extend({
220
220
  }
221
221
  }
222
222
  }
223
-
223
+
224
224
  }
225
225
  },
226
-
226
+
227
227
  /** = Description
228
228
  * removeTab function
229
229
  *
@@ -258,7 +258,7 @@ HTab = HControl.extend({
258
258
  }
259
259
  ELEM.del(_tabLabelElemId);
260
260
  HSystem.views[_tabViewId].die();
261
-
261
+
262
262
  //Reset labels positions
263
263
  this.rightmostPx = 0;
264
264
  for(; i < this.tabs.length; i++){
@@ -284,7 +284,7 @@ HTab = HControl.extend({
284
284
  * select: true|false, passed on to addTab
285
285
  * label: true|false, passed on to addTab
286
286
  *
287
- * = Returns
287
+ * = Returns
288
288
  * a new HTabView instance returned by addTab
289
289
  *
290
290
  **/