OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

Warning:

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

public class AdfDhtmlCommandToolbarButtonPeer
extends Object
commandToolbarButton 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 AdfDhtmlCommandToolbarButtonPeer.GetSubIdDomElement().



Field Summary

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


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlCommandToolbarButtonPeer()
commandToolbarButton 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

commandToolbarButton 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 AdfDhtmlCommandToolbarButtonPeer.GetSubIdDomElement().

Constructor Detail


AdfDhtmlCommandToolbarButtonPeer

public AdfDhtmlCommandToolbarButtonPeer()

commandToolbarButton 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 AdfDhtmlCommandToolbarButtonPeer.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.