OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlSelectManyListboxPeer
Direct Known Subclasses:
AdfDhtmlSelectManyChoicePeer

public class AdfDhtmlSelectManyListboxPeer
extends AdfDhtmlSelectManyPeer
Renders a selectManyListbox for DHTML



Field Summary

private static Object
_ALL_ID
private static Object
_DISABLED
private static Object
_TABINDEX


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, FOCUS_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
AdfDhtmlSelectManyListboxPeer()
Renders a selectManyListbox for DHTML


Method Summary

protected Object
GetInlineEditor(Event event)
Override to return an inline editor that edits the component's label property
protected Object
HandleComponentBlur(Object componentEvent)
On blur, we need to remove the hilighted style from the tabStop element.
protected Object
HandleComponentClick(Object componentEvent)
Handle the update button click
protected Object
HandleComponentFocus(Object componentEvent)
On focus, we need to add the hilighted style to the element that is the parent of the label and checkbox to match the B+ spec.
protected Object
HandleComponentKeyDown(Object componentEvent)
protected Object
HandleComponentMouseDown(Object componentEvent)
Handle mouse down event.
protected static Object
InitSubclass()
private Object
_setCurrentTabStop(Object rootElement, Object newTabStop, Object select)
change the active tab stop and transfer the focus style if needed.
protected Object
SetDisplayValue(Object component, Object domElement, Object newValue)
set the display string


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

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


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

autoSubmit, BindToComponent, ComponentChanged, __componentLabelChanged, ComponentSubmittedValueChanged, disableBrowserAutoComplete, Focus, GetComponentSubmittedValue, GetComponentValue, GetContentNode, GetContentNodeId, GetDisplayValue, GetNoteWindowAlignmentHint, GetNoteWindowAlignmentNode, 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, descendantMessageChanged, DescendantMessageChanged, 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, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, 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, 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


_ALL_ID

private static Object _ALL_ID

_DISABLED

private static Object _DISABLED

_TABINDEX

private static Object _TABINDEX

Constructor Detail


AdfDhtmlSelectManyListboxPeer

public AdfDhtmlSelectManyListboxPeer()

Renders a selectManyListbox for DHTML

Method Detail


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)

HandleComponentBlur

protected Object HandleComponentBlur(Object componentEvent)

On blur, we need to remove the hilighted style from the tabStop element.

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)

On focus, we need to add the hilighted style to the element that is the parent of the label and checkbox to match the B+ spec. This hilighted style makes it much easier to see which checkbox has the focus, which is unable to be accomplished with just :focus on the checkbox component. but only if it doesn't already have the hilighted style.

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

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Parameters:
componentEvent  -  Key Down event - Implement keyboard support for selectManyListbox
Return:
Object

HandleComponentMouseDown

protected Object HandleComponentMouseDown(Object componentEvent)

Handle mouse down event. We want to set the tab stop of the component to the last one clicked on.

Parameters:
componentEvent    
Return:
Object

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

_setCurrentTabStop

private Object _setCurrentTabStop(Object rootElement,
                                  Object newTabStop,
                                  Object select)

change the active tab stop and transfer the focus style if needed.

Parameters:
rootElement    
newTabStop    
select    
Return:
Object

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)

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

 

Generated on 2011.04.27 02:28 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.