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

## 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.AdfDhtmlPopupSelector
                               |
                               +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlNoteWindowPopupSelector

    public class AdfDhtmlNoteWindowPopupSelector
    extends AdfDhtmlPopupSelector

Class for a note window implementation of a popup selector. This differs from other note windows which are for information only, this implementation allows user action within the note window.

## Field Summary
`private Object` | `_autoDismissType`
`private static Object` | `_CONE_BORDER_RIGHT_STYLE_CLASS`
`private static Object` | `_CONE_BORDER_STYLE_CLASS`
`private static Object` | `_CONE_STYLE_CLASS`
`private static Object` | `_CONE_STYLE_CLASS_BL`
`private static Object` | `_CONE_STYLE_CLASS_BR`
`private static Object` | `_CONE_STYLE_CLASS_TR`
`private static Object` | `_CONTENT_END_ID`
`private static Object` | `_CONTENT_STYLE_CLASS`
`private static Object` | `_RIGHT_STYLE_CLASS`
`public Object` | `setShadowAnchor`
`private static Object` | `_STYLE_CLASS`

### 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` | `AdfDhtmlNoteWindowPopupSelector(Object autoDismissType)` Class for a note window implementation of a popup selector.

## Method Summary
`public Object` | `activate()` Forces focus to the first element within the notewindow.
`public Object` | `announceOpeningViaLiveRegion(Object hints)` Announce opening of the popup via the wai-aria live region.
`public void` | `autoSize()` Adds hidden overflow and explicit width to internal note windows used to show error messages for input components if the width has reached the maximum.
`protected HTMLElement` | `CreateDomElement()` Create and initialize the html.
`public static Object` | `createTextDom(Object noteText)`
`private static boolean` | `_focusMatch(HTMLElement element)`
`protected String` | `GetAnimateSkinProperty()`
`protected Object` | `GetAnimationDurationSkinProperty()` Returns the skin property for animation duriation
`protected HTMLElement` | `GetFocusContent()` Returns the content dom node for the popup.
`protected Object` | `HandleKeyNavigation(Object event)` Handle ctr+alt+w window navigation from the note window back to the launching component.
`public Object` | `hide()` Unregister keyup listener on the launch source component that handles ctrl+alt+w.
`protected Object` | `Init(Object autoDismissType)` Constructor.
`protected static Object` | `InitClass()`
`private Object` | `_launchSourceHandleComponentKeyDown(AdfUIInputEvent componentEvent)` Intercept the F6 and activate an associated notewindow if one is open.
`private Object` | `_launchSourceHandleComponentKeyUp(AdfUIInputEvent componentEvent)` Intercept the ctrl+alt+w key combination and activate an associated notewindow if one is open.
`private static boolean` | `_match(HTMLElement element)`
`private Object` | `_onClickConeCell(Object evt)`
`private Object` | `_onMOConeCellTimeout()`
`private Object` | `_onMouseOutConeCell(Object evt)`
`private Object` | `_onMouseOverConeCell(Object evt)`
`public Object` | `removeAccessibleAttrs()` unsets accessible attributes to the popup container element.
`public Object` | `setAccessibleAttrs(Object hints)` Sets accessible attributes to the popup container element.
`public Object` | `setPosition(Object top, Object left)`
`public Object` | `show(Object hints)` Displays a popup window on the screen.

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupSelector
`GetContentParent, SetContentParent`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow
`addOpenedHandler, AnimateClosing, AnimateOpening, AnimateUsingWrapper, cancel, CloseAnimationComplete, ClosedPopup, CreateShadow, destroy, DoResizeNotifyDom, DoShow, FocusOnFirstElement, GetAnimationDuration, GetCloseAnimationDuration, getContent, GetFocusOnOpen, getInitialPopupTailPosition, GetLaunchSourceElement, getLaunchSourceId, GetMaxWidth, getPopupClientId, GetPositionManagerIndex, getTailElement, getZorderScope, HandleEscapeKey, HasShadow, ImmediateZorderRegistration, isAncestorOrSelf, isAnimating, isPopupWindow, isVisible, NeedsCloseLink, OpenAnimationComplete, OpenedPopup, Position, RestoreScrollValues, SaveScrollValues, setCloseHandler, setCloseHandlerParam, setContent, SetFocusOnOpen, setRestoreFocusId, ShouldHideOnClip, shouldInvertPosition, 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

### _autoDismissType

`private Object _autoDismissType`

### _CONE_BORDER_RIGHT_STYLE_CLASS

`private static Object _CONE_BORDER_RIGHT_STYLE_CLASS`

### _CONE_BORDER_STYLE_CLASS

`private static Object _CONE_BORDER_STYLE_CLASS`

### _CONE_STYLE_CLASS

`private static Object _CONE_STYLE_CLASS`

### _CONE_STYLE_CLASS_BL

`private static Object _CONE_STYLE_CLASS_BL`

### _CONE_STYLE_CLASS_BR

`private static Object _CONE_STYLE_CLASS_BR`

### _CONE_STYLE_CLASS_TR

`private static Object _CONE_STYLE_CLASS_TR`

### _CONTENT_END_ID

`private static Object _CONTENT_END_ID`

### _CONTENT_STYLE_CLASS

`private static Object _CONTENT_STYLE_CLASS`

### _RIGHT_STYLE_CLASS

`private static Object _RIGHT_STYLE_CLASS`

### setShadowAnchor

`public Object setShadowAnchor`

### _STYLE_CLASS

`private static Object _STYLE_CLASS`

## Constructor Detail

### AdfDhtmlNoteWindowPopupSelector

`public AdfDhtmlNoteWindowPopupSelector(Object autoDismissType)`
  Class for a note window implementation of a popup selector. This differs from other note windows which are for information only, this implementation allows user action within the note window.
  Parameters:

    `autoDismissType` |  |

## Method Detail

### activate

`public Object activate()`
  Forces focus to the first element within the notewindow. Note windows do not steal focus when opened like other types of popups.
  Return:
    `Object`

### announceOpeningViaLiveRegion

`public Object announceOpeningViaLiveRegion(Object hints)`
  Announce opening of the popup via the wai-aria live region.
  Parameters:

    `hints` | - | a set of popup hints (see AdfDhtmlPopupWindow) Default value = null

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

### autoSize

`public void autoSize()`
  Adds hidden overflow and explicit width to internal note windows used to show error messages for input components if the width has reached the maximum. This is to handle cases that the error message does not have breakable space but is larger than the max width.
  Return:
    `void` - null
  Overrides:
    `AdfDhtmlPopupWindow.autoSize()`

### CreateDomElement

`protected HTMLElement CreateDomElement()`
  Create and initialize the html.
  Return:
    `HTMLElement` - the root dom element of this popup.
  Overrides:
    `AdfDhtmlPopupWindow.CreateDomElement()`

### createTextDom

`public static Object createTextDom(Object noteText)`
  Parameters:

    `noteText` |  |

  Return:
    `Object`

### _focusMatch

`private static boolean _focusMatch(HTMLElement element)`
  Parameters:

    `element` | - | searched on

  Return:
    `boolean` - null `true` if the element is a div and not resize elements

### GetAnimateSkinProperty

`protected String GetAnimateSkinProperty()`
  Return:
    `String` - null "-tr-animate" skinning property for the notewindow component.
  Overrides:
    `AdfDhtmlPopupWindow.GetAnimateSkinProperty()`

### GetAnimationDurationSkinProperty

`protected Object GetAnimationDurationSkinProperty()`
  Returns the skin property for animation duriation
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.GetAnimationDurationSkinProperty(Object)`

