OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlStatusIndicatorPeer

Warning:

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.AdfDhtmlStatusIndicatorPeer

public class AdfDhtmlStatusIndicatorPeer
extends AdfRichUIPeer
make AdfDhtmlStatusIndicatorPeer a subclass of AdfRichUIPeer



Field Summary

public static Object
ADS_CONNECTED_ICON
public static Object
ADS_CONNECTING_ICON
public static Object
ADS_DISCONNECTED_ICON
public static Object
ADS_ICONS
public static Object
ADS_RECONNECTING_ICON
public static Object
DTS_IDLE_ICON
public static Object
DTS_PROCESSING_ICON
private static Object
_serverBusy
private Object
_updateIcon


Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer

addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlStatusIndicatorPeer()
make AdfDhtmlStatusIndicatorPeer a subclass of AdfRichUIPeer


Method Summary

protected Object
ComponentRemoved(AdfUIComponent component)
Override to detach dts listener and ADS listener
protected Object
InitDomElement(Object component, Object domElement)
Initialize the associated domElement when the peer is created.
protected static Object
InitSubclass()
Initialize the peer class
private Boolean
_stateChanged(Object changedState)
Listener for data transfer service and active data service state changes , with "this" pointing to the component the peer is attached to.
private Object
_updateIcon(Object parentElement)
Update the icon based on the current dts and ads states.


Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, DispatchComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, PopupClosed, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


Methods inherited from oracle.adf.view.js.base.AdfUIPeer

getDefaultDragRecognizer, getParentPeer, initiateDrag, isVisible, needsResizeNotify


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


ADS_CONNECTED_ICON

public static Object ADS_CONNECTED_ICON

ADS_CONNECTING_ICON

public static Object ADS_CONNECTING_ICON

ADS_DISCONNECTED_ICON

public static Object ADS_DISCONNECTED_ICON

ADS_ICONS

public static Object ADS_ICONS

ADS_RECONNECTING_ICON

public static Object ADS_RECONNECTING_ICON

DTS_IDLE_ICON

public static Object DTS_IDLE_ICON

DTS_PROCESSING_ICON

public static Object DTS_PROCESSING_ICON

_serverBusy

private static Object _serverBusy

_updateIcon

private Object _updateIcon

Constructor Detail


AdfDhtmlStatusIndicatorPeer

public AdfDhtmlStatusIndicatorPeer()

make AdfDhtmlStatusIndicatorPeer a subclass of AdfRichUIPeer

Method Detail


ComponentRemoved

protected Object ComponentRemoved(AdfUIComponent component)

Override to detach dts listener and ADS listener

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.componentRemoved(AdfUIComponent)

InitDomElement

protected Object InitDomElement(Object component,
                                Object domElement)

Initialize the associated domElement when the peer is created. we setup javascript event handlers at this time.

Parameters:
component  -  Component that this peer will be associated with
domElement  -  Root DOM element of this peer
Return:
Object
Overrides:
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)

InitSubclass

protected static Object InitSubclass()

Initialize the peer class

Return:
Object

_stateChanged

private Boolean _stateChanged(Object changedState)

Listener for data transfer service and active data service state changes , with "this" pointing to the component the peer is attached to. The listener updates the icon based on the state changes in ADS and DTS.

Parameters:
changedState    
Return:
Boolean - null false to cancel notification to other listeners

_updateIcon

private Object _updateIcon(Object parentElement)

Update the icon based on the current dts and ads states. Call this function on init, and when either state changes.

Parameters:
parentElement  -  the parent element of the icon
Return:
Object

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

 

Generated on 2011.04.05 23:36 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.