OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.internalWindow.subids
Class AdfDhtmlDialogPeer

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.subids.AdfDhtmlDialogPeer

public class AdfDhtmlDialogPeer
extends Object
Returns the dom element for a given subElementId for dialog.



Field Summary

private static Object
_BUTTON_ID_MAP
Map of button ids, which are used differently for new vs.


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlDialogPeer()
Returns the dom element for a given subElementId for dialog.


Method Summary

protected Object
GetBestMatchSubId(Object domElement)
Returns the best match subId for the given domElement.
protected HTMLElement
GetSubIdDomElement(String subElementId)
Returns the dom element for a given subElementId for dialog.
private HTMLElement
_returnButtonElement(String buttonId)
Convenience method to handle both new af:buttons and old af:commandButtons.


Field Detail


_BUTTON_ID_MAP

private static Object _BUTTON_ID_MAP

Map of button ids, which are used differently for new vs. old button impl.

Constructor Detail


AdfDhtmlDialogPeer

public AdfDhtmlDialogPeer()

Returns the dom element for a given subElementId for dialog.

Method Detail


GetBestMatchSubId

protected Object GetBestMatchSubId(Object domElement)

Returns the best match subId for the given domElement. This can be enhanced further to return programmatically determined subIds. WARNING - You must make sure to bind the component to the peer before calling this function.

Parameters:
domElement    
Return:
Object
See also:
AdfRichUIPeer.GetSubIdDomElement(Object)

GetSubIdDomElement

protected HTMLElement GetSubIdDomElement(String subElementId)

Returns the dom element for a given subElementId for dialog.

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

_returnButtonElement

private HTMLElement _returnButtonElement(String buttonId)

Convenience method to handle both new af:buttons and old af:commandButtons.

Parameters:
buttonId  -  the partial id used for the child button
Return:
HTMLElement - the DOM within the component related to scopedId

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

 

Generated on 2017.04.19 06:37 UTC
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.