Method Summary
 | 
public Object | 
addOpenedHandler(function handler, object params) 
 
 | 
protected Object | 
AnimateOpening(Object animationDuration, Object hints) 
- 
Animates the opening of the popup. 
 
 
 | 
protected Object | 
AnimateUsingWrapper(Number animationDuration, Object isAchorRight, Object isAchorBottom, Object hints) 
- 
Removes the managed dom element replacing with a hidden div. 
 
 
 | 
protected static Object | 
AnimationComplete(Object context) 
- 
Callback invoked after open animation has completed. 
 
 
 | 
private Object | 
_announce(String messageKey) 
- 
Announces a popup status change to assistive technologies. 
 
 
 | 
public Object | 
autoSize() 
- 
Updates the size of the popup to match its content and resizes the shadow decorator. 
 
 
 | 
public Object | 
cancel(boolean replaceDom) 
- 
Dismisses the floating element indicating an awkward state or unexpected state. 
 
 
 | 
protected HTMLElement | 
CreateDomElement() 
- 
Create and initialize the html. 
 
 
 | 
private static String | 
_createFocusPagePropertyKey(String clientId) 
- 
Generates a key based on the popup's client id by replacing all ":" char's with "$" and then adding a sufix of "$restoreFocus". 
 
 
 | 
protected Object | 
CreateShadow(Boolean afterAnimation) 
- 
Creates the shadow for this popup window. 
 
 
 | 
private Object | 
_delayedCheckedFocus(Object params) 
- 
Callback for setting focus with a check to see if the element is focusable and the focus element is outside of the popup element, and there is not currently a focusasble element in focus. 
 
 
 | 
public Object | 
destroy() 
- 
Unregister event handlers, remove the shadow decorator, unregister with the position manager before calling on super. 
 
 
 | 
protected Object | 
DoResizeNotifyDom(Object content) 
- 
Perform a resize notification traversal when showing popup contents so that geometry managing components are given the opportunity to lay themselves out. 
 
 
 | 
protected Object | 
DoShow(Object hints) 
- 
Do the work to actually display of the popup window. 
 
 
 | 
protected Object | 
FocusOnFirstElement() 
- 
Sets focus to the first content element in the window. 
 
 
 | 
protected Number | 
GetAnimationDuration() 
 
 | 
protected String | 
GetAnimationDurationSkinProperty(Object hints) 
 
 | 
public HTMLElement | 
getContent() 
 
 | 
protected HTMLElement | 
GetContentParent() 
- 
Gets the dom element that is the parent of the popup's content. 
 
 
 | 
protected HTMLElement | 
GetFocusContent() 
- 
Returns the content dom node for the popup. 
 
 
 | 
protected Boolean | 
GetFocusOnOpen() 
 
 | 
private static String | 
_getFormElementId(HtmlElement node) 
- 
Returns the form element id for a given dom node. 
 
 
 | 
protected Object | 
GetLaunchSourceElement() 
- 
Get the launch source element (if available). 
 
 
 | 
public String | 
getLaunchSourceId() 
- 
Returns the clientId of the launching source if provided using the AdfRichPopup.HINT_LAUNCH_ID popup hint. 
 
 
 | 
protected int | 
GetMaxWidth() 
 
 | 
public String | 
getPopupClientId() 
- 
This getter exposes a popup hint that captures the popups's clientId. 
 
 
 | 
protected Number | 
GetPositionManagerIndex() 
 
 | 
public int | 
getZorderScope() 
- 
Returns the scope that the popup was created. 
 
 
 | 
protected Object | 
HandleEscapeKey(Object event) 
- 
Overridable function to handle escape key. 
 
 
 | 
private Object | 
_handleKeyDown(Event event) 
- 
Handles the keydown event from the document. 
 
 
 | 
protected Object | 
HandleKeyNavigation(Object event) 
- 
Overridable function to handle ctr+alt+w window navigation. 
 
 
 | 
private Object | 
_handleKeyUp(Object event) 
- 
Handles the keyup event from the document. 
 
 
 | 
private Object | 
_handleResize() 
- 
Callback invoked every time the size of the floating element changes. 
 
 
 | 
protected Object | 
HasShadow() 
 
 | 
public Object | 
hide() 
- 
Hides this popup window. 
 
 
 | 
protected boolean | 
ImmediateZorderRegistration() 
- 
Determines if the target element should be registered immediately with the zorder manager upon its mutator getting called. 
 
 
 | 
protected Object | 
Init() 
- 
Initializes the instance. 
 
 
 | 
protected static Object | 
InitClass() 
 
 | 
public Object | 
isAnimating() 
- 
Returns if the popup window is currently animating during the opening of the window. 
 
 
 | 
private boolean | 
_isRestoring(AdfRichPopup component) 
- 
Used to determine if the popup should restore focus when closed. 
 
 
 | 
public Boolean | 
isVisible() 
 
 | 
protected Object | 
OpenedPopup() 
 
 | 
protected Object | 
Position(String hintAlign) 
- 
Registers this floating element with the position manager based on the alignment hint. 
 
 
 | 
private Object | 
_positionAtMousePointer(Object pos) 
- 
Registers this floating element with the position manager based on a mouse x,y position. 
 
 
 | 
private Object | 
_registerEventHandlers() 
- 
Registers listeners with the document. 
 
 
 | 
private Object | 
_restoreFocus() 
- 
Restore the keyboard focus to its previous location 
 
 
 | 
private static Object | 
_restoreRootPostAnimation(Object wrapper) 
- 
Restores the dom element after animation has completed. 
 
 
 | 
protected Object | 
RestoreScrollValues(HTMLElement domElement) 
- 
Finds all child DOM elements that need their vertical scroll values restored and restores them. 
 
 
 | 
protected Object | 
SaveScrollValues(HTMLElement domElement) 
- 
Finds all child DOM elements that have scroll values and saves their scroll value information. 
 
 
 | 
public Object | 
setCloseHandler(Function handler) 
- 
Sets the Handler invoked when the selector is being dismissed 
 
 
 | 
public Object | 
setCloseHandlerParam(Object param) 
- 
Sets the parameter for the Handler invoked when the selector is being dismissed 
 
 
 | 
public Object | 
setContent(HTMLElement selectorContent) 
- 
Sets the content of this popup window. 
 
 
 | 
protected Object | 
SetFocusOnOpen(Boolean focusHint) 
 
 | 
public void | 
setRestoreFocusId(String id) 
 
 | 
protected Boolean | 
ShouldHideOnClip() 
- 
Resultant indicates if popup window should hide on clip. 
 
 
 | 
public Object | 
show(Object hints) 
- 
Displays a popup window on the screen. 
 
 
 | 
private Object | 
_size(Object hints) 
- 
Sizes the popup window and then validate the position with the position manager service. 
 
 
 | 
private void | 
_toggleOffAnimating() 
- 
When a popup is open and there is not room for it in the window it foces scroll. 
 
 
 | 
private Object | 
_unregisterEventHandlers() 
- 
Unregisters listeners registered with the document. 
 
 
 | 
protected Object | 
WrapContent(Object hints, Object content, Object isScreenReaderMode) 
- 
Wraps the content of the popup window. 
 
 
 |