Searched refs:proto (Results 1 - 25 of 58) sorted by relevance

123

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/services/baseurl/
H A DForwardedHeaderBaseURLProvider.java53 List<String> proto = header.getProtoValues();
54 if (proto.size() != 1) {
55 throw new IllegalArgumentException("Cannot deduce proto value from headers: " + proto);
57 return proto.get(0) + "://" + host.get(0);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/services/baseurl/
H A DForwardedHeaderBaseURLProvider.java53 List<String> proto = header.getProtoValues();
54 if (proto.size() != 1) {
55 throw new IllegalArgumentException("Cannot deduce proto value from headers: " + proto);
57 return proto.get(0) + "://" + host.get(0);
/forgerock/openam-v13/openam-server-only/src/main/webapp/com_sun_web_ui/js/
H A Dpopup.js126 var proto;
129 proto = menu.prototypeStyles || this.prototypeStyles || menu;
132 ' <div id="menuLite'+ countMenus +'" style="position:absolute;left:'+ proto.menuBorder +'px;top:'+ proto.menuBorder +'px;visibility:hide;" onMouseOut="hideMenu(event);">\n'+
151 proto.menuItemHeight = proto.menuItemHeight || defaultHeight;
152 proto.menuItemIndent = proto.menuItemIndent || defaultIndent;
153 var itemProps = 'visibility:hide;font-Family:' + proto.fontFamily +';font-Weight:' + proto
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/com_sun_web_ui/js/
H A Dpopup.js126 var proto;
129 proto = menu.prototypeStyles || this.prototypeStyles || menu;
132 ' <div id="menuLite'+ countMenus +'" style="position:absolute;left:'+ proto.menuBorder +'px;top:'+ proto.menuBorder +'px;visibility:hide;" onMouseOut="hideMenu(event);">\n'+
151 proto.menuItemHeight = proto.menuItemHeight || defaultHeight;
152 proto.menuItemIndent = proto.menuItemIndent || defaultIndent;
153 var itemProps = 'visibility:hide;font-Family:' + proto.fontFamily +';font-Weight:' + proto
[all...]
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/tabview/
H A Dtabview-debug.js42 var proto = YAHOO.widget.TabView.prototype; variable
53 proto.CLASSNAME = 'yui-navset';
64 proto.TAB_PARENT_CLASSNAME = 'yui-nav';
75 proto.CONTENT_PARENT_CLASSNAME = 'yui-content';
77 proto._tabParent = null;
78 proto._contentParent = null;
88 proto.addTab = function(tab, index) {
152 proto.DOMEventHandler = function(e) {
185 proto.getTab = function(index) {
195 proto
[all...]
H A Dtabview-min.js10 YAHOO.widget.TabView.superclass.constructor.call(this,el,attr);};YAHOO.extend(YAHOO.widget.TabView,YAHOO.util.Element);var proto=YAHOO.widget.TabView.prototype;var Dom=YAHOO.util.Dom;var Event=YAHOO.util.Event;var Tab=YAHOO.widget.Tab;proto.CLASSNAME='yui-navset';proto.TAB_PARENT_CLASSNAME='yui-nav';proto.CONTENT_PARENT_CLASSNAME='yui-content';proto._tabParent=null;proto._contentParent=null;proto.addTab=function(tab,index){var tabs=this.get('tabs');if(!tabs){this._queue[this._queue.length]=['addTab',arguments];return false;} variable
15 self.set('activeTab',this,silent);};tab.addListener(tab.get('activationEvent'),activate);tab.addListener('activationEventChange',function(e){if(e.prevValue!=e.newValue){tab.removeListener(e.prevValue,activate);tab.addListener(e.newValue,activate);}});tabs.splice(index,0,tab);};proto.DOMEventHandler=function(e){var el=this.get('element');var target=YAHOO.util.Event.getTarget(e);var tabParent=this._tabParent;if(Dom.isAncestor(tabParent,target)){var tabEl;var tab=null;var contentEl;var tabs=this.get('tabs');for(var i=0,len=tabs.length;i<len;i++){tabEl=tabs[i].get('element');contentEl=tabs[i].get('contentEl');if(target==tabEl||Dom.isAncestor(tabEl,target)){tab=tabs[i];break;}}
16 if(tab){tab.fireEvent(e.type,e);}}};proto.getTab=function(index){return this.get('tabs')[index];};proto
[all...]
H A Dtabview.js42 var proto = YAHOO.widget.TabView.prototype; variable
53 proto.CLASSNAME = 'yui-navset';
64 proto.TAB_PARENT_CLASSNAME = 'yui-nav';
75 proto.CONTENT_PARENT_CLASSNAME = 'yui-content';
77 proto._tabParent = null;
78 proto._contentParent = null;
88 proto.addTab = function(tab, index) {
152 proto.DOMEventHandler = function(e) {
185 proto.getTab = function(index) {
195 proto
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/tabview/
H A Dtabview-debug.js42 var proto = YAHOO.widget.TabView.prototype; variable
53 proto.CLASSNAME = 'yui-navset';
64 proto.TAB_PARENT_CLASSNAME = 'yui-nav';
75 proto.CONTENT_PARENT_CLASSNAME = 'yui-content';
77 proto._tabParent = null;
78 proto._contentParent = null;
88 proto.addTab = function(tab, index) {
152 proto.DOMEventHandler = function(e) {
185 proto.getTab = function(index) {
195 proto
[all...]
H A Dtabview-min.js10 YAHOO.widget.TabView.superclass.constructor.call(this,el,attr);};YAHOO.extend(YAHOO.widget.TabView,YAHOO.util.Element);var proto=YAHOO.widget.TabView.prototype;var Dom=YAHOO.util.Dom;var Event=YAHOO.util.Event;var Tab=YAHOO.widget.Tab;proto.CLASSNAME='yui-navset';proto.TAB_PARENT_CLASSNAME='yui-nav';proto.CONTENT_PARENT_CLASSNAME='yui-content';proto._tabParent=null;proto._contentParent=null;proto.addTab=function(tab,index){var tabs=this.get('tabs');if(!tabs){this._queue[this._queue.length]=['addTab',arguments];return false;} variable
15 self.set('activeTab',this,silent);};tab.addListener(tab.get('activationEvent'),activate);tab.addListener('activationEventChange',function(e){if(e.prevValue!=e.newValue){tab.removeListener(e.prevValue,activate);tab.addListener(e.newValue,activate);}});tabs.splice(index,0,tab);};proto.DOMEventHandler=function(e){var el=this.get('element');var target=YAHOO.util.Event.getTarget(e);var tabParent=this._tabParent;if(Dom.isAncestor(tabParent,target)){var tabEl;var tab=null;var contentEl;var tabs=this.get('tabs');for(var i=0,len=tabs.length;i<len;i++){tabEl=tabs[i].get('element');contentEl=tabs[i].get('contentEl');if(target==tabEl||Dom.isAncestor(tabEl,target)){tab=tabs[i];break;}}
16 if(tab){tab.fireEvent(e.type,e);}}};proto.getTab=function(index){return this.get('tabs')[index];};proto
[all...]
H A Dtabview.js42 var proto = YAHOO.widget.TabView.prototype; variable
53 proto.CLASSNAME = 'yui-navset';
64 proto.TAB_PARENT_CLASSNAME = 'yui-nav';
75 proto.CONTENT_PARENT_CLASSNAME = 'yui-content';
77 proto._tabParent = null;
78 proto._contentParent = null;
88 proto.addTab = function(tab, index) {
152 proto.DOMEventHandler = function(e) {
185 proto.getTab = function(index) {
195 proto
[all...]
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/
H A DNetworkValidator.java225 * @param proto
232 public ValidationResult isValidProtocol(String proto, Map props, argument
238 if ((proto != null) && (proto.length() > 0)) {
239 if ((proto.compareToIgnoreCase(STR_VA_HTTP_PROTO) == 0)
240 || (proto.compareToIgnoreCase(STR_VA_HTTPS_PROTO) == 0)) {
242 new Object[] { proto });
250 new Object[] { proto });
253 Debug.log("NetworkValidator : Is protocol : " + proto + " valid ? "
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/configurator/
H A DNetworkValidator.java225 * @param proto
232 public ValidationResult isValidProtocol(String proto, Map props, argument
238 if ((proto != null) && (proto.length() > 0)) {
239 if ((proto.compareToIgnoreCase(STR_VA_HTTP_PROTO) == 0)
240 || (proto.compareToIgnoreCase(STR_VA_HTTPS_PROTO) == 0)) {
242 new Object[] { proto });
250 new Object[] { proto });
253 Debug.log("NetworkValidator : Is protocol : " + proto + " valid ? "
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/monitoring/
H A DSsoServerTopologyImpl.java91 String proto = null;
96 proto = url.getProtocol();
117 ssrv.ServerProtocol = proto;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/monitoring/
H A DSsoServerTopologyImpl.java91 String proto = null;
96 proto = url.getProtocol();
117 ssrv.ServerProtocol = proto;
/forgerock/web-agents-v4/source/varnish/
H A Dvcc_if.c127 .proto = Vmod_Proto,
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/animation/
H A Danimation-debug.js706 var proto = Y.ColorAnim.prototype; variable
708 proto.toString = function() {
714 proto.patterns.color = /color$/i;
715 proto.patterns.rgb = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;
716 proto.patterns.hex = /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;
717 proto.patterns.hex3 = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;
718 proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need rgba for safari
726 proto.parseColor = function(s) {
747 proto.getAttribute = function(attr) {
771 proto
1180 var proto = Y.Motion.prototype; variable
1332 var proto = Y.Scroll.prototype; variable
[all...]
H A Danimation-min.js33 return[tmp[0][0],tmp[0][1]];};};(function(){YAHOO.util.ColorAnim=function(el,attributes,duration,method){YAHOO.util.ColorAnim.superclass.constructor.call(this,el,attributes,duration,method);};YAHOO.extend(YAHOO.util.ColorAnim,YAHOO.util.Anim);var Y=YAHOO.util;var superclass=Y.ColorAnim.superclass;var proto=Y.ColorAnim.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("ColorAnim "+id);};proto.patterns.color=/color$/i;proto.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;proto.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;proto.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;proto.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;proto.parseColor=function(s){if(s.length==3){return s;} variable
37 return null;};proto.getAttribute=function(attr){var el=this.getEl();if(this.patterns.color.test(attr)){var val=YAHOO.util.Dom.getStyle(el,attr);if(this.patterns.transparent.test(val)){var parent=el.parentNode;val=Y.Dom.getStyle(parent,attr);while(parent&&this.patterns.transparent.test(val)){parent=parent.parentNode;val=Y.Dom.getStyle(parent,attr);if(parent.tagName.toUpperCase()=='HTML'){val='#fff';}}}}else{val=superclass.getAttribute.call(this,attr);}
38 return val;};proto
66 return YAHOO.util.Easing.bounceOut(t*2-d,0,c,d)*.5+c*.5+b;}};(function(){YAHOO.util.Motion=function(el,attributes,duration,method){if(el){YAHOO.util.Motion.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Motion,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Motion.superclass;var proto=Y.Motion.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Motion "+id);};proto.patterns.points=/^points$/i;proto.setAttribute=function(attr,val,unit){if(this.patterns.points.test(attr)){unit=unit||'px';superclass.setAttribute.call(this,'left',val[0],unit);superclass.setAttribute.call(this,'top',val[1],unit);}else{superclass.setAttribute.call(this,attr,val,unit);}};proto.getAttribute=function(attr){if(this.patterns.points.test(attr)){var val=[superclass.getAttribute.call(this,'left'),superclass.getAttribute.call(this,'top')];}else{val=superclass.getAttribute.call(this,attr);} variable
76 else{superclass.setRuntimeAttribute.call(this,attr);}};var translateValues=function(val,start){var pageXY=Y.Dom.getXY(this.getEl());val=[val[0]-pageXY[0]+start[0],val[1]-pageXY[1]+start[1]];return val;};var isset=function(prop){return(typeof prop!=='undefined');};})();(function(){YAHOO.util.Scroll=function(el,attributes,duration,method){if(el){YAHOO.util.Scroll.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Scroll,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Scroll.superclass;var proto=Y.Scroll.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Scroll "+id);};proto.doMethod=function(attr,start,end){var val=null;if(attr=='scroll'){val=[this.method(this.currentFrame,start[0],end[0]-start[0],this.totalFrames),this.method(this.currentFrame,start[1],end[1]-start[1],this.totalFrames)];}else{val=superclass.doMethod.call(this,attr,start,end);} variable
[all...]
H A Danimation.js702 var proto = Y.ColorAnim.prototype; variable
704 proto.toString = function() {
710 proto.patterns.color = /color$/i;
711 proto.patterns.rgb = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;
712 proto.patterns.hex = /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;
713 proto.patterns.hex3 = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;
714 proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need rgba for safari
722 proto.parseColor = function(s) {
743 proto.getAttribute = function(attr) {
767 proto
1176 var proto = Y.Motion.prototype; variable
1328 var proto = Y.Scroll.prototype; variable
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/animation/
H A Danimation-debug.js706 var proto = Y.ColorAnim.prototype; variable
708 proto.toString = function() {
714 proto.patterns.color = /color$/i;
715 proto.patterns.rgb = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;
716 proto.patterns.hex = /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;
717 proto.patterns.hex3 = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;
718 proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need rgba for safari
726 proto.parseColor = function(s) {
747 proto.getAttribute = function(attr) {
771 proto
1180 var proto = Y.Motion.prototype; variable
1332 var proto = Y.Scroll.prototype; variable
[all...]
H A Danimation-min.js33 return[tmp[0][0],tmp[0][1]];};};(function(){YAHOO.util.ColorAnim=function(el,attributes,duration,method){YAHOO.util.ColorAnim.superclass.constructor.call(this,el,attributes,duration,method);};YAHOO.extend(YAHOO.util.ColorAnim,YAHOO.util.Anim);var Y=YAHOO.util;var superclass=Y.ColorAnim.superclass;var proto=Y.ColorAnim.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("ColorAnim "+id);};proto.patterns.color=/color$/i;proto.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;proto.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;proto.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;proto.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;proto.parseColor=function(s){if(s.length==3){return s;} variable
37 return null;};proto.getAttribute=function(attr){var el=this.getEl();if(this.patterns.color.test(attr)){var val=YAHOO.util.Dom.getStyle(el,attr);if(this.patterns.transparent.test(val)){var parent=el.parentNode;val=Y.Dom.getStyle(parent,attr);while(parent&&this.patterns.transparent.test(val)){parent=parent.parentNode;val=Y.Dom.getStyle(parent,attr);if(parent.tagName.toUpperCase()=='HTML'){val='#fff';}}}}else{val=superclass.getAttribute.call(this,attr);}
38 return val;};proto
66 return YAHOO.util.Easing.bounceOut(t*2-d,0,c,d)*.5+c*.5+b;}};(function(){YAHOO.util.Motion=function(el,attributes,duration,method){if(el){YAHOO.util.Motion.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Motion,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Motion.superclass;var proto=Y.Motion.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Motion "+id);};proto.patterns.points=/^points$/i;proto.setAttribute=function(attr,val,unit){if(this.patterns.points.test(attr)){unit=unit||'px';superclass.setAttribute.call(this,'left',val[0],unit);superclass.setAttribute.call(this,'top',val[1],unit);}else{superclass.setAttribute.call(this,attr,val,unit);}};proto.getAttribute=function(attr){if(this.patterns.points.test(attr)){var val=[superclass.getAttribute.call(this,'left'),superclass.getAttribute.call(this,'top')];}else{val=superclass.getAttribute.call(this,attr);} variable
76 else{superclass.setRuntimeAttribute.call(this,attr);}};var translateValues=function(val,start){var pageXY=Y.Dom.getXY(this.getEl());val=[val[0]-pageXY[0]+start[0],val[1]-pageXY[1]+start[1]];return val;};var isset=function(prop){return(typeof prop!=='undefined');};})();(function(){YAHOO.util.Scroll=function(el,attributes,duration,method){if(el){YAHOO.util.Scroll.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Scroll,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Scroll.superclass;var proto=Y.Scroll.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Scroll "+id);};proto.doMethod=function(attr,start,end){var val=null;if(attr=='scroll'){val=[this.method(this.currentFrame,start[0],end[0]-start[0],this.totalFrames),this.method(this.currentFrame,start[1],end[1]-start[1],this.totalFrames)];}else{val=superclass.doMethod.call(this,attr,start,end);} variable
[all...]
H A Danimation.js702 var proto = Y.ColorAnim.prototype; variable
704 proto.toString = function() {
710 proto.patterns.color = /color$/i;
711 proto.patterns.rgb = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;
712 proto.patterns.hex = /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;
713 proto.patterns.hex3 = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;
714 proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need rgba for safari
722 proto.parseColor = function(s) {
743 proto.getAttribute = function(attr) {
767 proto
1176 var proto = Y.Motion.prototype; variable
1328 var proto = Y.Scroll.prototype; variable
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/
H A DCOTUtils.java212 String proto = (String) pIt.next();
213 if (proto.equals(COTConstants.SAML2)) {
215 } else if (proto.equals(COTConstants.IDFF)) {
217 } else if (proto.equals(COTConstants.WS_FED)) {
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/
H A DCOTUtils.java212 String proto = (String) pIt.next();
213 if (proto.equals(COTConstants.SAML2)) {
215 } else if (proto.equals(COTConstants.IDFF)) {
217 } else if (proto.equals(COTConstants.WS_FED)) {
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/colorpicker/
H A Dcolorpicker-beta-debug.js247 var proto = YAHOO.widget.ColorPicker.prototype, variable
263 proto.ID = {
466 proto.TXT = {
490 proto.IMAGE = {
501 //proto.EVENT = {
505 //proto.CSS = { };
512 proto.DEFAULT = {
521 proto.OPT = {
555 proto.setValue = function(rgb, silent) {
566 proto
[all...]
H A Dcolorpicker-beta-min.js18 YAHOO.widget.ColorPicker.superclass.constructor.call(this,el,attr);};YAHOO.extend(YAHOO.widget.ColorPicker,YAHOO.util.Element);var proto=YAHOO.widget.ColorPicker.prototype,Slider=YAHOO.widget.Slider,Color=YAHOO.util.Color,Dom=YAHOO.util.Dom,Event=YAHOO.util.Event,lang=YAHOO.lang,sub=lang.substitute;var b="yui-picker";proto.ID={R:b+"-r",R_HEX:b+"-rhex",G:b+"-g",G_HEX:b+"-ghex",B:b+"-b",B_HEX:b+"-bhex",H:b+"-h",S:b+"-s",V:b+"-v",PICKER_BG:b+"-bg",PICKER_THUMB:b+"-thumb",HUE_BG:b+"-hue-bg",HUE_THUMB:b+"-hue-thumb",HEX:b+"-hex",SWATCH:b+"-swatch",WEBSAFE_SWATCH:b+"-websafe-swatch",CONTROLS:b+"-controls",RGB_CONTROLS:b+"-rgb-controls",HSV_CONTROLS:b+"-hsv-controls",HEX_CONTROLS:b+"-hex-controls",HEX_SUMMARY:b+"-hex-summary",CONTROLS_LABEL:b+"-controls-label"};proto.TXT={ILLEGAL_HEX:"Illegal hex value entered",SHOW_CONTROLS:"Show color details",HIDE_CONTROLS:"Hide color details",CURRENT_COLOR:"Currently selected color: {rgb}",CLOSEST_WEBSAFE:"Closest websafe color: {rgb}. Click to select.",R:"R",G:"G",B:"B",H:"H",S:"S",V:"V",HEX:"#",DEG:"\u00B0",PERCENT:"%"};proto.IMAGE={PICKER_THUMB:"../../build/colorpicker/assets/picker_thumb.png",HUE_THUMB:"../../build/colorpicker/assets/hue_thumb.png"};proto.DEFAULT={PICKER_SIZE:180};proto.OPT={HUE:"hue",SATURATION:"saturation",VALUE:"value",RED:"red",GREEN:"green",BLUE:"blue",HSV:"hsv",RGB:"rgb",WEBSAFE:"websafe",HEX:"hex",PICKER_SIZE:"pickersize",SHOW_CONTROLS:"showcontrols",SHOW_RGB_CONTROLS:"showrgbcontrols",SHOW_HSV_CONTROLS:"showhsvcontrols",SHOW_HEX_CONTROLS:"showhexcontrols",SHOW_HEX_SUMMARY:"showhexsummary",SHOW_WEBSAFE:"showwebsafe",CONTAINER:"container",IDS:"ids",ELEMENTS:"elements",TXT:"txt",IMAGES:"images",ANIMATE:"animate"};proto.setValue=function(rgb,silent){silent=(silent)||false;this.set(this.OPT.RGB,rgb,silent);_updateSliders.call(this);};proto.hueSlider=null;proto.pickerSlider=null;var _getH=function(){var size=this.get(this.OPT.PICKER_SIZE),h=(size-this.hueSlider.getValue())/size;h=Math.round(h*360);return(h===360)?0:h;};var _getS=function(){return this.pickerSlider.getXValue()/this.get(this.OPT.PICKER_SIZE);};var _getV=function(){var size=this.get(this.OPT.PICKER_SIZE);return(size-this.pickerSlider.getYValue())/size;};var _updateSwatch=function(){var rgb=this.get(this.OPT.RGB),websafe=this.get(this.OPT.WEBSAFE),el=this.getElement(this.ID.SWATCH),color=rgb.join(","),txt=this.get(this.OPT.TXT);Dom.setStyle(el,"background-color","rgb("+color+")");el.title=lang.substitute(txt.CURRENT_COLOR,{"rgb":"#"+this.get(this.OPT.HEX)});el=this.getElement(this.ID.WEBSAFE_SWATCH);color=websafe.join(",");Dom.setStyle(el,"background-color","rgb("+color+")");el.title=lang.substitute(txt.CLOSEST_WEBSAFE,{"rgb":"#"+Color.rgb2hex(websafe)});};var _getValuesFromSliders=function(){var h=_getH.call(this),s=_getS.call(this),v=_getV.call(this);rgb=Color.hsv2rgb(h,s,v);var websafe=Color.websafe(rgb);var hex=Color.rgb2hex(rgb[0],rgb[1],rgb[2]);this.set(this.OPT.RGB,rgb);};var _updateFormFields=function(){this.getElement(this.ID.H).value=this.get(this.OPT.HUE);this.getElement(this.ID.S).value=this.get(this.OPT.SATURATION);this.getElement(this.ID.V).value=this.get(this.OPT.VALUE);this.getElement(this.ID.R).value=this.get(this.OPT.RED);this.getElement(this.ID.R_HEX).innerHTML=Color.dec2hex(this.get(this.OPT.RED));this.getElement(this.ID.G).value=this.get(this.OPT.GREEN);this.getElement(this.ID.G_HEX).innerHTML=Color.dec2hex(this.get(this.OPT.GREEN));this.getElement(this.ID.B).value=this.get(this.OPT.BLUE);this.getElement(this.ID.B_HEX).innerHTML=Color.dec2hex(this.get(this.OPT.BLUE));this.getElement(this.ID.HEX).value=this.get(this.OPT.HEX);};var _onHueSliderChange=function(newOffset){var h=_getH.call(this);this.set(this.OPT.HUE,h,true);var rgb=Color.hsv2rgb(h,1,1);var styleDef="rgb("+rgb.join(",")+")";Dom.setStyle(this.getElement(this.ID.PICKER_BG),"background-color",styleDef);if(this.hueSlider.valueChangeSource===this.hueSlider.SOURCE_UI_EVENT){_getValuesFromSliders.call(this);} variable
22 default:Event.stopEvent(e);return false;}};proto
[all...]

Completed in 94 milliseconds

123