|
Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
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 |
Method Summary |
|
---|---|
public static Object |
|
public static Object |
|
public static HTMLElement |
|
public static HTMLElement |
|
public static HTMLElement[] |
|
public static HTMLElement |
|
public static HTMLElement |
|
public static HTMLElement |
|
Field Detail |
---|
Constructor Detail |
---|
public AdfSubIdUtils()
Method Detail |
---|
public static Object getBestMatchSubId(Object domElement,
Object peer,
Object subIdMap)
- if domElement is the root DOM for the component, then a null value is returned
- if domElement is a descendant of the root DOM for the component, then the DOM element among
the list of supported subIds for the component, that is the best match is determined and
this best match subId is returned.
- if the domElement has no parent component then a null value is returned
WARNING - You must make sure to bind the component to the peer before calling this function.
domElement | ||
peer | ||
subIdMap |
Object
AdfRichUIPeer.GetSubIdDomElement(Object)
public static Object getBestMatchSubIdDelegateSuper(Object domElement,
Object peer,
Object subIdMap,
Object theClass)
domElement | ||
peer | ||
subIdMap | ||
theClass |
Object
AdfRichUIPeer.GetSubIdDomElement(Object)
public static HTMLElement getChildElementByAttributeValue(Object domElement,
Object attrName,
Object attrValue,
Object tagName)
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= |
HTMLElement
- The element with matching attribute value, or null if none existpublic static HTMLElement getChildElementByValueMap(Object domElement,
Object keyValueArray,
Object tagName)
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= |
HTMLElement
- The element with matching attribute value, or null if none existpublic static HTMLElement[] getChildElementsByAttributeValue(Object domElement,
Object attrName,
Object attrValue,
Object tagName)
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= |
HTMLElement[]
- Elements with matching attribute value, or null if none existpublic static HTMLElement getSubIdDomElementByMappedSubId(String subElementId,
Object subIdMap,
AdfUIComponent component)
subElementId | - | the id of the child dom element or component |
subIdMap | - | the map of sub IDs for the component's peer |
component | - | the component whose subElement you wish to access |
HTMLElement
- the DOM within the component related to scopedIdpublic static HTMLElement getSubIdDomElementDelegateSuper(String subElementId,
Object subIdMap,
AdfRichUIPeer component,
Object peer,
Object theClass)
subElementId | - | the id of the child dom element or component |
subIdMap | - | the map of sub IDs for the component's peer |
component | - | Peer |
peer | ||
theClass |
HTMLElement
- the DOM within the component related to subIdpublic static HTMLElement getSubIdElementById(AdfUIComponent component,
String subElementId,
Object isNC)
component | - | the adf component |
subElementId | - | the id of the child dom element or component |
isNC |
HTMLElement
- the DOM within the component related to subElementId
|
Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |