OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.laf.rich.AdfUIPeer
         |
         +--oracle.adf.view.js.laf.rich.AdfRichUIPeer
               |
               +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlMessagesPeer

public class AdfDhtmlMessagesPeer
extends AdfRichUIPeer
Peer for the messages component. The AdfDhtmlMessagesPeer is only used when the messages component is inline, when using a dialog the document peer is used.



Field Summary


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

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


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlMessagesPeer()
Peer for the messages component.


Method Summary

public Object
componentRemoved(Object component)
Called by the framework to allow a peer to clean up its references to a component that it was previously initialized with because the component is being removed.
protected String
GetComponentGlobalOnly(AdfUIComponent component, HTMLElement root)
Optimized getter for the attribute named globalOnly.
protected String
GetComponentMessage(AdfUIComponent component, HTMLElement root)
Optimized getter for the attribute named message.
protected String
GetComponentShortDesc(AdfUIComponent component, HTMLElement root)
Optimized getter for the attribute named shortDesc.
protected String
GetComponentText(AdfUIComponent component, HTMLElement root)
Optimized getter for the attribute named text.
protected Object
GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.
protected static Object
InitSubclass()
Class initializer.
public Boolean
isMessagesDialogShowable()
The AdfDhtmlMessagesPeer is only used when the messages component is inline, when using a dialog the document peer is used.
protected Object
MessageNotify(Object maxType, Object messages)
Message notification callback.
protected Object
MessageShow(Object maxType, Object messages)
Message show callback.
private Object
_messageUpdate(Object maxType, Object messages, Object alwaysShow)
public Object
setMessagesDialogShown(Boolean visible)
The AdfDhtmlMessagesPeer is only used when the messages component is inline, when using a dialog the document peer is used.


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, 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, hideAllPopups, hidePopup, Init, InitClass, InitDomElement, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, 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.laf.rich.AdfUIPeer

ApplyDragSourceState, ClearDragSourceState


Field Detail


Constructor Detail


AdfDhtmlMessagesPeer

public AdfDhtmlMessagesPeer()

Peer for the messages component. The AdfDhtmlMessagesPeer is only used when the messages component is inline, when using a dialog the document peer is used.

Method Detail


componentRemoved

public Object componentRemoved(Object component)

Called by the framework to allow a peer to clean up its references to a component that it was previously initialized with because the component is being removed.

Subclasses wishing to perform work when a peer's component is removed should override ComponentRemoved. When overriding, subclasses should call superclass.componentRemoved(component) as the last step in their override.


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

GetComponentGlobalOnly

protected String GetComponentGlobalOnly(AdfUIComponent component,
                                        HTMLElement root)

Optimized getter for the attribute named globalOnly.

Parameters:
component  -  the component for this peer
root  -  the root DOM element for this peer
Return:
String - the globalOnly attribute value

GetComponentMessage

protected String GetComponentMessage(AdfUIComponent component,
                                     HTMLElement root)

Optimized getter for the attribute named message.

Parameters:
component  -  the component for this peer
root  -  the root DOM element for this peer
Return:
String - the message attribute value

GetComponentShortDesc

protected String GetComponentShortDesc(AdfUIComponent component,
                                       HTMLElement root)

Optimized getter for the attribute named shortDesc.

Parameters:
component  -  the component for this peer
root  -  the root DOM element for this peer
Return:
String - the shortDesc attribute value

GetComponentText

protected String GetComponentText(AdfUIComponent component,
                                  HTMLElement root)

Optimized getter for the attribute named text.

Parameters:
component  -  the component for this peer
root  -  the root DOM element for this peer
Return:
String - the text attribute value

GetSubIdDomElement

protected Object GetSubIdDomElement(Object subElementId)

Returns the DOM element identified by the passed in subId.

Parameters:
subElementId    
Return:
Object - the DOM element
Overrides:
AdfRichUIPeer.getSubIdDomElement(Object, Object)

InitSubclass

protected static Object InitSubclass()

Class initializer.

Return:
Object

isMessagesDialogShowable

public Boolean isMessagesDialogShowable()

The AdfDhtmlMessagesPeer is only used when the messages component is inline, when using a dialog the document peer is used. See AdfDhtmlDocumentPeer.isMessagesDialogShowable for the method called when a popup MessageHandler API used by the messaging framework pieces. Determines whether the setMessagesDialogShown() API is able to show a dialog. If no dialog is showable, then links that would invoke it should be hidden.

Return:
Boolean - true if setMessageDialogShown(true) will do anything, false otherwise

MessageNotify

protected Object MessageNotify(Object maxType,
                               Object messages)

Message notification callback. Subclasses should override MessageNotify(). This implementation of messageNotify() simply ensures that the peer is bound before calls out to the MessageNotify() hook.

Parameters:
maxType    
messages    
Return:
Object
Overrides:
AdfRichUIPeer.messageNotify(Object, Object, Object)

MessageShow

protected Object MessageShow(Object maxType,
                             Object messages)

Message show callback. Subclasses should override MessageShow(). This implementation of messageShow() simply ensures that the peer is bound before calls out to the MessageShow() hook.

Parameters:
maxType    
messages    
Return:
Object
Overrides:
AdfRichUIPeer.messageShow(Object, Object, Object)

_messageUpdate

private Object _messageUpdate(Object maxType,
                              Object messages,
                              Object alwaysShow)

Parameters:
maxType    
messages    
alwaysShow    
Return:
Object

setMessagesDialogShown

public Object setMessagesDialogShown(Boolean visible)

The AdfDhtmlMessagesPeer is only used when the messages component is inline, when using a dialog the document peer is used. See AdfDhtmlDocumentPeer.setMessagesDialogShown for the method called when a popup MessageHandler API used by the messaging framework pieces. Specifies the visibility of the document's "all messages" dialog. If setting it to be visible, this will also move focus into the dialog.

Parameters:
visible  -  true if to make it visible, false to hide it
Return:
Object

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

 

Generated on 2011.10.24 21:45 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.