OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlDeckPeer

public class AdfDhtmlDeckPeer
extends AdfRichUIPeer



Field Summary


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


Method Summary

protected Object
ComponentRemoved(AdfUIComponent component)
Hook called when peers are disassociated from their components.
private Object
_deleteElement(Object elementToDelete, Object deleteDom, Object deleteObjects)
protected HTMLElement
DomReplaceNotify(HTMLElement domNode)
Overidden to track replacement of DOM children such as with optimized rendering.
private ?string
_getAttribute(AdfAgent agent, HTMLElement element, string name, ?string defaultValue)
Gets the specified attribute from the given element
private Object
_getBackNavigate(Object component, Object domElement)
Getter for "backNavigate."
protected Object
GetComponentDisplayedChild(Object component, Object domElement)
Optimized getter for "displayedChild."
private Object
_getForwardNavigate(Object component, Object domElement)
Getter for "forwardNavigate."
private Object
_getOptimizedDomAttribute(Object attributeName, Object component, Object domElement)
private Object
_getReplaceNavigate(Object component, Object domElement)
Getter for "replace" Navigate.
protected static Object
InitSubclass()
Hook to identify which attributes have optimized getters.
public Object
needsResizeNotify(AdfUIComponent component)
Indicates whether this peer has interest in resize notifications.
private static Object
_removeIds(Object element)
removes IDs from an element and its subtree.
protected Object
ReplaceDomElement(HTMLElement newElement, HTMLElement oldElement)
Overridden to perform an optimized replacement of the DOM.
private Object
_statefulOptimizeReplaceFinished(Object oldChild)
private static Object
_statelessOptimizeReplaceFinished(Object callbackParams)


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, BindToComponent, 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, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, GetBestMatchSubId, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, InitDomElement, initialize, isActive, isBusy, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


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

getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible


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


Constructor Detail


AdfDhtmlDeckPeer

public AdfDhtmlDeckPeer()

Method Detail


ComponentRemoved

protected Object ComponentRemoved(AdfUIComponent component)

Hook called when peers are disassociated from their components. When this function is called, the peer is unbound and must call bind on itself if it needs to access its peer state.

Parameters:
component  -  Component being disassociated from the peer
Return:
Object
See also:
AdfRichUIPeer.bind(AdfUIComponent)
AdfRichUIPeer.componentRemoved(AdfUIComponent)
Overrides:
AdfUIPeer.componentRemoved(AdfUIComponent)

_deleteElement

private Object _deleteElement(Object elementToDelete,
                              Object deleteDom,
                              Object deleteObjects)

Parameters:
elementToDelete    
deleteDom    
deleteObjects    
Return:
Object

DomReplaceNotify

protected HTMLElement DomReplaceNotify(HTMLElement domNode)

Overidden to track replacement of DOM children such as with optimized rendering.

Parameters:
domNode  -  the DOM element involved in the replacement
Return:
HTMLElement - the DOM node which should be the target of a subsequent resize traversal
Overrides:
AdfRichUIPeer.domReplaceNotify(AdfUIComponent, Object)

_getAttribute

private ?string _getAttribute(AdfAgent agent,
                              HTMLElement element,
                              string name,
                              ?string defaultValue)

Gets the specified attribute from the given element

Parameters:
agent  -  the agent
element  -  the element whose attribute is requested
name  -  the name of the attribute
defaultValue  -  the default value to return if the requested attribute value was null
Return:
?string - the requested attribute value

_getBackNavigate

private Object _getBackNavigate(Object component,
                                Object domElement)

Getter for "backNavigate."

Parameters:
component    
domElement    
Return:
Object

GetComponentDisplayedChild

protected Object GetComponentDisplayedChild(Object component,
                                            Object domElement)

Optimized getter for "displayedChild."

Parameters:
component    
domElement    
Return:
Object

_getForwardNavigate

private Object _getForwardNavigate(Object component,
                                   Object domElement)

Getter for "forwardNavigate."

Parameters:
component    
domElement    
Return:
Object

_getOptimizedDomAttribute

private Object _getOptimizedDomAttribute(Object attributeName,
                                         Object component,
                                         Object domElement)

Parameters:
attributeName    
component    
domElement    
Return:
Object

_getReplaceNavigate

private Object _getReplaceNavigate(Object component,
                                   Object domElement)

Getter for "replace" Navigate.

Parameters:
component    
domElement    
Return:
Object

InitSubclass

protected static Object InitSubclass()

Hook to identify which attributes have optimized getters.

Return:
Object

needsResizeNotify

public Object needsResizeNotify(AdfUIComponent component)

Indicates whether this peer has interest in resize notifications.

Parameters:
component  -  the component bound to this peer
Return:
Object
Overrides:
AdfUIPeer.needsResizeNotify(Object)

_removeIds

private static Object _removeIds(Object element)

removes IDs from an element and its subtree.

Parameters:
element    
Return:
Object

ReplaceDomElement

protected Object ReplaceDomElement(HTMLElement newElement,
                                   HTMLElement oldElement)

Overridden to perform an optimized replacement of the DOM. The dom element may be a child (or descendent).

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

_statefulOptimizeReplaceFinished

private Object _statefulOptimizeReplaceFinished(Object oldChild)

Parameters:
oldChild    
Return:
Object

_statelessOptimizeReplaceFinished

private static Object _statelessOptimizeReplaceFinished(Object callbackParams)

Parameters:
callbackParams    
Return:
Object

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

 

Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.