Searched refs:cfg (Results 51 - 75 of 448) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/calendar/
H A Dcalendar.js205 var cfg = {},
212 cfg[prop] = property.value;
216 return cfg;
1221 * @deprecated Configuration properties should be set by calling Calendar.cfg.setProperty.
1325 * @property cfg
1328 this.cfg = new YAHOO.util.Config(this);
1357 this.cfg.applyConfig(config, true);
1360 this.cfg.fireQueue();
1410 var close = this.cfg.getProperty(YAHOO.widget.Calendar._DEFAULT_CONFIG.CLOSE.key);
1439 var title = this.cfg
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/calendar/
H A Dcalendar-debug.js208 var cfg = {},
215 cfg[prop] = property.value;
219 return cfg;
1227 * @deprecated Configuration properties should be set by calling Calendar.cfg.setProperty.
1333 * @property cfg
1336 this.cfg = new YAHOO.util.Config(this);
1365 this.cfg.applyConfig(config, true);
1368 this.cfg.fireQueue();
1418 var close = this.cfg.getProperty(YAHOO.widget.Calendar._DEFAULT_CONFIG.CLOSE.key);
1447 var title = this.cfg
[all...]
H A Dcalendar-min.js10 this.setProperty(key,propertyObject.value,true);if(!propertyObject.suppressEvent){this.queueProperty(key,propertyObject.value);}},getConfig:function(){var cfg={},prop,property;for(prop in this.config){property=this.config[prop];if(property&&property.event){cfg[prop]=property.value;}}
11 return cfg;},getProperty:function(key){var property=this.config[key.toLowerCase()];if(property&&property.event){return property.value;}else{return undefined;}},resetProperty:function(key){key=key.toLowerCase();var property=this.config[key];if(property&&property.event){if(this.initialConfig[key]&&!Lang.isUndefined(this.initialConfig[key])){this.setProperty(key,this.initialConfig[key]);}
29 return overlaps;},findMonthStart:function(date){var start=new Date(date.getFullYear(),date.getMonth(),1);return start;},findMonthEnd:function(date){var start=this.findMonthStart(date);var nextMonth=this.add(start,this.MONTH,1);var end=this.subtract(nextMonth,this.DAY,1);return end;},clearTime:function(date){date.setHours(12,0,0,0);return date;}};YAHOO.widget.Calendar=function(id,containerId,config){this.init(id,containerId,config);};YAHOO.widget.Calendar.IMG_ROOT=null;YAHOO.widget.Calendar.DATE="D";YAHOO.widget.Calendar.MONTH_DAY="MD";YAHOO.widget.Calendar.WEEKDAY="WD";YAHOO.widget.Calendar.RANGE="R";YAHOO.widget.Calendar.MONTH="M";YAHOO.widget.Calendar.DISPLAY_DAYS=42;YAHOO.widget.Calendar.STOP_RENDER="S";YAHOO.widget.Calendar.SHORT="short";YAHOO.widget.Calendar.LONG="long";YAHOO.widget.Calendar.MEDIUM="medium";YAHOO.widget.Calendar.ONE_CHAR="1char";YAHOO.widget.Calendar._DEFAULT_CONFIG={PAGEDATE:{key:"pagedate",value:null},SELECTED:{key:"selected",value:null},TITLE:{key:"title",value:""},CLOSE:{key:"close",value:false},IFRAME:{key:"iframe",value:(YAHOO.env.ua.ie&&YAHOO.env.ua.ie<=6)?true:false},MINDATE:{key:"mindate",value:null},MAXDATE:{key:"maxdate",value:null},MULTI_SELECT:{key:"multi_select",value:false},START_WEEKDAY:{key:"start_weekday",value:0},SHOW_WEEKDAYS:{key:"show_weekdays",value:true},SHOW_WEEK_HEADER:{key:"show_week_header",value:false},SHOW_WEEK_FOOTER:{key:"show_week_footer",value:false},HIDE_BLANK_WEEKS:{key:"hide_blank_weeks",value:false},NAV_ARROW_LEFT:{key:"nav_arrow_left",value:null},NAV_ARROW_RIGHT:{key:"nav_arrow_right",value:null},MONTHS_SHORT:{key:"months_short",value:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},MONTHS_LONG:{key:"months_long",value:["January","February","March","April","May","June","July","August","September","October","November","December"]},WEEKDAYS_1CHAR:{key:"weekdays_1char",value:["S","M","T","W","T","F","S"]},WEEKDAYS_SHORT:{key:"weekdays_short",value:["Su","Mo","Tu","We","Th","Fr","Sa"]},WEEKDAYS_MEDIUM:{key:"weekdays_medium",value:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},WEEKDAYS_LONG:{key:"weekdays_long",value:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},LOCALE_MONTHS:{key:"locale_months",value:"long"},LOCALE_WEEKDAYS:{key:"locale_weekdays",value:"short"},DATE_DELIMITER:{key:"date_delimiter",value:","},DATE_FIELD_DELIMITER:{key:"date_field_delimiter",value:"/"},DATE_RANGE_DELIMITER:{key:"date_range_delimiter",value:"-"},MY_MONTH_POSITION:{key:"my_month_position",value:1},MY_YEAR_POSITION:{key:"my_year_position",value:2},MD_MONTH_POSITION:{key:"md_month_position",value:1},MD_DAY_POSITION:{key:"md_day_position",value:2},MDY_MONTH_POSITION:{key:"mdy_month_position",value:1},MDY_DAY_POSITION:{key:"mdy_day_position",value:2},MDY_YEAR_POSITION:{key:"mdy_year_position",value:3},MY_LABEL_MONTH_POSITION:{key:"my_label_month_position",value:1},MY_LABEL_YEAR_POSITION:{key:"my_label_year_position",value:2},MY_LABEL_MONTH_SUFFIX:{key:"my_label_month_suffix",value:" "},MY_LABEL_YEAR_SUFFIX:{key:"my_label_year_suffix",value:""}};YAHOO.widget.Calendar._EVENT_TYPES={BEFORE_SELECT:"beforeSelect",SELECT:"select",BEFORE_DESELECT:"beforeDeselect",DESELECT:"deselect",CHANGE_PAGE:"changePage",BEFORE_RENDER:"beforeRender",RENDER:"render",RESET:"reset",CLEAR:"clear"};YAHOO.widget.Calendar._STYLES={CSS_ROW_HEADER:"calrowhead",CSS_ROW_FOOTER:"calrowfoot",CSS_CELL:"calcell",CSS_CELL_SELECTOR:"selector",CSS_CELL_SELECTED:"selected",CSS_CELL_SELECTABLE:"selectable",CSS_CELL_RESTRICTED:"restricted",CSS_CELL_TODAY:"today",CSS_CELL_OOM:"oom",CSS_CELL_OOB:"previous",CSS_HEADER:"calheader",CSS_HEADER_TEXT:"calhead",CSS_BODY:"calbody",CSS_WEEKDAY_CELL:"calweekdaycell",CSS_WEEKDAY_ROW:"calweekdayrow",CSS_FOOTER:"calfoot",CSS_CALENDAR:"yui-calendar",CSS_SINGLE:"single",CSS_CONTAINER:"yui-calcontainer",CSS_NAV_LEFT:"calnavleft",CSS_NAV_RIGHT:"calnavright",CSS_CLOSE:"calclose",CSS_CELL_TOP:"calcelltop",CSS_CELL_LEFT:"calcellleft",CSS_CELL_RIGHT:"calcellright",CSS_CELL_BOTTOM:"calcellbottom",CSS_CELL_HOVER:"calcellhover",CSS_CELL_HIGHLIGHT1:"highlight1",CSS_CELL_HIGHLIGHT2:"highlight2",CSS_CELL_HIGHLIGHT3:"highlight3",CSS_CELL_HIGHLIGHT4:"highlight4"};YAHOO.widget.Calendar.prototype={Config:null,parent:null,index:-1,cells:null,cellDates:null,id:null,oDomContainer:null,today:null,renderStack:null,_renderStack:null,_selectedDates:null,domEventMap:null};YAHOO.widget.Calendar.prototype.init=function(id,containerId,config){this.initEvents();this.today=new Date();YAHOO.widget.DateMath.clearTime(this.today);this.id=id;this.oDomContainer=document.getElementById(containerId);this.cfg=new YAHOO.util.Config(this);this.Options={};this.Locale={};this.initStyles();YAHOO.util.Dom.addClass(this.oDomContainer,this.Style.CSS_CONTAINER);YAHOO.util.Dom.addClass(this.oDomContainer,this.Style.CSS_SINGLE);this.cellDates=[];this.cells=[];this.renderStack=[];this._renderStack=[];this.setupConfig();if(config){this.cfg.applyConfig(config,true);}
30 this.cfg.fireQueue();};YAHOO.widget.Calendar.prototype.configIframe=function(type,args,obj){var useIframe=args[0];if(!this.parent){if(YAHOO.util.Dom.inDocument(this.oDomContainer)){if(useIframe){var pos=YAHOO.util.Dom.getStyle(this.oDomContainer,"position");if(pos=="absolute"||pos=="relative"){if(!YAHOO.util.Dom.inDocument(this.iframe)){this.iframe=document.createElement("iframe");this.iframe.src="javascript:false;";YAHOO.util.Dom.setStyle(this.iframe,"opacity","0");if(YAHOO.env.ua.ie&&YAHOO.env.ua.ie<=6){YAHOO.util.Dom.addClass(this.iframe,"fixedsize");}
32 this.iframe=null;}}}}};YAHOO.widget.Calendar.prototype.configTitle=function(type,args,obj){var title=args[0];var close=this.cfg.getProperty(YAHOO.widget.Calendar._DEFAULT_CONFIG.CLOSE.key);var titleDiv;if(title&&title!==""){titleDiv=YAHOO.util.Dom.getElementsByClassName(YAHOO.widget.CalendarGroup.CSS_2UPTITLE,"div",this.oDomContainer)[0]||document.createElement("div");titleDiv.className=YAHOO.widget.CalendarGroup.CSS_2UPTITLE;titleDiv.innerHTML=title;this.oDomContainer.insertBefore(titleDiv,this.oDomContainer.firstChild);YAHOO.util.Dom.addClass(this.oDomContainer,"withtitle");}else{titleDiv=YAHOO.util.Dom.getElementsByClassName(YAHOO.widget.CalendarGroup.CSS_2UPTITLE,"div",this.oDomContainer)[0]||null;if(titleDiv){YAHOO.util.Event.purgeElement(titleDiv);this.oDomContainer.removeChild(titleDiv);}
33 if(!close){YAHOO.util.Dom.removeClass(this.oDomContainer,"withtitle");}}};YAHOO.widget.Calendar.prototype.configClose=function(type,args,obj){var close=args[0];var title=this.cfg.getProperty(YAHOO.widget.Calendar._DEFAULT_CONFIG.TITLE.key);var DEPR_CLOSE_PATH="us/my/bn/x_d.gif";var linkClose;if(close===true){linkClose=YAHOO.util.Dom.getElementsByClassName("link-close","a",this.oDomContainer)[0]||document.createElement("a");linkClose.href="#";linkClose.className="link-close";YAHOO.util.Event.addListener(linkClose,"click",function(e,cal){cal.hide();YAHOO.util.Event.preventDefault(e);},this);if(YAHOO.widget.Calendar.IMG_ROOT!==null){var imgClose=document.createElement("img");imgClose.src=YAHOO.widget.Calendar.IMG_ROOT+DEPR_CLOSE_PATH;imgClose.className=YAHOO.widget.CalendarGroup.CSS_2UPCLOSE;linkClose.appendChild(imgClose);}else{linkClose.innerHTML='<span class="'+YAHOO.widget.CalendarGroup.CSS_2UPCLOSE+' '+this.Style.CSS_CLOSE+'"></span>';}
44 if(YAHOO.util.Dom.hasClass(target,cal.Style.CSS_CELL_SELECTABLE)){YAHOO.util.Dom.removeClass(target,cal.Style.CSS_CELL_HOVER);}};YAHOO.widget.Calendar.prototype.setupConfig=function(){var defCfg=YAHOO.widget.Calendar._DEFAULT_CONFIG;this.cfg.addProperty(defCfg.PAGEDATE.key,{value:new Date(),handler:this.configPageDate});this.cfg
[all...]
H A Dcalendar.js205 var cfg = {},
212 cfg[prop] = property.value;
216 return cfg;
1221 * @deprecated Configuration properties should be set by calling Calendar.cfg.setProperty.
1325 * @property cfg
1328 this.cfg = new YAHOO.util.Config(this);
1357 this.cfg.applyConfig(config, true);
1360 this.cfg.fireQueue();
1410 var close = this.cfg.getProperty(YAHOO.widget.Calendar._DEFAULT_CONFIG.CLOSE.key);
1439 var title = this.cfg
[all...]
/forgerock/opendj2/src/server/org/opends/server/backends/jeb/
H A DBackendImpl.java96 private LocalDBBackendCfg cfg; field in class:BackendImpl
205 File parentDirectory = getFileForPath(cfg.getDBDirectory());
206 File backendDirectory = new File(parentDirectory, cfg.getBackendId());
246 public void configureBackend(LocalDBBackendCfg cfg) throws ConfigException argument
248 Validator.ensureNotNull(cfg);
250 this.cfg = cfg;
251 baseDNs = this.cfg.getBaseDN().toArray(new DN[0]);
266 ConfigurableEnvironment.parseConfigEntry(cfg);
271 rootContainer.preload(cfg
1306 isConfigurationChangeAcceptable( LocalDBBackendCfg cfg, List<Message> unacceptableReasons) argument
[all...]
H A DConfigurableEnvironment.java313 * @param cfg The configuration containing the property values.
317 private static String getPropertyValue(LocalDBBackendCfg cfg, String attrName) argument
326 Long value = (Long)method.invoke(cfg);
337 Object value = method.invoke(cfg);
349 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
367 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
473 * @param cfg The configuration to be parsed.
478 public static EnvironmentConfig parseConfigEntry(LocalDBBackendCfg cfg) argument
482 if(cfg.getDBCacheSize() != 0)
484 if (MemoryBudget.getRuntimeMaxMemory() < cfg
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/backends/jeb/
H A DBackendImpl.java96 private LocalDBBackendCfg cfg; field in class:BackendImpl
205 File parentDirectory = getFileForPath(cfg.getDBDirectory());
206 File backendDirectory = new File(parentDirectory, cfg.getBackendId());
246 public void configureBackend(LocalDBBackendCfg cfg) throws ConfigException argument
248 Validator.ensureNotNull(cfg);
250 this.cfg = cfg;
251 baseDNs = this.cfg.getBaseDN().toArray(new DN[0]);
266 ConfigurableEnvironment.parseConfigEntry(cfg);
271 rootContainer.preload(cfg
1306 isConfigurationChangeAcceptable( LocalDBBackendCfg cfg, List<Message> unacceptableReasons) argument
[all...]
H A DConfigurableEnvironment.java313 * @param cfg The configuration containing the property values.
317 private static String getPropertyValue(LocalDBBackendCfg cfg, String attrName) argument
326 Long value = (Long)method.invoke(cfg);
337 Object value = method.invoke(cfg);
349 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
367 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
473 * @param cfg The configuration to be parsed.
478 public static EnvironmentConfig parseConfigEntry(LocalDBBackendCfg cfg) argument
482 if(cfg.getDBCacheSize() != 0)
484 if (MemoryBudget.getRuntimeMaxMemory() < cfg
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/jeb/
H A DConfigurableEnvironment.java320 * @param cfg The configuration containing the property values.
324 private static String getPropertyValue(LocalDBBackendCfg cfg, String attrName) argument
333 Long value = (Long)method.invoke(cfg);
344 Object value = method.invoke(cfg);
356 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
374 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
486 * @param cfg The configuration to be parsed.
491 public static EnvironmentConfig parseConfigEntry(LocalDBBackendCfg cfg) argument
495 if(cfg.getDBCacheSize() != 0)
497 if (MemoryBudget.getRuntimeMaxMemory() < cfg
[all...]
H A DBackendImpl.java107 private LocalDBBackendCfg cfg; field in class:BackendImpl
236 File parentDirectory = getFileForPath(cfg.getDBDirectory());
237 File backendDirectory = new File(parentDirectory, cfg.getBackendId());
289 public void configureBackend(Configuration cfg) argument
292 Validator.ensureNotNull(cfg);
293 Validator.ensureTrue(cfg instanceof LocalDBBackendCfg);
295 this.cfg = (LocalDBBackendCfg)cfg;
297 Set<DN> dnSet = this.cfg.getBaseDN();
318 ConfigurableEnvironment.parseConfigEntry(cfg);
1515 isConfigurationChangeAcceptable( LocalDBBackendCfg cfg, List<Message> unacceptableReasons) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/jeb/
H A DConfigurableEnvironment.java320 * @param cfg The configuration containing the property values.
324 private static String getPropertyValue(LocalDBBackendCfg cfg, String attrName) argument
333 Long value = (Long)method.invoke(cfg);
344 Object value = method.invoke(cfg);
356 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
374 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
486 * @param cfg The configuration to be parsed.
491 public static EnvironmentConfig parseConfigEntry(LocalDBBackendCfg cfg) argument
495 if(cfg.getDBCacheSize() != 0)
497 if (MemoryBudget.getRuntimeMaxMemory() < cfg
[all...]
H A DBackendImpl.java103 private LocalDBBackendCfg cfg; field in class:BackendImpl
232 File parentDirectory = getFileForPath(cfg.getDBDirectory());
233 File backendDirectory = new File(parentDirectory, cfg.getBackendId());
286 public void configureBackend(Configuration cfg) argument
289 Validator.ensureNotNull(cfg);
290 Validator.ensureTrue(cfg instanceof LocalDBBackendCfg);
292 this.cfg = (LocalDBBackendCfg)cfg;
294 Set<DN> dnSet = this.cfg.getBaseDN();
315 ConfigurableEnvironment.parseConfigEntry(cfg);
1512 isConfigurationChangeAcceptable( LocalDBBackendCfg cfg, List<Message> unacceptableReasons) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/backends/jeb/
H A DConfigurableEnvironment.java320 * @param cfg The configuration containing the property values.
324 private static String getPropertyValue(LocalDBBackendCfg cfg, String attrName) argument
333 Long value = (Long)method.invoke(cfg);
344 Object value = method.invoke(cfg);
356 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
374 .valueOf(cfg.dn().getRDN().getAttributeValue(0)),
486 * @param cfg The configuration to be parsed.
491 public static EnvironmentConfig parseConfigEntry(LocalDBBackendCfg cfg) argument
495 if(cfg.getDBCacheSize() != 0)
497 if (MemoryBudget.getRuntimeMaxMemory() < cfg
[all...]
H A DBackendImpl.java107 private LocalDBBackendCfg cfg; field in class:BackendImpl
236 File parentDirectory = getFileForPath(cfg.getDBDirectory());
237 File backendDirectory = new File(parentDirectory, cfg.getBackendId());
289 public void configureBackend(Configuration cfg) argument
292 Validator.ensureNotNull(cfg);
293 Validator.ensureTrue(cfg instanceof LocalDBBackendCfg);
295 this.cfg = (LocalDBBackendCfg)cfg;
297 Set<DN> dnSet = this.cfg.getBaseDN();
318 ConfigurableEnvironment.parseConfigEntry(cfg);
1512 isConfigurationChangeAcceptable( LocalDBBackendCfg cfg, List<Message> unacceptableReasons) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/core/
H A DVirtualAttributeConfigManager.java137 VirtualAttributeCfg cfg =
139 cfg.addChangeListener(this);
141 if (cfg.isEnabled())
143 String className = cfg.getJavaClass();
147 loadProvider(className, cfg, true);
151 for (String filterString : cfg.getFilter())
165 filterString, String.valueOf(cfg.dn()),
171 if (cfg.getAttributeType().isSingleValue())
176 get(String.valueOf(cfg.dn()),
177 cfg
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/core/
H A DVirtualAttributeConfigManager.java137 VirtualAttributeCfg cfg =
139 cfg.addChangeListener(this);
141 if (cfg.isEnabled())
143 String className = cfg.getJavaClass();
147 loadProvider(className, cfg, true);
151 for (String filterString : cfg.getFilter())
165 filterString, String.valueOf(cfg.dn()),
171 if (cfg.getAttributeType().isSingleValue())
176 get(String.valueOf(cfg.dn()),
177 cfg
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/
H A DVirtualAttributeConfigManager.java137 VirtualAttributeCfg cfg =
139 cfg.addChangeListener(this);
141 if (cfg.isEnabled())
143 String className = cfg.getJavaClass();
147 loadProvider(className, cfg, true);
151 for (String filterString : cfg.getFilter())
165 filterString, String.valueOf(cfg.dn()),
171 if (cfg.getAttributeType().isSingleValue())
176 get(String.valueOf(cfg.dn()),
177 cfg
[all...]
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/menu/
H A Dmenu-debug.js228 if (oMenuItem && !oMenuItem.cfg.getProperty("disabled")) {
279 if (oMenu.cfg.getProperty("clicktohide") &&
281 oMenu.cfg.getProperty("position") == "dynamic") {
521 p_oMenu.cfg.subscribeToConfigEvent(
591 oMenu.cfg.getProperty("position") == "dynamic") {
1476 this.cfg.applyConfig(p_oConfig, true);
1697 if (oItem && !oItem.cfg.getProperty("disabled") &&
1728 bDisabled = this.cfg.getProperty("disabled"),
1765 if (oItem.cfg.getProperty("selected")) {
1838 " Text: " + oGroupItem.cfg
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/menu/
H A Dmenu-debug.js228 if (oMenuItem && !oMenuItem.cfg.getProperty("disabled")) {
279 if (oMenu.cfg.getProperty("clicktohide") &&
281 oMenu.cfg.getProperty("position") == "dynamic") {
521 p_oMenu.cfg.subscribeToConfigEvent(
591 oMenu.cfg.getProperty("position") == "dynamic") {
1476 this.cfg.applyConfig(p_oConfig, true);
1697 if (oItem && !oItem.cfg.getProperty("disabled") &&
1728 bDisabled = this.cfg.getProperty("disabled"),
1765 if (oItem.cfg.getProperty("selected")) {
1838 " Text: " + oGroupItem.cfg
[all...]
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/container/
H A Dcontainer-debug.js208 var cfg = {},
215 cfg[prop] = property.value;
219 return cfg;
1250 this.cfg.addProperty(DEFAULT_CONFIG.VISIBLE.key, {
1263 this.cfg.addProperty(DEFAULT_CONFIG.EFFECT.key, {
1275 this.cfg.addProperty(DEFAULT_CONFIG.MONITOR_RESIZE.key, {
1306 * @property cfg
1309 this.cfg = new Config(this);
1375 this.cfg.applyConfig(userConfig, true);
1385 this.cfg
[all...]
H A Dcontainer-min.js10 this.setProperty(key,propertyObject.value,true);if(!propertyObject.suppressEvent){this.queueProperty(key,propertyObject.value);}},getConfig:function(){var cfg={},prop,property;for(prop in this.config){property=this.config[prop];if(property&&property.event){cfg[prop]=property.value;}}
11 return cfg;},getProperty:function(key){var property=this.config[key.toLowerCase()];if(property&&property.event){return property.value;}else{return undefined;}},resetProperty:function(key){key=key.toLowerCase();var property=this.config[key];if(property&&property.event){if(this.initialConfig[key]&&!Lang.isUndefined(this.initialConfig[key])){this.setProperty(key,this.initialConfig[key]);return true;}}else{return false;}},setProperty:function(key,value,silent){var property;key=key.toLowerCase();if(this.queueInProgress&&!silent){this.queueProperty(key,value);return true;}else{property=this.config[key];if(property&&property.event){if(property.validator&&!property.validator(value)){return false;}else{property.value=value;if(!silent){this.fireEvent(key,value);this.configChangedEvent.fire([key,value]);}
36 Module.prototype={constructor:Module,element:null,header:null,body:null,footer:null,id:null,imageRoot:Module.IMG_ROOT,initEvents:function(){var SIGNATURE=CustomEvent.LIST;this.beforeInitEvent=this.createEvent(EVENT_TYPES.BEFORE_INIT);this.beforeInitEvent.signature=SIGNATURE;this.initEvent=this.createEvent(EVENT_TYPES.INIT);this.initEvent.signature=SIGNATURE;this.appendEvent=this.createEvent(EVENT_TYPES.APPEND);this.appendEvent.signature=SIGNATURE;this.beforeRenderEvent=this.createEvent(EVENT_TYPES.BEFORE_RENDER);this.beforeRenderEvent.signature=SIGNATURE;this.renderEvent=this.createEvent(EVENT_TYPES.RENDER);this.renderEvent.signature=SIGNATURE;this.changeHeaderEvent=this.createEvent(EVENT_TYPES.CHANGE_HEADER);this.changeHeaderEvent.signature=SIGNATURE;this.changeBodyEvent=this.createEvent(EVENT_TYPES.CHANGE_BODY);this.changeBodyEvent.signature=SIGNATURE;this.changeFooterEvent=this.createEvent(EVENT_TYPES.CHANGE_FOOTER);this.changeFooterEvent.signature=SIGNATURE;this.changeContentEvent=this.createEvent(EVENT_TYPES.CHANGE_CONTENT);this.changeContentEvent.signature=SIGNATURE;this.destroyEvent=this.createEvent(EVENT_TYPES.DESTORY);this.destroyEvent.signature=SIGNATURE;this.beforeShowEvent=this.createEvent(EVENT_TYPES.BEFORE_SHOW);this.beforeShowEvent.signature=SIGNATURE;this.showEvent=this.createEvent(EVENT_TYPES.SHOW);this.showEvent.signature=SIGNATURE;this.beforeHideEvent=this.createEvent(EVENT_TYPES.BEFORE_HIDE);this.beforeHideEvent.signature=SIGNATURE;this.hideEvent=this.createEvent(EVENT_TYPES.HIDE);this.hideEvent.signature=SIGNATURE;},platform:function(){var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("windows")!=-1||ua.indexOf("win32")!=-1){return"windows";}else if(ua.indexOf("macintosh")!=-1){return"mac";}else{return false;}}(),browser:function(){var ua=navigator.userAgent.toLowerCase();if(ua.indexOf('opera')!=-1){return'opera';}else if(ua.indexOf('msie 7')!=-1){return'ie7';}else if(ua.indexOf('msie')!=-1){return'ie';}else if(ua.indexOf('safari')!=-1){return'safari';}else if(ua.indexOf('gecko')!=-1){return'gecko';}else{return false;}}(),isSecure:function(){if(window.location.href.toLowerCase().indexOf("https")===0){return true;}else{return false;}}(),initDefaultConfig:function(){this.cfg.addProperty(DEFAULT_CONFIG.VISIBLE.key,{handler:this.configVisible,value:DEFAULT_CONFIG.VISIBLE.value,validator:DEFAULT_CONFIG.VISIBLE.validator});this.cfg.addProperty(DEFAULT_CONFIG.EFFECT.key,{suppressEvent:DEFAULT_CONFIG.EFFECT.suppressEvent,supercedes:DEFAULT_CONFIG.EFFECT.supercedes});this.cfg.addProperty(DEFAULT_CONFIG.MONITOR_RESIZE.key,{handler:this.configMonitorResize,value:DEFAULT_CONFIG.MONITOR_RESIZE.value});},init:function(el,userConfig){var elId,i,child;this.initEvents();this.beforeInitEvent.fire(Module);this.cfg=new Config(this);if(this.isSecure){this.imageRoot=Module.IMG_ROOT_SSL;}
40 this.initDefaultConfig();Dom.addClass(this.element,Module.CSS_MODULE);if(userConfig){this.cfg.applyConfig(userConfig,true);}
41 if(!Config.alreadySubscribed(this.renderEvent,this.cfg.fireQueue,this.cfg)){thi
[all...]
H A Dcontainer.js205 var cfg = {},
212 cfg[prop] = property.value;
216 return cfg;
1242 this.cfg.addProperty(DEFAULT_CONFIG.VISIBLE.key, {
1255 this.cfg.addProperty(DEFAULT_CONFIG.EFFECT.key, {
1267 this.cfg.addProperty(DEFAULT_CONFIG.MONITOR_RESIZE.key, {
1298 * @property cfg
1301 this.cfg = new Config(this);
1367 this.cfg.applyConfig(userConfig, true);
1377 this.cfg
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/container/
H A Dcontainer-debug.js208 var cfg = {},
215 cfg[prop] = property.value;
219 return cfg;
1250 this.cfg.addProperty(DEFAULT_CONFIG.VISIBLE.key, {
1263 this.cfg.addProperty(DEFAULT_CONFIG.EFFECT.key, {
1275 this.cfg.addProperty(DEFAULT_CONFIG.MONITOR_RESIZE.key, {
1306 * @property cfg
1309 this.cfg = new Config(this);
1375 this.cfg.applyConfig(userConfig, true);
1385 this.cfg
[all...]
H A Dcontainer-min.js10 this.setProperty(key,propertyObject.value,true);if(!propertyObject.suppressEvent){this.queueProperty(key,propertyObject.value);}},getConfig:function(){var cfg={},prop,property;for(prop in this.config){property=this.config[prop];if(property&&property.event){cfg[prop]=property.value;}}
11 return cfg;},getProperty:function(key){var property=this.config[key.toLowerCase()];if(property&&property.event){return property.value;}else{return undefined;}},resetProperty:function(key){key=key.toLowerCase();var property=this.config[key];if(property&&property.event){if(this.initialConfig[key]&&!Lang.isUndefined(this.initialConfig[key])){this.setProperty(key,this.initialConfig[key]);return true;}}else{return false;}},setProperty:function(key,value,silent){var property;key=key.toLowerCase();if(this.queueInProgress&&!silent){this.queueProperty(key,value);return true;}else{property=this.config[key];if(property&&property.event){if(property.validator&&!property.validator(value)){return false;}else{property.value=value;if(!silent){this.fireEvent(key,value);this.configChangedEvent.fire([key,value]);}
36 Module.prototype={constructor:Module,element:null,header:null,body:null,footer:null,id:null,imageRoot:Module.IMG_ROOT,initEvents:function(){var SIGNATURE=CustomEvent.LIST;this.beforeInitEvent=this.createEvent(EVENT_TYPES.BEFORE_INIT);this.beforeInitEvent.signature=SIGNATURE;this.initEvent=this.createEvent(EVENT_TYPES.INIT);this.initEvent.signature=SIGNATURE;this.appendEvent=this.createEvent(EVENT_TYPES.APPEND);this.appendEvent.signature=SIGNATURE;this.beforeRenderEvent=this.createEvent(EVENT_TYPES.BEFORE_RENDER);this.beforeRenderEvent.signature=SIGNATURE;this.renderEvent=this.createEvent(EVENT_TYPES.RENDER);this.renderEvent.signature=SIGNATURE;this.changeHeaderEvent=this.createEvent(EVENT_TYPES.CHANGE_HEADER);this.changeHeaderEvent.signature=SIGNATURE;this.changeBodyEvent=this.createEvent(EVENT_TYPES.CHANGE_BODY);this.changeBodyEvent.signature=SIGNATURE;this.changeFooterEvent=this.createEvent(EVENT_TYPES.CHANGE_FOOTER);this.changeFooterEvent.signature=SIGNATURE;this.changeContentEvent=this.createEvent(EVENT_TYPES.CHANGE_CONTENT);this.changeContentEvent.signature=SIGNATURE;this.destroyEvent=this.createEvent(EVENT_TYPES.DESTORY);this.destroyEvent.signature=SIGNATURE;this.beforeShowEvent=this.createEvent(EVENT_TYPES.BEFORE_SHOW);this.beforeShowEvent.signature=SIGNATURE;this.showEvent=this.createEvent(EVENT_TYPES.SHOW);this.showEvent.signature=SIGNATURE;this.beforeHideEvent=this.createEvent(EVENT_TYPES.BEFORE_HIDE);this.beforeHideEvent.signature=SIGNATURE;this.hideEvent=this.createEvent(EVENT_TYPES.HIDE);this.hideEvent.signature=SIGNATURE;},platform:function(){var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("windows")!=-1||ua.indexOf("win32")!=-1){return"windows";}else if(ua.indexOf("macintosh")!=-1){return"mac";}else{return false;}}(),browser:function(){var ua=navigator.userAgent.toLowerCase();if(ua.indexOf('opera')!=-1){return'opera';}else if(ua.indexOf('msie 7')!=-1){return'ie7';}else if(ua.indexOf('msie')!=-1){return'ie';}else if(ua.indexOf('safari')!=-1){return'safari';}else if(ua.indexOf('gecko')!=-1){return'gecko';}else{return false;}}(),isSecure:function(){if(window.location.href.toLowerCase().indexOf("https")===0){return true;}else{return false;}}(),initDefaultConfig:function(){this.cfg.addProperty(DEFAULT_CONFIG.VISIBLE.key,{handler:this.configVisible,value:DEFAULT_CONFIG.VISIBLE.value,validator:DEFAULT_CONFIG.VISIBLE.validator});this.cfg.addProperty(DEFAULT_CONFIG.EFFECT.key,{suppressEvent:DEFAULT_CONFIG.EFFECT.suppressEvent,supercedes:DEFAULT_CONFIG.EFFECT.supercedes});this.cfg.addProperty(DEFAULT_CONFIG.MONITOR_RESIZE.key,{handler:this.configMonitorResize,value:DEFAULT_CONFIG.MONITOR_RESIZE.value});},init:function(el,userConfig){var elId,i,child;this.initEvents();this.beforeInitEvent.fire(Module);this.cfg=new Config(this);if(this.isSecure){this.imageRoot=Module.IMG_ROOT_SSL;}
40 this.initDefaultConfig();Dom.addClass(this.element,Module.CSS_MODULE);if(userConfig){this.cfg.applyConfig(userConfig,true);}
41 if(!Config.alreadySubscribed(this.renderEvent,this.cfg.fireQueue,this.cfg)){thi
[all...]
H A Dcontainer.js205 var cfg = {},
212 cfg[prop] = property.value;
216 return cfg;
1242 this.cfg.addProperty(DEFAULT_CONFIG.VISIBLE.key, {
1255 this.cfg.addProperty(DEFAULT_CONFIG.EFFECT.key, {
1267 this.cfg.addProperty(DEFAULT_CONFIG.MONITOR_RESIZE.key, {
1298 * @property cfg
1301 this.cfg = new Config(this);
1367 this.cfg.applyConfig(userConfig, true);
1377 this.cfg
[all...]

Completed in 394 milliseconds

1234567891011>>