Class: Ambling::Column::Settings::Balloon

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/column.rb

Overview

BALLOON

Constant Summary collapse

VALUES =
[:enabled,:color,:alpha,:text_color,:text_size,:max_width,:corner_radius,:border_width,:border_alpha,:border_color]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

100

(0 - 100)



765
766
767
# File 'lib/ambling/column.rb', line 765

def alpha
  @alpha
end

#border_alphaObject

balloon.alpha

(Number)



795
796
797
# File 'lib/ambling/column.rb', line 795

def border_alpha
  @border_alpha
end

#border_colorObject

balloon.color

(hex color code)



800
801
802
# File 'lib/ambling/column.rb', line 800

def border_color
  @border_color
end

#border_widthObject

0

(Number)



790
791
792
# File 'lib/ambling/column.rb', line 790

def border_width
  @border_width
end

#colorObject

(hex color code) balloon background color. If empty, slightly darker then current column color will be used



760
761
762
# File 'lib/ambling/column.rb', line 760

def color
  @color
end

#corner_radiusObject

0

(Number) Corner radius of a balloon. If you set it > 0, the balloon will not display arrow



785
786
787
# File 'lib/ambling/column.rb', line 785

def corner_radius
  @corner_radius
end

#enabledObject

true

(true / false)



755
756
757
# File 'lib/ambling/column.rb', line 755

def enabled
  @enabled
end

#max_widthObject

220

(Number) The maximum width of a balloon



780
781
782
# File 'lib/ambling/column.rb', line 780

def max_width
  @max_width
end

#text_colorObject

#FFFFFF

(hex color code)



770
771
772
# File 'lib/ambling/column.rb', line 770

def text_color
  @text_color
end

#text_sizeObject

text_size

(Number)



775
776
777
# File 'lib/ambling/column.rb', line 775

def text_size
  @text_size
end