### GetFocusContent

`protected HTMLElement GetFocusContent()`
  Returns the content dom node for the popup. This method should be overridden by subclasses to return the inner content area versus the outer border/title dom structure.
  Return:
    `HTMLElement` - content area of the popup
  Overrides:
    `AdfDhtmlPopupWindow.GetFocusContent()`

### HandleKeyNavigation

`protected Object HandleKeyNavigation(Object event)`
  Handle ctr+alt+w window navigation from the note window back to the launching component.
  Parameters:

    `event` |  |

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

### hide

`public Object hide()`
  Unregister keyup listener on the launch source component that handles ctrl+alt+w.
  Return:
    `Object`
  Overrides:
    `AdfAbstractFloatingElement.hide()`

### Init

`protected Object Init(Object autoDismissType)`
  Constructor.
  Parameters:

    `autoDismissType` |  |

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

### InitClass

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

### _launchSourceHandleComponentKeyDown

`private Object _launchSourceHandleComponentKeyDown(AdfUIInputEvent componentEvent)`
  Intercept the F6 and activate an associated notewindow if one is open. Note windows do not steal focus when shown. From the notewindow, the same sequence of keys will force navigation back to the owning input component.
  Parameters:

    `componentEvent` | - | key down event

  Return:
    `Object`

### _launchSourceHandleComponentKeyUp

`private Object _launchSourceHandleComponentKeyUp(AdfUIInputEvent componentEvent)`
  Intercept the ctrl+alt+w key combination and activate an associated notewindow if one is open. Note windows do not steal focus when shown. From the notewindow, the same sequence of keys will force navigation back to the owning input component.
  Parameters:

    `componentEvent` | - | key up event

  Return:
    `Object`

### _match

`private static boolean _match(HTMLElement element)`
  Parameters:

    `element` | - | searched on

  Return:
    `boolean` - null `true` if the element is a div that's assigned the "AFNoteWindowContent" style class

### _onClickConeCell

`private Object _onClickConeCell(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _onMOConeCellTimeout

`private Object _onMOConeCellTimeout()`
  Return:
    `Object`

### _onMouseOutConeCell

`private Object _onMouseOutConeCell(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _onMouseOverConeCell

`private Object _onMouseOverConeCell(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### removeAccessibleAttrs

`public Object removeAccessibleAttrs()`
  unsets accessible attributes to the popup container element.
  Return:
    `Object`
  Overrides:
    `AdfDhtmlPopupWindow.removeAccessibleAttrs()`

### setAccessibleAttrs

`public Object setAccessibleAttrs(Object hints)`
  Sets accessible attributes to the popup container element.
  Parameters:

    `hints` |  |

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

### setPosition

`public Object setPosition(Object top,
Object left)`
  Parameters:

    `top` |  |
    `left` |  |

  Return:
    `Object`
  Overrides:
    `AdfAbstractFloatingElement.setPosition(Object, Object)`

### show

`public Object show(Object hints)`
  Displays a popup window on the screen. This funciton is overridden to insist that an AdfRichPopup.HINT_ALIGN_ELEMENT hint is provided. If an align element is not provided, default to the launch source if provided.
  Parameters:

    `hints` | - | a set of popup hints (see AdfDhtmlPopupWindow) Default value = null

  Return:
    `Object`
  See also:
    `AdfDhtmlPopupWindow.hide()`
  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.