Class: Ambling::Stock::Settings::DataSetSelector

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#compare_list_box_titleObject

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
#FFFFFF

(hex code) #



1255
1256
1257
# File 'lib/ambling/stock.rb', line 1255

def drop_down
  @drop_down
end

#enabledObject

right

(right / left) #



1222
1223
1224
# File 'lib/ambling/stock.rb', line 1222

def enabled
  @enabled
end

(text) #



1247
1248
1249
# File 'lib/ambling/stock.rb', line 1247

def main_drop_down_title
  @main_drop_down_title
end

#max_comparing_countObject

(text) #



1243
1244
1245
# File 'lib/ambling/stock.rb', line 1243

def max_comparing_count
  @max_comparing_count
end

#positionObject

180

(Number) #



1226
1227
1228
# File 'lib/ambling/stock.rb', line 1226

def position
  @position
end

#text_colorObject

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_sizeObject

text_color

(hex code) #



1234
1235
1236
# File 'lib/ambling/stock.rb', line 1234

def text_size
  @text_size
end

#widthObject

text_size

(Number) #



1230
1231
1232
# File 'lib/ambling/stock.rb', line 1230

def width
  @width
end