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.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.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
_HIGHLIGHTED_STYLE
private static Object
_ITEM_DISABLE_EXPANDO
private static Object
_ITEM_VALUE_EXPANDO
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_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

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
protected Object
GetNoteWindowAlignmentNode(Object component, Object rootNode)
Returns the node for which to align the note help window
protected Object
GetSelectItemsParentDomElement(Object component)
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 static Object
InitSubclass()
protected Object
PopupClosed(Object component, Object contentDom, Object popupId)
Call back method called when the popup option list is closed.
protected Object
SetDisplayValue(Object component, Object domElement, Object newValue)
set the display string
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, GetSubmittedValue, 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, InitDomElement, 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, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, 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, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, 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, initiateDrag, isVisible, needsResizeNotify


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


_DISABLED

private static Object _DISABLED

_DROPDOWN_ID

private static Object _DROPDOWN_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

_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)

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)

GetSelectItemsParentDomElement

protected Object GetSelectItemsParentDomElement(Object component)

Parameters:
component    
Return:
Object
Overrides:
AdfDhtmlSelectManyPeer.GetSelectItemsParentDomElement(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

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

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)

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)

_showPopupPanel

private Object _showPopupPanel(Object component)

Parameters:
component    
Return:
Object

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

 

Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.