Class: Ambling::Stock::Settings::DataSetSelector
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::DataSetSelector
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- true
-
(true / false) whether to show data set selector or not #
Defined Under Namespace
Classes: DropDown
Constant Summary collapse
- VALUES =
[:enabled,:position,:width,:text_size,:text_color,:max_comparing_count,:main_drop_down_title,:compare_list_box_title,:drop_down]
Instance Attribute Summary collapse
-
#compare_list_box_title ⇒ Object
style of a drop down and list box #.
-
#drop_down ⇒ Object
- #FFFFFF
-
(hex code) #.
-
#enabled ⇒ Object
- right
-
(right / left) #.
-
#main_drop_down_title ⇒ Object
-
(text) #.
-
#max_comparing_count ⇒ Object
-
(text) #.
-
#position ⇒ Object
- 180
-
(Number) #.
-
#text_color ⇒ Object
- 3
-
(Number) in order to avoid mess, you can limit max number of data sets selected for comparing at a time #.
-
#text_size ⇒ Object
- text_color
-
(hex code) #.
-
#width ⇒ Object
- text_size
-
(Number) #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#compare_list_box_title ⇒ Object
style of a drop down and list box #
1251 1252 1253 |
# File 'lib/ambling/stock.rb', line 1251 def compare_list_box_title @compare_list_box_title end |
#drop_down ⇒ Object
- #FFFFFF
-
(hex code) #
1255 1256 1257 |
# File 'lib/ambling/stock.rb', line 1255 def drop_down @drop_down end |
#enabled ⇒ Object
- right
-
(right / left) #
1222 1223 1224 |
# File 'lib/ambling/stock.rb', line 1222 def enabled @enabled end |
#main_drop_down_title ⇒ Object
-
(text) #
1247 1248 1249 |
# File 'lib/ambling/stock.rb', line 1247 def main_drop_down_title @main_drop_down_title end |
#max_comparing_count ⇒ Object
-
(text) #
1243 1244 1245 |
# File 'lib/ambling/stock.rb', line 1243 def max_comparing_count @max_comparing_count end |
#position ⇒ Object
- 180
-
(Number) #
1226 1227 1228 |
# File 'lib/ambling/stock.rb', line 1226 def position @position end |
#text_color ⇒ Object
- 3
-
(Number) in order to avoid mess, you can limit max number of data sets selected for comparing at a time #
1239 1240 1241 |
# File 'lib/ambling/stock.rb', line 1239 def text_color @text_color end |
#text_size ⇒ Object
- text_color
-
(hex code) #
1234 1235 1236 |
# File 'lib/ambling/stock.rb', line 1234 def text_size @text_size end |
#width ⇒ Object
- text_size
-
(Number) #
1230 1231 1232 |
# File 'lib/ambling/stock.rb', line 1230 def width @width end |