OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlInputComboboxListOfValuesPeer

Warning:

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.AdfDhtmlInputListOfValuesBasePeer
                                             |
                                             +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputComboboxListOfValuesPeer

public class AdfDhtmlInputComboboxListOfValuesPeer
extends AdfDhtmlInputListOfValuesBasePeer
Peer for the inputComboboxListOfValues component.



Field Summary

private static Object
_CONTAINER_DIALOG_SUBID
private static Object
_DEPRESSED_STYLE_CLASS
private static Object
_DROPDOWN_CONTENT_SUFFIX_ID
private static Object
_DROPDOWN_ICON_ID
private static Object
_LOVINTERNAL_EVENT_QUEUED
private static Object
_MRU_ROW_SEPARATOR
private static Object
_POPUP_SEARCH_SUFFIX_ID
private static Object
_POPUP_SUFFIX_ID
private static Object
_SCREENREADER_DIALOG_SUBID
private static Object
_SHOWN
private static Object
_SUB_ID_MAP
inputComboboxListOfValues 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
AdfDhtmlInputComboboxListOfValuesPeer()
Peer for the inputComboboxListOfValues component.


Method Summary

private Object
_clearDepressed()
When the dropdown popup is hidden, this method is used to clean up the LOV's dropdown icon such that its depressed state is removed.
private static Object
_createPopupSubId(Object clientId)
convenience funtion to return the dropDownContent subid
protected Object
FocusNextElement(Object node)
Sets the focus on the next component element which is a tabstop In screen reader mode the dropdown icon is tab stoppable so call focusNextTabStop twice to set the focus on the next component
private Object
_getDropDownElement(Object component)
Returns the DropDownElement
private Object
_getRowKeyAndRowForEvent(Object domEvent, Object domElement, Object rootDomElement)
Convenience function to get the rowkey of the selected row
protected HTMLElement
GetSubIdDomElement(String subElementIdLocator)
Returns the dom element for a given subElementId for inputComboboxListOfValues.
protected Object
HandleComponentAction(Object componentEvent)
Action Event handler for the click of Search link in the drop down
protected Object
HandleComponentBlur(Object event)
protected Object
HandleComponentClick(Object componentEvent)
Handler for the click event of drop-down icon
protected Object
HandleComponentDialog(Object componentEvent)
handle the dialog events sent by the dialog which wraps the dropdown in screenReader mode.We just queue the returnPopupEvent here.
protected Object
HandleComponentKeyDown(Object componentEvent)
protected Object
HandleComponentKeyUp(Object componentEvent)
protected Object
HandleComponentMouseDown(Object componentEvent)
protected Object
HandleComponentPopupClosed(Object componentEvent)
Handler for the popup closed event, sets the _shown attribute to false on lov component when the dropdown popup is closed
protected Object
HandleComponentPopupOpening(Object componentEvent)
Handler for the popup opening event, modified the hints for the popup as needed
private Object
_handleDropDownTableClick(Object componentEvent)
Handler for the selection of a row inside the drop down.Queue's the returnpopup event upon selection of a row
protected static Object
InitSubclass()
Registers component onclick handler and the action handler for the Search commandlink in drop down content
private Object
_isInDropDownTableClick(Object elem)
private static Object
_returnTableSelection(Object table, Object lov)
sends the return event to the server.
public Object
showDropDown(Object clientId)
Deprecated.
protected Object
VetoShowNoteWindow(Object component)
veto showing note window.


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputListOfValuesBasePeer

autoSubmit, AutoTab, ComponentRemoved, FocusInputElement, getLovDialogTableSubIdDomElements, HandleComponentDblClick, HandleComponentFocus, HandleComponentKeyPress, HandleComponentValueChange, IsKeyEventInInput, IsLovPopupVisible, IsNoteWindowVisible, preventValueChangeEvent, SetDisplayValue, ShowNoteWindow, showToolbarPopup


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlInputBasePeer

GetSubmittedValue, needsFocusTargetStyleClass, NeedsSpuriousDirtyValueTracking, RunValidation, ShouldShowHint, __simulateBlur, UpdateLastValue, VetoBlurValidation


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer

