# 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.rich
Class AdfDhtmlPollPeer

## 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.adf.view.js.base.AdfUIPeer
                   |
                   +--oracle.adf.view.js.laf.rich.AdfRichUIPeer
                         |
                         +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlPollPeer

    public class AdfDhtmlPollPeer
    extends AdfRichUIPeer

## Field Summary
`public static Object` | `ASYNCHRONOUS_UPDATES_ON_DEMAND`
`public static Object` | `COMPONENT_QUEUE`
`private static Object` | `_INTERVAL_ID`

### Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, CreateSubId, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS, SELECTED_STYLECLASS`

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

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

## Constructor Summary
`public` | `AdfDhtmlPollPeer()`

## Method Summary
`private static Object` | `_cacheComponent(AdfUIComponent component)` Cache the components on which a poll event should have been queued if asynchronousUpdates was in "on" state.
`private static Object` | `_clearInterval(AdfUIComponent component)` clears the poll interval.
`protected Object` | `ComponentIntervalChanged(AdfUIComponent component, Object domElement, Object newValue, Object oldValue)` client-side setter for 'interval'
`protected Object` | `ComponentRemoved(AdfUIComponent component)` Hook called when peers are disassociated from their components.
`public Object` | `initialize(Object component)` TODO:=_=ASG superclass method is final!
`protected static Object` | `InitSubclass()` Indicate to the framework that we have a client-side setter for 'interval'.
`private static Object` | `_queuePoll()` function which queues 'poll' events.
`private static Object` | `_setInterval(AdfUIComponent component)` sets the poll interval on the component

### 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, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, GetBestMatchSubId, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDomRootNodes, GetDomRootNodes, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, GetElementToReplaceWithSVG, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, InitDomElement, isAbsoluteLocatorCacheable, isActive, isBusy, isComponentContainedByElement, isInActiveHeirarchy, isInlineSVGIcon, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, processPushData, ProcessPushData, registerADSAccessibility, RegisterADSAccessibility, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, UpdateMessageType, visitChildren`

### Methods inherited from oracle.adf.view.js.base.AdfUIPeer
`getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible, needsResizeNotify`

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

### ASYNCHRONOUS_UPDATES_ON_DEMAND

`public static Object ASYNCHRONOUS_UPDATES_ON_DEMAND`

### COMPONENT_QUEUE

`public static Object COMPONENT_QUEUE`

### _INTERVAL_ID

`private static Object _INTERVAL_ID`

## Constructor Detail

### AdfDhtmlPollPeer

`public AdfDhtmlPollPeer()`

## Method Detail

### _cacheComponent

`private static Object _cacheComponent(AdfUIComponent component)`
  Cache the components on which a poll event should have been queued if asynchronousUpdates was in "on" state.
  Parameters:

    `component` |  |

  Return:
    `Object`

### _clearInterval

`private static Object _clearInterval(AdfUIComponent component)`
  clears the poll interval.
  Parameters:

    `component` |  |

  Return:
    `Object`

### ComponentIntervalChanged

`protected Object ComponentIntervalChanged(AdfUIComponent component,
Object domElement,
Object newValue,
Object oldValue)`
  client-side setter for 'interval'
  Parameters:

    `component` |  |
    `domElement` | - | Root DOM element of this peer
    `newValue` |  |
    `oldValue` |  |

  Return:
    `Object`

### ComponentRemoved

`protected Object ComponentRemoved(AdfUIComponent component)`
  Hook called when peers are disassociated from their components. clear the interval.
  Parameters:

    `component` | - | Component being disassociated from the peer

  Return:
    `Object`
  Overrides:
    `AdfUIPeer.componentRemoved(AdfUIComponent)`

### initialize

`public Object initialize(Object component)`
  TODO:=_=ASG superclass method is final!
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfUIPeer.initialize(AdfUIComponent)`

### InitSubclass

`protected static Object InitSubclass()`
  Indicate to the framework that we have a client-side setter for 'interval'.
  Return:
    `Object`

### _queuePoll

`private static Object _queuePoll()`
  function which queues 'poll' events.
  Return:
    `Object`

### _setInterval

`private static Object _setInterval(AdfUIComponent component)`
  sets the poll interval on the component
  Parameters:

    `component` |  |

  Return:
    `Object`

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.