Searched defs:element (Results 1 - 25 of 145) sorted by relevance

123456

/glassfish-3.1.2/admingui/war/src/main/webapp/resources/yui/
H A Dresize-min.js7 (function(){var E=YAHOO.util.Dom,A=YAHOO.util.Event,C=YAHOO.lang;var B=function(F,D){var G={element:F,attributes:D||{}};B.superclass.constructor.call(this,G.element,G.attributes);};B._instances={};B.getResizeById=function(D){if(B._instances[D]){return B._instances[D];}return false;};YAHOO.extend(B,YAHOO.util.Element,{CSS_RESIZE:"yui-resize",CSS_DRAG:"yui-draggable",CSS_HOVER:"yui-resize-hover",CSS_PROXY:"yui-resize-proxy",CSS_WRAP:"yui-resize-wrap",CSS_KNOB:"yui-resize-knob",CSS_HIDDEN:"yui-resize-hidden",CSS_HANDLE:"yui-resize-handle",CSS_STATUS:"yui-resize-status",CSS_GHOST:"yui-resize-ghost",CSS_RESIZING:"yui-resize-resizing",_resizeEvent:null,dd:null,browser:YAHOO.env.ua,_locked:null,_positioned:null,_dds:null,_wrap:null,_proxy:null,_handles:null,_currentHandle:null,_currentDD:null,_cache:null,_active:null,_createProxy:function(){if(this.get("proxy")){this._proxy=document.createElement("div");this._proxy.className=this.CSS_PROXY;this._proxy.style.height=this.get("element").clientHeight+"px";this._proxy.style.width=this.get("element").clientWidth+"px";this._wrap.parentNode.appendChild(this._proxy);}else{this.set("animate",false);}},_createWrap:function(){this._positioned=false;if(this.get("wrap")===false){switch(this.get("element").tagName.toLowerCase()){case"img":case"textarea":case"input":case"iframe":case"select":this.set("wrap",true);break;}}if(this.get("wrap")===true){this._wrap=document.createElement("div");this._wrap.id=this.get("element").id+"_wrap";this._wrap.className=this.CSS_WRAP;if(this.get("element").tagName.toLowerCase()=="textarea"){E.addClass(this._wrap,"yui-resize-textarea");}E.setStyle(this._wrap,"width",this.get("width")+"px");E.setStyle(this._wrap,"height",this.get("height")+"px");E.setStyle(this._wrap,"z-index",this.getStyle("z-index"));this.setStyle("z-index",0);var F=E.getStyle(this.get("element"),"position");E.setStyle(this._wrap,"position",((F=="static")?"relative":F));E.setStyle(this._wrap,"top",E.getStyle(this.get("element"),"top"));E.setStyle(this._wrap,"left",E.getStyle(this.get("element"),"lef
[all...]
H A Dlayout-min.js7 (function(){var C=YAHOO.util.Dom,A=YAHOO.util.Event,D=YAHOO.lang;var B=function(F,E){if(D.isObject(F)&&!F.tagName){E=F;F=null;}if(D.isString(F)){if(C.get(F)){F=C.get(F);}}if(!F){F=document.body;}var G={element:F,attributes:E||{}};B.superclass.constructor.call(this,G.element,G.attributes);};B._instances={};B.getLayoutById=function(E){if(B._instances[E]){return B._instances[E];}return false;};YAHOO.extend(B,YAHOO.util.Element,{browser:function(){var E=YAHOO.env.ua;E.standardsMode=false;E.secure=false;return E;}(),_units:null,_rendered:null,_zIndex:null,_sizes:null,_setBodySize:function(G){var F=0,E=0;G=((G===false)?false:true);if(this._isBody){F=C.getClientHeight();E=C.getClientWidth();}else{F=parseInt(this.getStyle("height"),10);E=parseInt(this.getStyle("width"),10);if(isNaN(E)){E=this.get("element").clientWidth;}if(isNaN(F)){F=this.get("element").clientHeight;}}if(this.get("minWidth")){if(E<this.get("minWidth")){E=this.get("minWidth");}}if(this.get("minHeight")){if(F<this.get("minHeight")){F=this.get("minHeight");}}if(G){C.setStyle(this._doc,"height",F+"px");C.setStyle(this._doc,"width",E+"px");}this._sizes.doc={h:F,w:E};this._setSides(G);},_setSides:function(J){var H=((this._units.top)?this._units.top.get("height"):0),G=((this._units.bottom)?this._units.bottom.get("height"):0),I=this._sizes.doc.h,E=this._sizes.doc.w;J=((J===false)?false:true);this._sizes.top={h:H,w:((this._units.top)?E:0),t:0};this._sizes.bottom={h:G,w:((this._units.bottom)?E:0)};var F=(I-(H+G));this._sizes.left={h:F,w:((this._units.left)?this._units.left.get("width"):0)};this._sizes.right={h:F,w:((this._units.right)?this._units.right.get("width"):0),l:((this._units.right)?(E-this._units.right.get("width")):0),t:((this._units.top)?this._sizes.top.h:0)};if(this._units.right&&J){this._units.right.set("top",this._sizes.right.t);if(!this._units.right._collapsing){this._units.right.set("left",this._sizes.right.l);}this._units.right.set("height",this._sizes.right.h,true);}if(this._units.left){this._sizes.left.l=0;if(this._units.top){this._sizes.left.t=this._sizes.top.h;}else{this._sizes.left.t=0;}if(J){this._units.left.set("top",this._sizes.left.t);this._units.left.set("height",this._sizes.left.h,true);this._units.left.set("left",0);}}if(this._units.bottom){this._sizes.bottom.t=this._sizes.top.h+this._sizes.left.h;if(J){this._units.bottom.set("top",this._sizes.bottom.t);this._units.bottom.set("width",this._sizes.bottom.w,true);}}if(this._units.top){if(J){this._units.top.set("width",this._sizes.top.w,true);}}this._setCenter(J);},_setCenter:function(G){G=((G===false)?false:true);var F=this._sizes.left.h;var E=(this._sizes.doc.w-(this._sizes.left.w+this._sizes.right.w));if(G){this._units.center.set("height",F,true);this._units.center.set("width",E,true);this._units.center.set("top",this._sizes.top.h);this._units.center.set("left",this._sizes.left.w);}this._sizes.center={h:F,w:E,t:this._sizes.top.h,l:this._sizes.left.w};},getSizes:function(){return this._sizes;},getUnitById:function(E){return YAHOO.widget.LayoutUnit.getLayoutUnitById(E);},getUnitByPosition:function(E){if(E){E=E.toLowerCase();if(this._units[E]){return this._units[E];}return false;}return false;},removeUnit:function(E){delete this._units[E.get("position")];this.resize();},addUnit:function(G){if(!G.position){return false;}if(this._units[G.position]){return false;}var H=null,J=null;if(G.id){if(C.get(G.id)){H=C.get(G.id);delete G.id;}}if(G.element){H=G.element;}if(!J){J=document.createElement("div");var L=C.generateId();J.id=L;}if(!H){H=document.createElement("div");}C.addClass(H,"yui-layout-wrap");if(this.browser.ie&&!this.browser.standardsMode){J.style.zoom=1;H.style.zoom=1;}if(J.firstChild){J.insertBefore(H,J.firstChild);}else{J.appendChild(H);}this._doc.appendChild(J);var I=false,F=false;if(G.height){I=parseInt(G.height,10);}if(G.width){F=parseInt(G.width,10);}var E={};YAHOO.lang.augmentObject(E,G);E.parent=this;E.wrap=H;E.height=I;E.width=F;var K=new YAHOO.widget.LayoutUnit(J,E);K.on("heightChange",this.resize,this,true);K.on("widthChange",this.resize,this,true);K.on("gutterChange",this.resize,this,true);this._units[G.position]=K;if(this._rendered){this.resize();}return K;},_createUnits:function(){var E=this.get("units");for(var F in E){if(D.hasOwnProperty(E,F)){this.addUnit(E[F]);}}},resize:function(F){F=((F===false)?false:true);if(F){var E=this.fireEvent("beforeResize");if(E===false){F=false;}if(this.browser.ie){if(this._isBody){C.removeClass(document.documentElement,"yui-layout");C.addClass(document.documentElement,"yui-layout");}else{this.removeClass("yui-layout");this.addClass("yui-layout");}}}this._setBodySize(F);if(F){this.fireEvent("resize",{target:this,sizes:this._sizes});}return this;},_setupBodyElements:function(){this._doc=C.get("layout-doc");if(!this._doc){this._doc=document.createElement("div");this._doc.id="layout-doc";if(document.body.firstChild){document.body.insertBefore(this._doc,document.body.firstChild);}else{document.body.appendChild(this._doc);}}this._createUnits();this._setBodySize();A.on(window,"resize",this.resize,this,true);C.addClass(this._doc,"yui-layout-doc");},_setupElements:function(){this._doc=this.getElementsByClassName("yui-layout-doc")[0];if(!this._doc){this._doc=document.createElement("div");this.get("element").appendChild(this._doc);}this._createUnits();this._setBodySize();C.addClass(this._doc,"yui-layout-doc");},_isBody:null,_doc:null,init:function(F,E){this._zIndex=0;B.superclass.init.call(this,F,E);if(this.get("parent")){this._zIndex=this.get("parent")._zIndex+10;}this._sizes={};this._units={};var G=F;if(!D.isString(G)){G=C.generateId(G);}B._instances[G]=this;},render:function(){this._stamp();var E=this.get("element");if(E&&E.tagName&&(E.tagName.toLowerCase()=="body")){this._isBody=true;C.addClass(document.body,"yui-layout");if(C.hasClass(document.body,"yui-skin-sam")){C.addClass(document.documentElement,"yui-skin-sam");C.removeClass(document.body,"yui-skin-sam");}this._setupBodyElements();}else{this._isBody=false;this.addClass("yui-layout");
8 this._setupElements();}this.resize();this._rendered=true;this.fireEvent("render");return this;},_stamp:function(){if(document.compatMode=="CSS1Compat"){this.browser.standardsMode=true;}if(window.location.href.toLowerCase().indexOf("https")===0){C.addClass(document.documentElement,"secure");this.browser.secure=true;}},initAttributes:function(E){B.superclass.initAttributes.call(this,E);this.setAttributeConfig("units",{writeOnce:true,validator:YAHOO.lang.isArray,value:E.units||[]});this.setAttributeConfig("minHeight",{value:E.minHeight||false,validator:YAHOO.lang.isNumber});this.setAttributeConfig("minWidth",{value:E.minWidth||false,validator:YAHOO.lang.isNumber});this.setAttributeConfig("height",{value:E.height||false,validator:YAHOO.lang.isNumber,method:function(F){this.setStyle("height",F+"px");}});this.setAttributeConfig("width",{value:E.width||false,validator:YAHOO.lang.isNumber,method:function(F){this.setStyle("width",F+"px");}});this.setAttributeConfig("parent",{writeOnce:true,value:E.parent||false,method:function(F){if(F){F.on("resize",this.resize,this,true);}}});},destroy:function(){var G=this.get("parent");if(G){G.removeListener("resize",this.resize,this,true);}A.removeListener(window,"resize",this.resize,this,true);this.unsubscribeAll();for(var E in this._units){if(D.hasOwnProperty(this._units,E)){if(this._units[E]){this._units[E].destroy(true);}}}A.purgeElement(this.get("element"));this.get("parentNode").removeChild(this.get("element"));delet
[all...]
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/
H A DAnnotatedElementHandler.java56 * Before annotations for an annotated element are processed, the
57 * startElement is called with the annotated element value and its type
59 * @param type the annotated element type (class, field, method...)
60 * @param element the annotated element we are starting to visit.
64 public void startElement(ElementType type, AnnotatedElement element) argument
68 * After annotations for an annotated element are processed, the
69 * endElement is called with the annotated element value and its type
71 * @param type the annotated element type (class, field, method...)
72 * @param element th
76 endElement(ElementType type, AnnotatedElement element) argument
[all...]
H A DAnnotationHandler.java79 * @param element the annotation information
81 public HandlerProcessingResult processAnnotation(AnnotationInfo element) argument
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/
H A DStackElement.java47 * This class represent a stack element as the AnnotationContext
55 private final AnnotatedElement element; field in class:StackElement
58 public StackElement(ElementType type, AnnotatedElement element) { argument
60 this.element = element;
68 return element;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/context/
H A DEjbInterceptorContext.java66 public void endElement(ElementType type, AnnotatedElement element) { argument
H A DEjbsContext.java85 public void endElement(ElementType type, AnnotatedElement element) { argument
H A DRarBundleContext.java70 public void startElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException { argument
74 public void endElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException { argument
H A DWebComponentContext.java76 public void endElement(ElementType type, AnnotatedElement element) { argument
H A DWebComponentsContext.java87 public void endElement(ElementType type, AnnotatedElement element) { argument
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DAddressingNode.java81 * all sub-implementation of this class can use a dispatch table to map xml element to
82 * method name on the descriptor class for setting the element value.
84 * @return the map with the element name as a key, the setter method as a value
98 * @param element the xml element
101 public void setElementValue(XMLElement element, String value) { argument
102 String qname = element.getQName();
110 } else super.setElementValue(element, value);
118 * @param node name for the root element of this xml fragment
H A DConfigurableNode.java52 * ConfigurableNode able to treat dispatch element values to descriptors based
69 public ConfigurableNode(Object descriptor, Map dispatchTable, XMLElement element) { argument
73 super.setXMLRootTag(element);
84 * all sub-implementation of this class can use a dispatch table to map xml element to
85 * method name on the descriptor class for setting the element value.
87 * @return the map with the element name as a key, the setter method as a value
H A DEnvEntryNode.java68 * all sub-implementation of this class can use a dispatch table to map xml element to
69 * method name on the descriptor class for setting the element value.
71 * @return the map with the element name as a key, the setter method as a value
83 public boolean endElement(XMLElement element) { argument
85 if (TagNames.ENVIRONMENT_PROPERTY_NAME.equals(element.getQName())) {
86 // name element is always right before value, so initialize
90 (element.getQName()) ) {
94 return super.endElement(element);
110 * @param node name for the root element of this xml fragment
H A DModuleNode.java61 * all sub-implementation of this class can use a dispatch table to map xml element to
62 * method name on the descriptor class for setting the element value.
64 * @return the map with the element name as a key, the setter method as a value
76 * @param element the xml element
79 public void setElementValue(XMLElement element, String value) { argument
81 if (element.getQName().equals(ApplicationTagNames.WEB_URI)) {
84 } else if (element.getQName().equals(ApplicationTagNames.EJB)) {
87 } else if (element.getQName().equals(ApplicationTagNames.CONNECTOR)) {
90 } else if (element
[all...]
H A DPersistenceUnitNode.java57 * map of element names to method names in {@link PersistenceUnitDescriptor}
78 XMLElement element, Attributes attributes) {
79 if (PersistenceTagNames.PROPERTY.equals(element.getQName())) {
93 super.startElement(element, attributes);
101 * @return map of element names to method names in PersistenceUnitDescriptor
77 startElement( XMLElement element, Attributes attributes) argument
H A DPropertiesNode.java77 * @param element the xml element
80 public void setElementValue(XMLElement element, String value) { argument
81 if (TagNames.NAME_VALUE_PAIR_NAME.equals(element.getQName())) {
83 } else if (TagNames.NAME_VALUE_PAIR_VALUE.equals(element.getQName())) {
93 * @param node name for the root element of this xml fragment
H A DRespectBindingNode.java74 * all sub-implementation of this class can use a dispatch table to map xml element to
75 * method name on the descriptor class for setting the element value.
77 * @return the map with the element name as a key, the setter method as a value
89 * @param element the xml element
92 public void setElementValue(XMLElement element, String value) { argument
93 String qname = element.getQName();
97 } else super.setElementValue(element, value);
105 * @param node name for the root element of this xml fragment
H A DWebServiceEndpointNode.java93 * all sub-implementation of this class can use a dispatch table to map xml element to
94 * method name on the descriptor class for setting the element value.
96 * @return the map with the element name as a key, the setter method as a value
112 * @param element the xml element
115 public void setElementValue(XMLElement element, String value) { argument
116 String elementName = element.getQName();
125 String namespaceUri = resolvePrefix(element, prefix);
136 String namespaceUri = resolvePrefix(element, prefix);
144 } else super.setElementValue(element, valu
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/connector/
H A DRANode.java76 public RANode(XMLElement element) { argument
77 this.setXMLRootTag(element);
107 * all sub-implementation of this class can use a dispatch table to map xml element to
108 * method name on the descriptor class for setting the element value.
110 * @return the map with the element name as a key, the setter method as a value
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/ejb/
H A DActivationConfigNode.java86 * @param element the xml element
89 public void setElementValue(XMLElement element, String value) { argument
91 (element.getQName())) {
94 (element.getQName())) {
106 * @param node name for the root element of this xml fragment
H A DQueryNode.java56 * This class is responsible for hanlding the query element
84 * all sub-implementation of this class can use a dispatch table to map xml element to
85 * method name on the descriptor class for setting the element value.
87 * @return the map with the element name as a key, the setter method as a value
100 * @param element the xml element
103 public void setElementValue(XMLElement element, String value) { argument
104 if (EjbTagNames.QUERY_RESULT_TYPE_MAPPING.equals(element.getQName())) {
114 super.setElementValue(element, value);
122 * @param node name for the root element o
[all...]
H A DRelationshipsNode.java61 * This class is responsible for handling the ejb-relationships xml element
83 * receives notification of the end of an XML element by the Parser
85 * @param element the xml tag identification
88 public boolean endElement(XMLElement element) { argument
89 return element.equals(getXMLRootTag());
93 * all sub-implementation of this class can use a dispatch table to map xml element to
94 * method name on the descriptor class for setting the element value.
96 * @return the map with the element name as a key, the setter method as a value
109 * @param node name for the root element of this xml fragment
H A DScheduledTimerNode.java86 * all sub-implementation of this class can use a dispatch table to map xml element to
87 * method name on the descriptor class for setting the element value.
89 * @return the map with the element name as a key, the setter method as a value
114 * @param element the xml element
117 public void setElementValue(XMLElement element, String value) { argument
119 if (EjbTagNames.TIMER_START.equals(element.getQName())) {
130 } else if(EjbTagNames.TIMER_END.equals(element.getQName())) {
142 super.setElementValue(element, value);
151 * @param node name for the root element o
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/
H A DBeanCacheNode.java74 * @param element the xml element
77 public void setElementValue(XMLElement element, String value) { argument
78 if (RuntimeTagNames.IS_CACHE_OVERFLOW_ALLOWED.equals(element.getQName())) {
81 super.setElementValue(element, value);
85 * all sub-implementation of this class can use a dispatch table to map xml element to
86 * method name on the descriptor class for setting the element value.
88 * @return the map with the element name as a key, the setter method as a value
H A DEntrepriseBeansRuntimeNode.java104 * @param element the xml element
107 public void setElementValue(XMLElement element, String value) { argument
109 if (RuntimeTagNames.NAME.equals(element.getQName())) {
114 if (RuntimeTagNames.UNIQUE_ID.equals(element.getQName())) {
118 super.setElementValue(element, value);

Completed in 263 milliseconds

123456