# 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 AdfDhtmlGoMenuItemPeer

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

    public class AdfDhtmlGoMenuItemPeer
    extends Object

Returns the dom element for a given subElementId for goMenuItem.

## Field Summary

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

## Constructor Summary
`public` | `AdfDhtmlGoMenuItemPeer()` Returns the dom element for a given subElementId for goMenuItem.

## Method Summary
`protected Object` | `GetBestMatchSubId(Object childElement)` Returns the best match subId for the given domElement.
`protected HTMLElement` | `GetSubIdDomElement(String subElementId)` Returns the dom element for a given subElementId for goMenuItem.

## Field Detail

## Constructor Detail

### AdfDhtmlGoMenuItemPeer

`public AdfDhtmlGoMenuItemPeer()`
  Returns the dom element for a given subElementId for goMenuItem.

## Method Detail

### GetBestMatchSubId

`protected Object GetBestMatchSubId(Object childElement)`
  Returns the best match subId for the given domElement. Default implementation looks at _SUB_ID_MAP defined by each component to determine this. This can be overridden by components to return programmatically determined subIds. WARNING - You must make sure to bind the component to the peer before calling this function.
  Parameters:

    `childElement` |  |

  Return:
    `Object`
  See also:
    `AdfRichUIPeer.GetSubIdDomElement(Object)`

### GetSubIdDomElement

`protected HTMLElement GetSubIdDomElement(String subElementId)`
  Returns the dom element for a given subElementId for goMenuItem.
  Parameters:

    `subElementId` | - | the subId of the DOM element to locate

  Return:
    `HTMLElement` - the corresponding dom element

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.