# JavaScript API Reference for Oracle ADF Faces

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

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

# oracle.adfinternal.view.js.laf.dhtml.internalWindow
Class AdfDhtmlPopupLayer

## Warning:

- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.

    org.ecmascript.object.Object
       |
       +--oracle.adf.view.js.base.AdfObject
             |
             +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfAbstractFloatingElement
                   |
                   +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow
                         |
                         +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupLayer

    public class AdfDhtmlPopupLayer
    extends AdfDhtmlPopupWindow

Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.

## Field Summary
`private static Object` | `_ANIMATE_DIRECTION_MAP`
`public static Object` | `HINT_ANIMATE_CLOSED`
`public static Object` | `HINT_ANIMATE_FRAME_METHOD`
`public static Object` | `HINT_ANIMATE_HORIZONTALLY`
`public static Object` | `HINT_ANIMATE_MIN_WIDTH`
`public static Object` | `HINT_ANIMATE_VERTICALLY`
`public static Object` | `HINT_ANIMATION_DURATION_CLOSE_SKIN_PROPERTY`
`public static Object` | `HINT_ANIMATION_DURATION_OPEN_SKIN_PROPERTY`

### Fields inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow
`__CANCELED_EXPANDO, __POPUP_CONTAINER_ID, __POPUPID_EXPANDO, __REPLACEDOM_EXPANDO, setElement`

### Fields inherited from oracle.adf.view.js.base.AdfObject
`constructor, superclass`

### Fields inherited from org.ecmascript.object.Object
`prototype`

## Constructor Summary
`public` | `AdfDhtmlPopupLayer()` Copyright (c) 2012, 2019, Oracle and/or its affiliates.

## Method Summary
`protected Object` | `AnimateUsingWrapper(Object animationDuration, Object hints, Object isOpening)` Removes the managed dom element replacing with a hidden div.
`protected Object` | `ClosedPopup()` Hides this popup window from dom.
`protected Object` | `CreateDomElement()` Create and initialize the html.
`private Object` | `_getAnimationDirection(Object hints)` depending on where the popup is aligned, determine the direction of the animation
`protected Object` | `GetAnimationDurationSkinProperty(Object hints)` Returns the skin property for animation duration
`protected Number` | `GetCloseAnimationDuration()`
`protected Object` | `GetCloseAnimationDurationSkinProperty(Object hints)` Returns the skin property for close animation duration
`private Object` | `_getComponentFromHints(Object hints)`
`protected Object` | `GetContentParent()` Gets the dom element that is the parent of the popup's content.
`public Object` | `getHints()`
`protected Object` | `HasShadow()`
`public Object` | `hide()` Gracefully dismisses the floating element.
`protected Object` | `Init()` Constructor.
`protected static Object` | `InitClass()`
`public Object` | `removeAutodismiss()`
`public Object` | `restoreAutodismiss()`
`protected Object` | `SetContentParent(Object contentParentElement)`
`protected Object` | `ShouldHideOnClip()` Returns false as floating element which extends AdfDhtmlPopupLayer do not close on clip.
`public Boolean` | `shouldInvertPosition()`
`public Object` | `show(Object hints)`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow
`addOpenedHandler, AnimateClosing, AnimateOpening, announceOpeningViaLiveRegion, autoSize, cancel, CloseAnimationComplete, CreateShadow, destroy, DoResizeNotifyDom, DoShow, FocusOnFirstElement, GetAnimateSkinProperty, GetAnimationDuration, getContent, GetFocusContent, GetFocusOnOpen, getInitialPopupTailPosition, GetLaunchSourceElement, getLaunchSourceId, GetMaxWidth, getPopupClientId, GetPositionManagerIndex, getTailElement, getZorderScope, HandleEscapeKey, HandleKeyNavigation, ImmediateZorderRegistration, isAncestorOrSelf, isAnimating, isPopupWindow, isVisible, NeedsCloseLink, OpenAnimationComplete, OpenedPopup, Position, removeAccessibleAttrs, RestoreScrollValues, SaveScrollValues, setAccessibleAttrs, setCloseHandler, setCloseHandlerParam, setContent, SetFocusOnOpen, setPosition, setRestoreFocusId, WrapContent`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfAbstractFloatingElement
`CreateTable, getAlignElement, getAlignPosition, getElement, GetFirstFormId, GetFloatingType, getHeight, getLeft, getShadowAnchor, getTop, getWidth, isPreventScrollOnClose, raiseToFront, setAlignElement, setAlignPosition, setElement, setLeft, setPreventScrollOnClose, setShadowAnchor, setTop`

### 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

### _ANIMATE_DIRECTION_MAP

