# JavaScript API Reference for Oracle ADF Faces

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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 |

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

# oracle.adfinternal.view.js.laf.dhtml.rich.subids
Class AdfDhtmlCommandNavigationItemPeer

## 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.AdfDhtmlCommandNavigationItemPeer

Direct Known Subclasses:
  AdfDhtmlCommandTrainStopPeer, AdfDhtmlCommandTrainV2StopPeer

    public class AdfDhtmlCommandNavigationItemPeer
    extends Object

commandNavigationItem component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [remove_icon --> rmAbv] - the remove button that may be displayed on a commandNavigationItem in a navigationPane hint=tabs 2. [tab_text --> disAcr] - the clickable text displayed on a commandNavigationItem in a navigationPane hint=tabs

## Field Summary
`private static Object` | `_SUB_ID_MAP` commandNavigationItem component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.

### Fields inherited from org.ecmascript.object.Object
`constructor, prototype`

## Constructor Summary
`public` | `AdfDhtmlCommandNavigationItemPeer()` commandNavigationItem 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 HTMLElement` | `GetSubIdDomElement(String subElementId)` Returns the dom element for a given subElementId for commandNavigationItem.

## Field Detail

### _SUB_ID_MAP

`private static Object _SUB_ID_MAP`
  commandNavigationItem component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [remove_icon --> rmAbv] - the remove button that may be displayed on a commandNavigationItem in a navigationPane hint=tabs 2. [tab_text --> disAcr] - the clickable text displayed on a commandNavigationItem in a navigationPane hint=tabs

## Constructor Detail

### AdfDhtmlCommandNavigationItemPeer

`public AdfDhtmlCommandNavigationItemPeer()`
  commandNavigationItem component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [remove_icon --> rmAbv] - the remove button that may be displayed on a commandNavigationItem in a navigationPane hint=tabs 2. [tab_text --> disAcr] - the clickable text displayed on a commandNavigationItem in a navigationPane hint=tabs

## 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 commandNavigationItem.
  Parameters:

    `subElementId` | - | the id of the child dom element or component

  Return:
    `HTMLElement` - the DOM within the component related to scopedId

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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 |

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.