OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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

public class AdfDhtmlDialogServicePopupContainerPeer
extends AdfRichUIPeer
Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.



Field Summary

private static Object
_SELECTED_RTN_ID_EXPANDO


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 oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlDialogServicePopupContainerPeer()
Copyright (c) 2008, 2010, Oracle and/or its affiliates.


Method Summary

public Array
getAllIds()
Returns an array of ids that uniquely identify all the rich dialogs currently managed by the {@link AdfDhtmlRichDialogService}.
private void
_getAllIds(Object state)
A visitor callback used by the {@link AdfDhtmlDialogServicePopupContainerPeer#getAllIds} function.
public Object
getState(String rtnId)
Returns the state object for a given dialog id.
private void
_getState(Object state)
A visitor callback used by the {@link AdfDhtmlDialogServicePopupContainerPeer#getState} function.
public Object
getStateLast()
Returns the last open dialog service state object.
private void
_getStateLast(Object state)
A visitor callback used by the {@link AdfDhtmlDialogServicePopupContainerPeer#getLastState} function.
protected HTMLElement
GetSubIdDomElement(String subElementIdLocator)
Returns the dom element for a given subElementId for document.
protected void
HandleComponentPopupClosed(AdfPopupClosedEvent componentEvent)
Listens for a {@link AdfPopupClosedEvent} to bubble up.
protected static Object
InitSubclass()
Peer's class constructor that registers for component event AdfPopupClosedEvent.POPUP_CLOSED_EVENT_TYPE.
protected void
ReplaceDomElement(HTMLElement newElement, HTMLElement oldElement)
Replaces the a dom element contained in this peer.


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, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, domReplaceNotify, DomReplaceNotify, focus, 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, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, InitDomElement, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, 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.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


_SELECTED_RTN_ID_EXPANDO

private static Object _SELECTED_RTN_ID_EXPANDO

Constructor Detail


AdfDhtmlDialogServicePopupContainerPeer

public AdfDhtmlDialogServicePopupContainerPeer()

Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.

Method Detail


getAllIds

public Array getAllIds()

Returns an array of ids that uniquely identify all the rich dialogs currently managed by the AdfDhtmlRichDialogService.

Return:
Array - String array of ids assigned to open rich dialogs
See also:
AdfDhtmlRichDialogService.launchWindow(String, String, Object, String)
AdfDhtmlRichDialogService.launchInline(String)

_getAllIds

private void _getAllIds(Object state)

A visitor callback used by the getAllIds() function.

Parameters:
state  -  about open dialogs managed by the AdfDhtmlRichDialogService.
Return:
void - null
See also:
getAllIds()

getState

public Object getState(String rtnId)

Returns the state object for a given dialog id. This is used by the extended rich selenium automation framework.

Parameters:
rtnId  -  unique id that identifies the state of rich dialog
Return:
Object - state about open dialogs managed by the AdfDhtmlRichDialogService.
See also:
AdfDhtmlRichDialogService.launchWindow(String, String, Object, String)
AdfDhtmlRichDialogService.launchInline(String)

_getState

private void _getState(Object state)

A visitor callback used by the getState(String) function.

Parameters:
state  -  about open dialogs managed by the AdfDhtmlRichDialogService.
Return:
void - null
See also:
getState(String)

getStateLast

public Object getStateLast()

Returns the last open dialog service state object. This is used by the extended rich selenium automation framework.

Return:
Object - state about open dialogs managed by the AdfDhtmlRichDialogService.
See also:
AdfDhtmlRichDialogService.launchWindow(String, String, Object, String)
AdfDhtmlRichDialogService.launchInline(String)

_getStateLast

private void _getStateLast(Object state)

A visitor callback used by the "AdfDhtmlDialogServicePopupContainerPeer#getLastState" function.

Parameters:
state  -  about open dialogs managed by the AdfDhtmlRichDialogService.
Return:
void - null
See also:
getStateLast()

GetSubIdDomElement

protected HTMLElement GetSubIdDomElement(String subElementIdLocator)

Returns the dom element for a given subElementId for document.

Parameters:
subElementIdLocator  -  the id of the child dom element or component
Return:
HTMLElement - the DOM within the component related to scopedId
Overrides:
AdfRichUIPeer.getSubIdDomElement(Object, Object)

HandleComponentPopupClosed

protected void HandleComponentPopupClosed(AdfPopupClosedEvent componentEvent)

Listens for a AdfPopupClosedEvent to bubble up. Cancels the client event and removes the popup from the client dom and then queues a AdfDialogServicePopupContainerRemoveEvent to remove from the server-side component tree.

Parameters:
componentEvent  -  popup closed event
Return:
void - null

InitSubclass

protected static Object InitSubclass()

Peer's class constructor that registers for component event AdfPopupClosedEvent.POPUP_CLOSED_EVENT_TYPE.

Return:
Object

ReplaceDomElement

protected void ReplaceDomElement(HTMLElement newElement,
                                 HTMLElement oldElement)

Replaces the a dom element contained in this peer. Special handling of partial response when not all children are rendered. These children are moved from the newElement and appened as childrent to the oldElement.

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

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

 

Generated on 2012.08.25 02:16 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.