BindToComponent, ComponentChanged, __componentLabelChanged, ComponentSubmittedValueChanged, disableBrowserAutoComplete, Focus, GetComponentLabel, GetComponentSubmittedValue, GetComponentValue, GetContentNode, GetContentNodeId, GetDisplayValue, GetNoteWindowAlignmentHint, GetNoteWindowAlignmentNode, GetValidatorHints, HideNoteWindow, InitDomElement, IsInitialized, __isSpuriousDirtyValue, LazyInitialize, MessageNotify, MessageShow, __resetSpuriousDirtyValue, ShowNoteWindowMouseOver, StashOldValue, Validate, ValidateAndStashNewValue, ValidateIfStashedOldValue, WasSubmitted


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer

ComponentValueChanged, getConvertedObject, getConvertedValue, getFormatHint, 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, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, InitClass, initialize, isActive, isBusy, isInActiveHeirarchy, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, PopupClosed, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, 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


_CONTAINER_DIALOG_SUBID

private static Object _CONTAINER_DIALOG_SUBID

_DEPRESSED_STYLE_CLASS

private static Object _DEPRESSED_STYLE_CLASS

_DROPDOWN_CONTENT_SUFFIX_ID

private static Object _DROPDOWN_CONTENT_SUFFIX_ID

_DROPDOWN_ICON_ID

private static Object _DROPDOWN_ICON_ID

_LOVINTERNAL_EVENT_QUEUED

private static Object _LOVINTERNAL_EVENT_QUEUED

Overrides:
AdfDhtmlInputListOfValuesBasePeer._LOVINTERNAL_EVENT_QUEUED

_MRU_ROW_SEPARATOR

private static Object _MRU_ROW_SEPARATOR

_POPUP_SEARCH_SUFFIX_ID

private static Object _POPUP_SEARCH_SUFFIX_ID

_POPUP_SUFFIX_ID

private static Object _POPUP_SUFFIX_ID

Overrides:
AdfDhtmlInputListOfValuesBasePeer._POPUP_SUFFIX_ID

_SCREENREADER_DIALOG_SUBID

private static Object _SCREENREADER_DIALOG_SUBID

_SHOWN

private static Object _SHOWN

Overrides:
AdfDhtmlInputListOfValuesBasePeer._SHOWN

_SUB_ID_MAP

private static Object _SUB_ID_MAP

