OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.laf.rich.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.AdfDhtmlSelectManyPeer
                                 |
                                 +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlSelectManyChoicePeer

public class AdfDhtmlSelectManyChoicePeer
extends AdfDhtmlSelectManyPeer
Renders a selectManyChoice for DHTML



Field Summary

private static Object
_DISABLED
private static Object
_DROPDOWN_ID
private static Object
_FETCHING_POPUP_ID
private static Object
_FETCHING_POPUP_PANEL_ID
private static Object
_FETCHING_POPUP_WRAPPER_ID
private static Object
_FETCHING_SPACER_ID
private static Object
_HIGHLIGHTED_STYLE
private static Object
_ITEM_DISABLE_EXPANDO
private static Object
_ITEM_VALUE_EXPANDO
private static Object
_LAZY_ID
private static Object
_LAZY_STATE_CONTENT_LOADED
private static Object
_LAZY_STATE_FETCHING
private static Object
_LAZY_STATE_NO_CONTENT
private static Object
_POPUP_ID
private static Object
_POPUP_PANEL_ID
private static Object
_POPUP_WRAPPER_ID
private static Object
_SELECTED_ID_EXPANDO
private static Object
_SELECTED_STYLE_CLASS
private static Object
_SPACER_ID
private static Object
_TRUE_VALUE_ATTR


Fields inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlSelectManyPeer

HIGHLIGHTED_STYLE, SELECTED_STYLE


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

ComponentLabelChanged


Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer

addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlSelectManyChoicePeer()
Renders a selectManyChoice for DHTML


Method Summary

private Object
_getCurrentItem(Object component, Object domElement)
Return the currently highlighted item, or the first enabled item if nothing is highlighted.
private Object
_getDropDownImgElement(Object component)
protected Object
GetInlineEditor(Event event)
Override to return an inline editor that edits the component's label property
private Object
_getLazyState()
protected Object
GetNoteWindowAlignmentNode(Object component, Object rootNode)
Returns the node for which to align the note help window
private Object
_getPopupHints(Object component, Object focus)
protected Object
GetSelectItemsParentDomElement(Object component)
protected Object
GetSubmittedValue(Object component, Object domElement)
Returns the submittedValue by getting the value of the input dom node.
protected Object
HandleComponentBlur(Object componentEvent)
protected Object
HandleComponentClick(Object componentEvent)
Handle the update button click
protected Object
HandleComponentFocus(Object componentEvent)
protected Object
HandleComponentKeyDown(Object componentEvent)
protected Object
HandleComponentMouseDown(Object componentEvent)
component mouse down event handler.
protected Object
HandleComponentMouseUp(Object componentEvent)
component mouse up event handler.
private Object
_highlightNewItem(Object newItem, Object oldItem)
protected Object
InitDomElement(Object component, Object domElement)
Initialize the associated domElement when the peer is created.
protected static Object
InitSubclass()
public Object
needsFocusTargetStyleClass()
Test if the peer needs the :focus-target stype class injected for click-to-edit.
protected Object
PopupClosed(Object component, Object contentDom, Object popupId)
Call back method called when the popup option list is closed.
protected Object
ReplaceDomElement(HTMLElement newElement, HTMLElement oldElement)
Replaces the a dom element contained in this peer.
protected Object
SetDisplayValue(Object component, Object domElement, Object newValue)
set the display string
private Object
_setLazyState(Object newState)
private Object
_setSpacerWidth(Object component, Object clientId, Object domElement, Object spacerSubId)
private Object
_showFetchingDataPopup(Object component)
Shows fetching data message used during lazy content retrieval.
private Object
_showPopupPanel(Object component)


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

GetCheckboxByEventTarget, GetCheckboxes, GetComponentSelectItems, getConvertedObject, getConvertedValue, GetLabelValue, GetNextItem, GetNullDefault, GetPreviousItem, GetSelectAllCheckbox, GetSubIdDomElement, HandleComponentMouseOver, IsCheckbox, SelectRange, UpdateAll, UpdateSelectedStyle


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

