OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlSelectOnePeer
                                       |
                                       +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlSelectOneListbasePeer
Direct Known Subclasses:
AdfDhtmlSelectOneChoicePeer, AdfDhtmlSelectOneListboxPeer

public class AdfDhtmlSelectOneListbasePeer
extends AdfDhtmlSelectOnePeer



Field Summary

private static Object
_DISABLED_STYLE_CLASS
private static Object
_ITEM_VALUE_EXPANDO
private static Object
_SELECTED_STYLE_CLASS


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
AdfDhtmlSelectOneListbasePeer()


Method Summary

protected Object
FindItemElementWithValue(Object component, Object itemValue)
protected Object
GetComponentSelectItems(Object component, Object domElement)
protected Object
GetFirstEnabledItem(Object component)
Find the first element that is enabled
protected Object
GetItemElements(Object component)
protected Object
GetItemElementsParent(Object component)
Returns the parent of the item elements so that the item elements can be traversed
protected Object
GetNextEnabledItem(Object item)
Get the next available enabled item
protected Object
GetPreviousEnabledItem(Object item)
Get the previous available enabled item
protected Object
GetSubmittedValue(Object component, Object domElement)
Returns the submittedValue by getting the value of the input dom node.
protected static Object
InitSubclass()
protected Object
IsItemEnabled(Object element)
Check to see if an element is enabled
protected Object
SelectItemElement(Object component, Object newSelectElement, Object oldSelectElement)


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

GetSubIdDomElement, HandleComponentMouseOver


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

autoSubmit, BindToComponent, __componentLabelChanged, ComponentSubmittedValueChanged, ComponentTextChanged, Focus, GetComponentLabel, GetComponentSubmittedValue, GetComponentValue, GetContentNode, GetContentNodeId, GetDisplayValue, GetNoteWindowAlignmentHint, GetNoteWindowAlignmentNode, GetValidatorHints, HandleComponentClick, HandleComponentFocus, 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, getConvertedObject, getConvertedValue, getFormatHint, GetNullDefault, isEmpty, SetDisplayValue


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, 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, GetRichResourceURL, 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


_DISABLED_STYLE_CLASS

private static Object _DISABLED_STYLE_CLASS

_ITEM_VALUE_EXPANDO

private static Object _ITEM_VALUE_EXPANDO

_SELECTED_STYLE_CLASS

private static Object _SELECTED_STYLE_CLASS

Constructor Detail


AdfDhtmlSelectOneListbasePeer

public AdfDhtmlSelectOneListbasePeer()

Method Detail


FindItemElementWithValue

protected Object FindItemElementWithValue(Object component,
                                          Object itemValue)

Parameters:
component    
itemValue    
Return:
Object

GetComponentSelectItems

protected Object GetComponentSelectItems(Object component,
                                         Object domElement)

Parameters:
component    
domElement    
Return:
Object

GetFirstEnabledItem

protected Object GetFirstEnabledItem(Object component)

Find the first element that is enabled

Parameters:
component    
Return:
Object - the enabled item element

GetItemElements

protected Object GetItemElements(Object component)

Parameters:
component    
Return:
Object - the Array of DOM elements that presents items.

GetItemElementsParent

protected Object GetItemElementsParent(Object component)

Returns the parent of the item elements so that the item elements can be traversed

Parameters:
component    
Return:
Object

GetNextEnabledItem

protected Object GetNextEnabledItem(Object item)

Get the next available enabled item

Parameters:
item  -  the current selected item
Return:
Object - the prev enabled item, or the current if there are no more prev enabled items

GetPreviousEnabledItem

protected Object GetPreviousEnabledItem(Object item)

Get the previous available enabled item

Parameters:
item  -  the current selected item
Return:
Object - the next enabled item, or the current if there are no more next enabled items

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)

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlValuePeer.InitSubclass()

IsItemEnabled

protected Object IsItemEnabled(Object element)

Check to see if an element is enabled

Parameters:
element  -  element to check
Return:
Object

SelectItemElement

protected Object SelectItemElement(Object component,
                                   Object newSelectElement,
                                   Object oldSelectElement)

Parameters:
component    
newSelectElement    
oldSelectElement    
Return:
Object

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

 

Generated on 2009.04.27 01:06 UTC
Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.