inputComboboxListOfValues component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [content --> content] - inputComboboxListOfValues content 2. [dropdownIcon --> lovIconId] - drop icon for dropdown 3. [dropdownPopup --> _afrDropDownPopup] - inputComboboxListOfValues dropdown popup 4. [dropdownTable --> _afrDropDownContent] - inputComboboxListOfValues dropdown table 5. [searchLink --> _afrPopupSearch] - inputComboboxListOfValues search link 6. [search_dialog --> _afrLovDialogId] - inputComboboxListOfValues search dialog 7. [search_dialog_popup --> _afrLovPopupId] - inputComboboxListOfValues search dialog popup 8. [lovDialog_query --> _afrLovInternalQueryId] - inputComboboxListOfValues dialog query 9. [lovDialog_toolbar --> _afrLovToolbar] - inputComboboxListOfValues dialog toolbar 10. [lovDialog_table --> _afrLovInternalTableId] - inputComboboxListOfValues dialog table 11. [label --> label] - inputComboboxListOfValues label 12. [lovDialog_table[rowIndex][columnIndex] --> _afrColChild. A cell has an outputText which has an internal id "_afrColChild" appended with the column index.] 13. [lovDialog_table_cellContainer[rowIndex][columnIndex] --> It provides the container DOM elment of a component in a particular cell. 14. [lovDialog_table_columnHeader_text[columnIndex] --> col. A column component has an internal id "col" appended with the column index.] 15. [lovDialog_table_rowHeader_text[rowIndex] --> It should be used only in the screenReader mode. In the non-screenReader mode there are empty row headers.] {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


AdfDhtmlInputComboboxListOfValuesPeer

public AdfDhtmlInputComboboxListOfValuesPeer()

Peer for the inputComboboxListOfValues component.

Method Detail


_clearDepressed

private Object _clearDepressed()

When the dropdown popup is hidden, this method is used to clean up the LOV's dropdown icon such that its depressed state is removed.

Return:
Object

_createPopupSubId

private static Object _createPopupSubId(Object clientId)

convenience funtion to return the dropDownContent subid

Parameters:
clientId    
Return:
Object

FocusNextElement

protected Object FocusNextElement(Object node)

Sets the focus on the next component element which is a tabstop In screen reader mode the dropdown icon is tab stoppable so call focusNextTabStop twice to set the focus on the next component

Parameters:
node    
Return:
Object
Overrides:
AdfDhtmlInputListOfValuesBasePeer.FocusNextElement(Object)

_getDropDownElement

private Object _getDropDownElement(Object component)

Returns the DropDownElement

Parameters:
component    
Return:
Object

_getRowKeyAndRowForEvent

private Object _getRowKeyAndRowForEvent(Object domEvent,
                                        Object domElement,
                                        Object rootDomElement)

Convenience function to get the rowkey of the selected row

Parameters:
domEvent  -  native event
domElement  -  event source
rootDomElement  -  table dome node
Return:
Object - rowKey of the selected row

GetSubIdDomElement

protected HTMLElement GetSubIdDomElement(String subElementIdLocator)

Returns the dom element for a given subElementId for inputComboboxListOfValues.

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)

HandleComponentAction

protected Object HandleComponentAction(Object componentEvent)

Action Event handler for the click of Search link in the drop down

Parameters:
componentEvent    
Return:
Object

HandleComponentBlur

protected Object HandleComponentBlur(Object event)

Parameters:
event    
Return:
Object
Overrides:
AdfDhtmlInputBasePeer.HandleComponentBlur(Object)

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Handler for the click event of drop-down icon

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.HandleComponentClick(Object)

HandleComponentDialog

protected Object HandleComponentDialog(Object componentEvent)

handle the dialog events sent by the dialog which wraps the dropdown in screenReader mode.We just queue the returnPopupEvent here.

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlInputListOfValuesBasePeer.HandleComponentDialog(Object)

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Parameters:
componentEvent  -  Key Down event Implements keyboard handling for eg:ALT+DOWN key will open the drop down panel
Return:
Object
Overrides:
AdfDhtmlInputListOfValuesBasePeer.HandleComponentKeyDown(Object)

HandleComponentKeyUp

protected Object HandleComponentKeyUp(Object componentEvent)

Parameters:
componentEvent  -  Key Up event Implements keyboard handling for the peer, Enter key should fire validation
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.HandleComponentKeyUp(Object)

HandleComponentMouseDown

protected Object HandleComponentMouseDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentPopupClosed

protected Object HandleComponentPopupClosed(Object componentEvent)

Handler for the popup closed event, sets the _shown attribute to false on lov component when the dropdown popup is closed

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlInputListOfValuesBasePeer.HandleComponentPopupClosed(Object)

HandleComponentPopupOpening

protected Object HandleComponentPopupOpening(Object componentEvent)

Handler for the popup opening event, modified the hints for the popup as needed

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlInputListOfValuesBasePeer.HandleComponentPopupOpening(Object)

_handleDropDownTableClick

private Object _handleDropDownTableClick(Object componentEvent)

Handler for the selection of a row inside the drop down.Queue's the returnpopup event upon selection of a row

Parameters:
componentEvent    
Return:
Object

InitSubclass

protected static Object InitSubclass()

Registers component onclick handler and the action handler for the Search commandlink in drop down content

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

_isInDropDownTableClick

private Object _isInDropDownTableClick(Object elem)

Parameters:
elem    
Return:
Object

_returnTableSelection

private static Object _returnTableSelection(Object table,
                                            Object lov)

sends the return event to the server.

Parameters:
table  -  AdfRichTable
lov  -  the comboLOV component
Return:
Object

showDropDown

public Object showDropDown(Object clientId)

This method has been deprecated. Please use popup.show on the server

Deprecated.
Parameters:
clientId    
Return:
Object

VetoShowNoteWindow

protected Object VetoShowNoteWindow(Object component)

veto showing note window. When the popup is shown don't show the note window

Parameters:
component    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.VetoShowNoteWindow(Object)

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

 

Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.