autoSubmit, BindToComponent, ComponentChanged, __componentLabelChanged, ComponentSubmittedValueChanged, disableBrowserAutoComplete, Focus, GetComponentLabel, GetComponentSubmittedValue, GetComponentValue, GetContentNode, GetContentNodeId, GetDisplayValue, GetNoteWindowAlignmentHint, GetValidatorHints, HandleComponentKeyUp, HideNoteWindow, IsInitialized, IsNoteWindowVisible, LazyInitialize, MessageNotify, MessageShow, ShouldShowHint, ShowNoteWindow, ShowNoteWindowMouseOver, StashOldValue, Validate, ValidateAndStashNewValue, ValidateIfStashedOldValue, VetoShowNoteWindow, WasSubmitted


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

ComponentValueChanged, getFormatHint, isEmpty


Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, DispatchComponentEvent, 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, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


Methods inherited from oracle.adf.view.js.laf.rich.AdfUIPeer

ApplyDragSourceState, ClearDragSourceState


Field Detail


_DISABLED

private static Object _DISABLED

_DROPDOWN_ID

private static Object _DROPDOWN_ID

_FETCHING_POPUP_ID

private static Object _FETCHING_POPUP_ID

_FETCHING_POPUP_PANEL_ID

private static Object _FETCHING_POPUP_PANEL_ID

_FETCHING_POPUP_WRAPPER_ID

private static Object _FETCHING_POPUP_WRAPPER_ID

_FETCHING_SPACER_ID

private static Object _FETCHING_SPACER_ID

_HIGHLIGHTED_STYLE

private static Object _HIGHLIGHTED_STYLE

_ITEM_DISABLE_EXPANDO

private static Object _ITEM_DISABLE_EXPANDO

_ITEM_VALUE_EXPANDO

private static Object _ITEM_VALUE_EXPANDO

Overrides:
AdfDhtmlSelectManyPeer._ITEM_VALUE_EXPANDO

_LAZY_ID

private static Object _LAZY_ID

_LAZY_STATE_CONTENT_LOADED

private static Object _LAZY_STATE_CONTENT_LOADED

_LAZY_STATE_FETCHING

private static Object _LAZY_STATE_FETCHING

_LAZY_STATE_NO_CONTENT

private static Object _LAZY_STATE_NO_CONTENT

_POPUP_ID

private static Object _POPUP_ID

_POPUP_PANEL_ID

private static Object _POPUP_PANEL_ID

_POPUP_WRAPPER_ID

private static Object _POPUP_WRAPPER_ID

_SELECTED_ID_EXPANDO

private static Object _SELECTED_ID_EXPANDO

_SELECTED_STYLE_CLASS

private static Object _SELECTED_STYLE_CLASS

_SPACER_ID

private static Object _SPACER_ID

_TRUE_VALUE_ATTR

private static Object _TRUE_VALUE_ATTR

Constructor Detail


AdfDhtmlSelectManyChoicePeer

public AdfDhtmlSelectManyChoicePeer()

Renders a selectManyChoice for DHTML

Method Detail


_getCurrentItem

private Object _getCurrentItem(Object component,
                               Object domElement)

Return the currently highlighted item, or the first enabled item if nothing is highlighted.

Parameters:
component    
domElement    
Return:
Object

_getDropDownImgElement

private Object _getDropDownImgElement(Object component)

Parameters:
component    
Return:
Object - the DOM element of the drop down icon

GetInlineEditor

protected Object GetInlineEditor(Event event)

Override to return an inline editor that edits the component's label property

Parameters:
event  -  DOM Event that triggered the inline edit
Return:
Object
Overrides:
AdfRichUIPeer.getInlineEditor(AdfUIComponent, Object)

_getLazyState

private Object _getLazyState()

Return:
Object

GetNoteWindowAlignmentNode