`private static Object _ANIMATE_DIRECTION_MAP`

### HINT_ANIMATE_CLOSED

`public static Object HINT_ANIMATE_CLOSED`

### HINT_ANIMATE_FRAME_METHOD

`public static Object HINT_ANIMATE_FRAME_METHOD`

### HINT_ANIMATE_HORIZONTALLY

`public static Object HINT_ANIMATE_HORIZONTALLY`

### HINT_ANIMATE_MIN_WIDTH

`public static Object HINT_ANIMATE_MIN_WIDTH`

### HINT_ANIMATE_VERTICALLY

`public static Object HINT_ANIMATE_VERTICALLY`

### HINT_ANIMATION_DURATION_CLOSE_SKIN_PROPERTY

`public static Object HINT_ANIMATION_DURATION_CLOSE_SKIN_PROPERTY`

### HINT_ANIMATION_DURATION_OPEN_SKIN_PROPERTY

`public static Object HINT_ANIMATION_DURATION_OPEN_SKIN_PROPERTY`

## Constructor Detail

### AdfDhtmlPopupLayer

`public AdfDhtmlPopupLayer()`
  Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.

## Method Detail

### AnimateUsingWrapper

`protected Object AnimateUsingWrapper(Object animationDuration,
Object hints,
Object isOpening)`
  Removes the managed dom element replacing with a hidden div. The current coordinates are captured and used as the finals for the animation.
  Parameters:

    `animationDuration` |  |
    `hints` |  |
    `isOpening` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.AnimateUsingWrapper(Number, Object, Object)`

### ClosedPopup

`protected Object ClosedPopup()`
  Hides this popup window from dom.
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.ClosedPopup()`

### CreateDomElement

`protected Object CreateDomElement()`
  Create and initialize the html. Subclasses must override this method
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.CreateDomElement()`

### _getAnimationDirection

`private Object _getAnimationDirection(Object hints)`
  depending on where the popup is aligned, determine the direction of the animation
  Parameters:

    `hints` |  |

  Return:
    `Object` - the animation direction

### GetAnimationDurationSkinProperty

`protected Object GetAnimationDurationSkinProperty(Object hints)`
  Returns the skin property for animation duration
  Parameters:

    `hints` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.GetAnimationDurationSkinProperty(Object)`

### GetCloseAnimationDuration

`protected Number GetCloseAnimationDuration()`
  Return:
    `Number` - the duration of the close animation for the popup
  Overrides:
    `AdfDhtmlPopupWindow.GetCloseAnimationDuration()`

### GetCloseAnimationDurationSkinProperty

`protected Object GetCloseAnimationDurationSkinProperty(Object hints)`
  Returns the skin property for close animation duration
  Parameters:

    `hints` |  |

  Return:
    `Object`

### _getComponentFromHints

`private Object _getComponentFromHints(Object hints)`
  Parameters:

    `hints` |  |

  Return:
    `Object`

### GetContentParent

`protected Object GetContentParent()`
  Gets the dom element that is the parent of the popup's content. Subclasses must override this method
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.GetContentParent()`

### getHints

`public Object getHints()`
  Return:
    `Object`

### HasShadow

`protected Object HasShadow()`
  Return:
    `Object` - whether or not the popup will have a shadow
  Overrides:
    `AdfDhtmlPopupWindow.HasShadow()`

### hide

`public Object hide()`
  Gracefully dismisses the floating element.
  Return:
    `Object`
  Overrides:
    `AdfAbstractFloatingElement.hide()`

### Init

`protected Object Init()`
  Constructor.
  Return:
    `Object`
  Overrides:
    `AdfObject.Init()`

### InitClass

`protected static Object InitClass()`
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.InitClass()`

### removeAutodismiss

`public Object removeAutodismiss()`
  Return:
    `Object`

### restoreAutodismiss

`public Object restoreAutodismiss()`
  Return:
    `Object`

### SetContentParent

`protected Object SetContentParent(Object contentParentElement)`
  Parameters:

    `contentParentElement` |  |

  Return:
    `Object`

### ShouldHideOnClip

`protected Object ShouldHideOnClip()`
  Returns false as floating element which extends AdfDhtmlPopupLayer do not close on clip.
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.ShouldHideOnClip()`

### shouldInvertPosition

`public Boolean shouldInvertPosition()`
  Return:
    `Boolean` - always returns false indicating the position manager should use the primary alignment
  Overrides:
    `AdfDhtmlPopupWindow.shouldInvertPosition()`

### show

`public Object show(Object hints)`
  Parameters:

    `hints` |  |

  Return:
    `Object`
  Overrides:
    `AdfAbstractFloatingElement.show()`

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.