PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/branches/jsdoc_tk_gui/setup/workingDirectory/Webeo/gui/layout/TabbedPaneParams.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 22 lines | 13 code | 6 blank | 3 comment | 2 complexity | 283c282ea56b417f6dabd8ff3fcb3522 MD5 | raw file
 1ek.require("gui.tools.Logger");
 2
 3ek.register("gui.tooltip.TooltipParams");
 4ek.setVersion("gui.tooltip.TooltipParams", "0.8");
 5
 6/**
 7 *
 8 */
 9function TabbedParams(cssClass, pos, timeToShow, timeToHide, isAlpha, mustManageEvent, logLevel){
10
11	this.cssClass = (cssClass)? cssClass : 'tooltip';
12	this.position = (pos && pos instanceof Position) ? pos : new Position();
13	this.timeToShow = (timeToShow)? timeToShow : 1000;
14	this.timeToHide = (timeToHide)? timeToHide : 500;
15	
16	this.isAlpha = (isAlpha!=null && !isAlpha instanceof FadeParams) ? isAlpha : true;
17	this.fadeParams = (isAlpha instanceof FadeParams) ? isAlpha : null;
18	
19	this.mustManageEvent = (mustManageEvent!=null)? mustManageEvent : true;
20	
21	this.logLevel = (logLevel) ? logLevel : Logger.LEVEL_NONE;
22}