OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.rich.subids
Class AdfDhtmlButtonPeer

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adfinternal.view.js.laf.dhtml.rich.subids.AdfDhtmlButtonPeer

public class AdfDhtmlButtonPeer
extends Object
button component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [dropdown --> popEl] - the dropdown indicator, present on a button with a popup facet 2. [icon --> icon] - the button icon, if present 3. [text --> the text value (mapped programmatically)] Note that "text" does not have a corresponding ID to map to. Instead it is determined programmatically in AdfDhtmlButtonPeer.GetSubIdDomElement().



Field Summary

private static Object
_SUB_ID_MAP
button component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlButtonPeer()
button component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.


Method Summary

protected Object
GetBestMatchSubId(Object domElement)
Returns the best match subId for the given domElement.
protected Object
GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.


Field Detail


_SUB_ID_MAP

private static Object _SUB_ID_MAP

button component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [dropdown --> popEl] - the dropdown indicator, present on a button with a popup facet 2. [icon --> icon] - the button icon, if present 3. [text --> the text value (mapped programmatically)] Note that "text" does not have a corresponding ID to map to. Instead it is determined programmatically in AdfDhtmlButtonPeer.GetSubIdDomElement().

Constructor Detail


AdfDhtmlButtonPeer

public AdfDhtmlButtonPeer()

button component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [dropdown --> popEl] - the dropdown indicator, present on a button with a popup facet 2. [icon --> icon] - the button icon, if present 3. [text --> the text value (mapped programmatically)] Note that "text" does not have a corresponding ID to map to. Instead it is determined programmatically in AdfDhtmlButtonPeer.GetSubIdDomElement().

Method Detail


GetBestMatchSubId

protected Object GetBestMatchSubId(Object domElement)

Returns the best match subId for the given domElement. If available in the subid map returns the match directly and handles programmatic cases. 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 Object GetSubIdDomElement(Object subElementId)

Returns the DOM element identified by the passed in subId.

Parameters:
subElementId    
Return:
Object - the DOM element

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

 

Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.