# 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
Class AdfDhtmlInputListOfValuesPeer

## 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.adf.view.js.base.AdfObject
             |
             +--oracle.adf.view.js.base.AdfUIPeer
                   |
                   +--oracle.adf.view.js.laf.rich.AdfRichUIPeer
                         |
                         +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer
                               |
                               +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer
                                     |
                                     +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputBasePeer
                                           |
                                           +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputListOfValuesSuperBasePeer
                                                 |
                                                 +--oracle.adfinternal.view.js.laf.dhtml.rich.touch.AdfDhtmlInputListOfValuesBasePeer
                                                       |
                                                       +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputListOfValuesPeer

    public class AdfDhtmlInputListOfValuesPeer
    extends AdfDhtmlInputListOfValuesBasePeer

Peer for the inputListOfValues component.

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

### Fields inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer
`ComponentLabelChanged, ComponentShowRequiredChanged`

### Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, CreateSubId, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS, SELECTED_STYLECLASS`

### Fields inherited from oracle.adf.view.js.base.AdfObject
`constructor, superclass`

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

## Constructor Summary
`public` | `AdfDhtmlInputListOfValuesPeer()` Peer for the inputListOfValues component.

## Method Summary
`protected Object` | `AnnounceAutoComplete()` Announce to assistive technologies that the lov field is autocompleted.
`protected Object` | `FocusNextElement(Object node)` Sets the focus on the next component element which is a tabstop
`protected Object` | `GetBestMatchSubId(Object domElement)` Returns the best match subId for the given domElement.
`private Object` | `_getSearchIconElement(Object component)`
`protected HTMLElement` | `GetSubIdDomElement(String subElementIdLocator)` Returns the dom element for a given subElementId for inputListOfValues.
`protected Object` | `HandleComponentClick(Object componentEvent)` this is the handler for clicking the lovIcon.
`protected Object` | `HandleComponentClickOrTouch(Object componentEvent)` Invoked from desktop.AdfDhtmlInputListOfValuesBasePeer.HandleComponentClick or touch.AdfDhtmlInputListOfValuesBasePeer.HandleComponentTouchEnd
`protected Object` | `HandleComponentKeyUp(Object componentEvent)`
`protected Object` | `HandleComponentMouseDown(Object componentEvent)`
`protected static Object` | `InitSubclass()` Registers component onclick event handler
`protected Object` | `IsCancelBackSpaceKeyEvent(Object component, Object componentEvent)` Returns true if the key is pressed inside the input field
`private Object` | `_isEventTargetSearchIcon(Object component, Object componentEvent)` Determine if the event target is search icon element
`private static Object` | `_openSearchDialog(Object component, Object componentEvent)` Opens the search dialog

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.touch.AdfDhtmlInputListOfValuesBasePeer
`GetBestMatchSubIdImpl, getLovDialogTableSubIdDomElements, HandleComponentTouchEnd`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputListOfValuesSuperBasePeer
`AutoTab, ComponentRemoved, FocusInputElement, getConvertedObject, GetLabelText, HandleComponentDblClick, HandleComponentDialog, HandleComponentKeyDown, HandleComponentKeyPress, HandleComponentPopupClosed, HandleComponentPopupOpening, InitDomElement, IsKeyEventInInput, IsLovPopupVisible, IsNoteWindowVisible, setAriaExpanded, SetDisplayValue, ShowNoteWindow, showToolbarPopup`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputBasePeer
`CheckLength, getLastValue, GetSubmittedValue, HandleComponentBlur, HandleComponentFocus, initialize, needsFocusTargetStyleClass, NeedsSpuriousDirtyValueTracking, preventNextValueSubmission, RunValidation, setLastValue, ShouldShowHint, __simulateBlur, UpdateLastValue, VetoBlurValidation, WasSubmitted`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer
`autoSubmit, BindToComponent, ComponentChanged, __componentLabelChanged, ComponentSubmittedValueChanged, disableBrowserAutoComplete, Focus, GetComponentLabel, GetComponentSubmittedValue, GetComponentValue, getContentNode, GetContentNode, GetContentNodeId, getContentNodeText, GetDisplayValue, GetLabelElement, getLastSubmittedValue, getMarkDirtyFlag, GetNoteWindowAlignmentHint, GetNoteWindowAlignmentNode, GetValidatorHints, HideNoteWindow, IsInitialized, __isSpuriousDirtyValue, LazyInitialize, MessageNotify, MessageShow, __resetSpuriousDirtyValue, __restoreDirtyDisplayValue, setLastSubmittedValue, setMarkDirtyFlag, ShowNoteWindowMouseOver, StashOldValue, StopArrowKeyBubbling, Validate, ValidateAndStashNewValue, ValidateIfStashedOldValue, VetoShowNoteWindow`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer
`ComponentValueChanged, getConvertedValue, getFormatHint, GetFormattedDisplayValue, GetNullDefault, isEmpty, setDisplayValue`

### Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, ClearDragSourceState, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, domReplaceNotify, DomReplaceNotify, focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDomRootNodes, GetDomRootNodes, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, GetElementToReplaceWithSVG, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, InitClass, isAbsoluteLocatorCacheable, isActive, isBusy, isComponentContainedByElement, isInActiveHeirarchy, isInlineSVGIcon, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, PopupClosed, processPushData, ProcessPushData, registerADSAccessibility, RegisterADSAccessibility, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, UpdateMessageType, visitChildren`

