Class: Ambling::Xy::Settings::Help::Balloon

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

Overview

help balloon

Constant Summary collapse

VALUES =
[:color,:alpha,:width,:text_color,:text_size,:text]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

100

(0 - 100) background alpha



985
986
987
# File 'lib/ambling/xy.rb', line 985

def alpha
  @alpha
end

#colorObject

#000000

(hex color code) background color



980
981
982
# File 'lib/ambling/xy.rb', line 980

def color
  @color
end

#textObject

(text) some html tags may be used (supports , <i>, <u>, <font>, <br/>. Enter text between []: <![CDATA[your <b>bold and italic text]]>



1005
1006
1007
# File 'lib/ambling/xy.rb', line 1005

def text
  @text
end

#text_colorObject

#FFFFFF

(hex color code) button text color



995
996
997
# File 'lib/ambling/xy.rb', line 995

def text_color
  @text_color
end

#text_sizeObject

(Number) button text size



1000
1001
1002
# File 'lib/ambling/xy.rb', line 1000

def text_size
  @text_size
end

#widthObject

300

(Number)



990
991
992
# File 'lib/ambling/xy.rb', line 990

def width
  @width
end