Method Summary
|
public void |
activate()
-
Activates the floating element by raising to the front, activating the first element, changing the CSS to render active, and adjusting the shadow.
|
protected HTMLElement |
CreateDomElement()
-
Create and initialize the html.
|
public void |
destroy()
-
Invoked when the dialog/panelWindow is hidden.
|
protected void |
DoShow(map hints)
-
Overridden to capture a few "dialog" specific hints and register with the dialog services (AdfDhtmlDialogManager and optionally AdfDhtmlModalityManager).
|
private void |
_dragEndHandler()
-
Invoked when the drag operation is ending.
|
private void |
_dragStartHandler()
-
Invoked with the window drag begins.
|
public Object |
getAlignPosition()
-
Calculates the position of the dialog when not aligned to an element.
|
protected int |
GetAnimationDurationSkinProperty()
|
public String |
getContainedComponentClientId()
|
private HTMLElement |
_getContainedComponentDomElement()
-
Returns the dom element the contained panelWindow or dialog is bound to.
|
private AdfUIComponent |
_getContainedComponentPeer()
-
Uses the private "_containedComponentId" to find the first child managed by the floating element.
|
protected HTMLElement |
GetContentParent()
-
Gets the dom element that is the parent of the popup's content.
|
protected HTMLElement |
GetFocusContent()
-
Sets focus to the first element in the window.
|
private HTMLElement |
_getMainElement(HTMLElement content)
|
public boolean |
getModal(Object modal)
-
Gets the modality of the "dialog".
|
public boolean |
handleActivate(boolean focusOnFirstElement)
-
If the dialog is not active, activate the dialog.
|
public void |
handleBindToComponent()
-
This function is called from the AdfDhtmlPanelWindowPeer.BindToComponent(component, domElement) to re-register various popup services after the dialog or panelWindow has been replaced by a ppr target.
|
public void |
handleComponentRemoved()
-
The dom of the dialog or panelWindow is being replaced so we need to unregister services attached to the dom.
|
protected void |
HandleEscapeKey(AdfComponentEvent event)
-
This is one of the several events that the "popup" controller listens for.
|
protected Object |
Init()
-
Initializes the instance.
|
protected static Object |
InitClass()
|
public void |
initializeRepositionable()
-
Initializes the drag-and-drop repositionable object with the start and end handlers.
|
public Object |
isAnimating()
-
Returns if the popup window is currently animating during the opening of the window or if the window is resizing or moving due to drag-and-drop.
|
public void |
setContent(HTMLElement selectorContent)
-
Sets the content of this popup window
|
public void |
setDragElement(Object dragElement)
|
public void |
setDragging(Boolean dragging)
|
public Object |
setModal(Boolean modal)
-
Sets the modality of the "dialog".
|
public void |
setPosition(Number positionTop, Number positionLeft)
-
This method is used to change the position of the floating element.
|
public void |
setShadowVisibility(Boolean visible)
-
Creates and removes the shadow decorator.
|
protected boolean |
ShouldHideOnClip()
-
Returns false as simple float popups do not close on clip.
|
public void |
showAsActive()
-
Removes the inactive style class from the root "dialog" element.
|
public void |
showAsInActive()
-
Inspects the child nodes of the root elment looking for nodes marked with a "_afrPanelWindowBackground" expando attribute.
|