JavaScript API Reference for Oracle ADF Faces
oracle.adfinternal.view.js.laf.dhtml.rich.subids
Class AdfDhtmlCommandToolbarButtonPeer
Warning:
- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.
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.
|
Constructor Summary
|
public |
AdfDhtmlCommandToolbarButtonPeer()
-
commandToolbarButton component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.
|
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().
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().
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:
-
- Return:
Object
- See also:
AdfRichUIPeer.GetSubIdDomElement(Object)
protected Object GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.
- Parameters:
-
- Return:
Object
- the DOM element
Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.