protected Object GetNoteWindowAlignmentNode(Object component,
                                            Object rootNode)

Returns the node for which to align the note help window

Parameters:
component    
rootNode    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.GetNoteWindowAlignmentNode(Object, Object)

_getPopupHints

private Object _getPopupHints(Object component,
                              Object focus)

Parameters:
component    
focus    
Return:
Object

GetSelectItemsParentDomElement

protected Object GetSelectItemsParentDomElement(Object component)

Parameters:
component    
Return:
Object
Overrides:
AdfDhtmlSelectManyPeer.GetSelectItemsParentDomElement(Object)

GetSubmittedValue

protected Object GetSubmittedValue(Object component,
                                   Object domElement)

Returns the submittedValue by getting the value of the input dom node.

Parameters:
component    
domElement    
Return:
Object
Overrides:
AdfDhtmlEditableValuePeer.GetSubmittedValue(Object, Object)

HandleComponentBlur

protected Object HandleComponentBlur(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Handle the update button click

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

HandleComponentFocus

protected Object HandleComponentFocus(Object componentEvent)

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

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseDown

protected Object HandleComponentMouseDown(Object componentEvent)

component mouse down event handler.

Parameters:
componentEvent  -  the component event invoked by mouse down
Return:
Object

HandleComponentMouseUp

protected Object HandleComponentMouseUp(Object componentEvent)

component mouse up event handler.

Parameters:
componentEvent  -  the component event invoked by mouse down We need to do the focus here because to get it to work in the MouseDown requires canceling the event, and that messes up with how the browser applies the mouseDown styles.
Return:
Object

_highlightNewItem

private Object _highlightNewItem(Object newItem,
                                 Object oldItem)

Parameters:
newItem    
oldItem    
Return:
Object

InitDomElement

protected Object InitDomElement(Object component,
                                Object domElement)

Initialize the associated domElement when the peer is created. Stateless peers are not bound at the time that this method is called.

Parameters:
component    
domElement    
Return:
Object
Overrides:
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

needsFocusTargetStyleClass

public Object needsFocusTargetStyleClass()

Test if the peer needs the :focus-target stype class injected for click-to-edit. Rather then inject this for all UI components, we're only going to inject it for peers that need it due to an IE7/rtl bug when injecting style classes onto dom elements. Default is false (don't inject the style).

Return:
Object
Overrides:
AdfRichUIPeer.needsFocusTargetStyleClass()

PopupClosed

protected Object PopupClosed(Object component,
                             Object contentDom,
                             Object popupId)

Call back method called when the popup option list is closed. This is used to do clean up after close

Parameters:
component    
contentDom    
popupId    
Return:
Object
Overrides:
AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)

ReplaceDomElement

protected Object ReplaceDomElement(HTMLElement newElement,
                                   HTMLElement oldElement)

Replaces the a dom element contained in this peer. The dom element maybe a child (or descendent)

Parameters:
newElement  -  the new dom element
oldElement  -  the old dom element
Return:
Object
Overrides:
AdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)

SetDisplayValue

protected Object SetDisplayValue(Object component,
                                 Object domElement,
                                 Object newValue)

set the display string

Parameters:
component    
domElement    
newValue    
Return:
Object
Overrides:
AdfDhtmlValuePeer.SetDisplayValue(Object, Object, Object)

_setLazyState

private Object _setLazyState(Object newState)

Parameters:
newState    
Return:
Object

_setSpacerWidth

private Object _setSpacerWidth(Object component,
                               Object clientId,
                               Object domElement,
                               Object spacerSubId)

Parameters:
component    
clientId    
domElement    
spacerSubId    
Return:
Object

_showFetchingDataPopup

private Object _showFetchingDataPopup(Object component)

Shows fetching data message used during lazy content retrieval.

Parameters:
component    
Return:
Object

_showPopupPanel

private Object _showPopupPanel(Object component)

Parameters:
component    
Return:
Object

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

 

Generated on 2011.10.24 21:45 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.