OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.util
Class AdfSubIdUtils

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adfinternal.view.js.util.AdfSubIdUtils

public class AdfSubIdUtils
extends Object



Field Summary


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfSubIdUtils()


Method Summary

public static Object
getChildElementByAttributeValue(Object domElement, Object attrName, Object attrValue, Object tagName)
Returns a dom element which is of type specified by tagName and has an attribute whose value is equal to attrValue.
public static Object
getChildElementByValueMap(Object domElement, Object keyValueArray, Object tagName)
Returns a dom element which is of type specified by tagName and has an attribute whose key-value is provided by valueMap.
public static Object
getChildElementsByAttributeValue(Object domElement, Object attrName, Object attrValue, Object tagName)
Returns the set of dom elements which are of the type specified by tagName and have an attribute whose value is equal to attrValue.
public static HTMLElement
getSubIdDomElementByMappedSubId(String subElementId)
Returns the dom element for a given subElementId.
public static HTMLElement
getSubIdElementById(AdfUIComponent component, String subElementId, Object isNC)
Returns the dom element for a given sub Element Id.


Field Detail


Constructor Detail


AdfSubIdUtils

public AdfSubIdUtils()

Method Detail


getChildElementByAttributeValue

public static Object getChildElementByAttributeValue(Object domElement,
                                                     Object attrName,
                                                     Object attrValue,
                                                     Object tagName)

Returns a dom element which is of type specified by tagName and has an attribute whose value is equal to attrValue. If it doesn't not get any element with that attriburte it retruns null.

Parameters:
domElement  -  the dom element which contains child element to locate
attrName  -  the name of the attribute on the element
attrValue  -  the value of the attribute on the element
tagName  -  name of the tag, if undefined then tagName=
Return:
Object

getChildElementByValueMap

public static Object getChildElementByValueMap(Object domElement,
                                               Object keyValueArray,
                                               Object tagName)

Returns a dom element which is of type specified by tagName and has an attribute whose key-value is provided by valueMap. If it doesn't not get any element with that attriburte it retruns null.

Parameters:
domElement  -  the dom element which contains child element to locate
keyValueArray  -  key-value array for the attribute
tagName  -  name of the tag, if undefined then tagName=
Return:
Object

getChildElementsByAttributeValue

public static Object getChildElementsByAttributeValue(Object domElement,
                                                      Object attrName,
                                                      Object attrValue,
                                                      Object tagName)

Returns the set of dom elements which are of the type specified by tagName and have an attribute whose value is equal to attrValue. If it doesn't find any element with that attriburte it returns null.

Parameters:
domElement  -  the dom element which contains child elements to locate
attrName  -  the name of the attribute on the element
attrValue  -  the value of the attribute on the element
tagName  -  name of the tag, if undefined then tagName=
Return:
Object

getSubIdDomElementByMappedSubId

public static HTMLElement getSubIdDomElementByMappedSubId(String subElementId)

Returns the dom element for a given subElementId.

Parameters:
subElementId  -  the id of the child dom element or component
Return:
HTMLElement - the DOM within the component related to scopedId

getSubIdElementById

public static HTMLElement getSubIdElementById(AdfUIComponent component,
                                              String subElementId,
                                              Object isNC)

Returns the dom element for a given sub Element Id.

Parameters:
component  -  the adf component
subElementId  -  the id of the child dom element or component
isNC    
Return:
HTMLElement - the DOM within the component related to subElementId

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.