Class Index | File Index

Classes


Class Exanpe.ColorPicker

Represents a Color Picker. Can be accessed through JavaScript by its id.
Defined in: exanpe-t5-lib.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exanpe.ColorPicker(id, yuipanel, yuicolor)
Constructor
Field Summary
Field Attributes Field Name and Description
 
id
id of the instance
 
yui
yui object of the color picker
 
yui object of the panel displaying the color picker
Method Summary
Method Attributes Method Name and Description
 
hide()
Hide the color picker
 
Reset the color picker content
 
setValue(rgbValue)
Set a value for the color picker
 
show()
Show the color picker
Class Detail
Exanpe.ColorPicker(id, yuipanel, yuicolor)
Constructor
Parameters:
{String} id
the id of the slide show
{YUI} yuipanel
the YUIPanel displaying the color picker object wrapped
{YUI} yuicolor
the YUI ColorPicker object wrapped
Field Detail
id
id of the instance

yui
yui object of the color picker

yuipanel
yui object of the panel displaying the color picker
Method Detail
hide()
Hide the color picker

reset()
Reset the color picker content

setValue(rgbValue)
Set a value for the color picker
Parameters:
{Array} rgbValue
the value to set as an array [int, int, int] for [R, G, B]

show()
Show the color picker

Documentation generated by JsDoc Toolkit 2.0.0 on Mon Jan 09 2012 21:35:39 GMT+0100 (CET)