### Methods inherited from oracle.adf.view.js.base.AdfUIPeer
`getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible, needsResizeNotify`

### Methods inherited from oracle.adf.view.js.base.AdfObject
`adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString`

## Field Detail

### _AUTOCOMPLETE_ANNOUNCE_MSG

`private static Object _AUTOCOMPLETE_ANNOUNCE_MSG`

### _EDIT_MODE_SELECT

`private static Object _EDIT_MODE_SELECT`
  Overrides:
    `AdfDhtmlInputListOfValuesSuperBasePeer._EDIT_MODE_SELECT`

### _ICON_ID

`private static Object _ICON_ID`

### _SUB_ID_MAP

`private static Object _SUB_ID_MAP`
  inputListOfValues component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [content --> content] - inputListOfValues content 2. [search_icon --> lovIconId] - inputListOfValues search icon 3. [search_dialog --> _afrLovDialogId] - inputListOfValues search dialog 4. [search_dialog_popup --> _afrLovPopupId] - inputListOfValues search dialog popup 5. [lovDialog_query --> _afrLovInternalQueryId] - inputListOfValues dialog query 6. [lovDialog_toolbar --> _afrLovToolbar] - inputListOfValues dialog toolbar 7. [lovDialog_table --> _afrLovInternalTableId] - inputListOfValues dialog table 8. [label --> label] - inputListOfValues label 9. [lovDialog_table[rowIndex][columnIndex]] --> _afrColChild. A cell has an outputText which has an internal id "_afrColChild" appended with the column index.] 10. [lovDialog_table_cellContainer[rowIndex][columnIndex]] --> It provides the container DOM elment of a component in a particular cell. 11. [lovDialog_table_columnHeader_text[columnIndex]] -->It provides the dom element which has column header text.] {External indexing example --> Internal indexing example} 1) getElementText("rich=testTemplate:lovComponent#lovDialog_table[2][3]");\n\n2) getElementText("rich=testTemplate:lovComponent#lovDialog_table_columnHeader_text[2]");\n\n3) getElementText("rich=testTemplate:lovComponent#lovDialog_table_rowHeader_text[4]"); -->

## Constructor Detail

### AdfDhtmlInputListOfValuesPeer

`public AdfDhtmlInputListOfValuesPeer()`
  Peer for the inputListOfValues component.

## Method Detail

### AnnounceAutoComplete

`protected Object AnnounceAutoComplete()`
  Announce to assistive technologies that the lov field is autocompleted. Invoked from server - SimpleInputListOfValuesRendererBase.decodeInternal
  Return:
    `Object`
  Overrides:
    `AdfDhtmlInputListOfValuesSuperBasePeer.AnnounceAutoComplete()`

### FocusNextElement

`protected Object FocusNextElement(Object node)`
  Sets the focus on the next component element which is a tabstop
  Parameters:

    `node` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlInputListOfValuesSuperBasePeer.FocusNextElement(Object)`

### 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`
  Overrides:
    `AdfRichUIPeer.GetBestMatchSubId(Object)`

### _getSearchIconElement

`private Object _getSearchIconElement(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### GetSubIdDomElement

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

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

  Return:
    `HTMLElement` - the DOM within the component related to scopedId
  Overrides:
    `AdfRichUIPeer.getSubIdDomElement(Object, Object)`

### HandleComponentClick

`protected Object HandleComponentClick(Object componentEvent)`
  this is the handler for clicking the lovIcon.
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlEditableValuePeer.HandleComponentClick(Object)`

### HandleComponentClickOrTouch

`protected Object HandleComponentClickOrTouch(Object componentEvent)`
  Invoked from desktop.AdfDhtmlInputListOfValuesBasePeer.HandleComponentClick or touch.AdfDhtmlInputListOfValuesBasePeer.HandleComponentTouchEnd
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlInputListOfValuesSuperBasePeer.HandleComponentClickOrTouch(Object)`

### HandleComponentKeyUp

`protected Object HandleComponentKeyUp(Object componentEvent)`
  Parameters:

    `componentEvent` | - | Key Up event Implements keyboard handling for the peer, e.g. spacebar opens up the dialog Enter key on input field fires validation and on icon opens up the dialog

  Return:
    `Object`
  Overrides:
    `AdfDhtmlEditableValuePeer.HandleComponentKeyUp(Object)`

### HandleComponentMouseDown

`protected Object HandleComponentMouseDown(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### InitSubclass

`protected static Object InitSubclass()`
  Registers component onclick event handler
  Return:
    `Object`
  Overrides:
    `AdfDhtmlValuePeer.InitSubclass()`

### IsCancelBackSpaceKeyEvent

`protected Object IsCancelBackSpaceKeyEvent(Object component,
Object componentEvent)`
  Returns true if the key is pressed inside the input field
  Parameters:

    `component` |  |
    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlInputListOfValuesSuperBasePeer.IsCancelBackSpaceKeyEvent(Object, Object)`

### _isEventTargetSearchIcon

`private Object _isEventTargetSearchIcon(Object component,
Object componentEvent)`
  Determine if the event target is search icon element
  Parameters:

    `component` |  |
    `componentEvent` |  |

  Return:
    `Object`

### _openSearchDialog

`private static Object _openSearchDialog(Object component,
Object componentEvent)`
  Opens the search dialog
  Parameters:

    `component` |  |
    `componentEvent` |  |

  Return:
    `Object`

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.