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

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

    public class AdfDhtmlTrainPeer
    extends Object

Train peer handles the stop subids only in case of implicit nodeStamp facet. Get the DOM element of a train stop for the given sub-id

## Field Summary
`private static Object` | `_NODE_STAMP_ID`

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

## Constructor Summary
`public` | `AdfDhtmlTrainPeer()` Train peer handles the stop subids only in case of implicit nodeStamp facet.

## Method Summary
`protected Object` | `GetBestMatchSubId(Object domElement)` Returns the best match subId for the given domElement.
`protected HTMLElement` | `GetSubIdDomElement(Object locator)` Train peer handles the stop subids only in case of implicit nodeStamp facet.

## Field Detail

### _NODE_STAMP_ID

`private static Object _NODE_STAMP_ID`

## Constructor Detail

### AdfDhtmlTrainPeer

`public AdfDhtmlTrainPeer()`
  Train peer handles the stop subids only in case of implicit nodeStamp facet. Get the DOM element of a train stop for the given sub-id

## Method Detail

### GetBestMatchSubId

`protected Object GetBestMatchSubId(Object domElement)`
  Returns the best match subId for the given domElement. This impl of GetBestMatchSubId gets called only in case of implicit nodeStamp facet. 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(Object locator)`
  Train peer handles the stop subids only in case of implicit nodeStamp facet. Get the DOM element of a train stop for the given sub-id
  Parameters:

    `locator` |  |

  Return:
    `HTMLElement` - the element or null if not found

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.