OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlShowDisclosurePeer
                     |
                     +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlShowDetailItemPeer

public class AdfDhtmlShowDetailItemPeer
extends AdfDhtmlShowDisclosurePeer



Field Summary

private Object
_bypassStretching
private Object
_getMappedSubIdDomElement
private static Object
_SUB_ID_MAP
showDetailItem component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.


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
AdfDhtmlShowDetailItemPeer()


Method Summary

private Object
_changeCursor(String clientId, String subId, Boolean isBusy)
Sets/Resets the cursor on the tab element of this component inside panelTabbed.
protected Boolean
ComponentFlexChanged(AdfRichShowDetailItem component, HTMLElement domElement, Object newValue, Object oldValue)
Returns a true value indicating a property change should not result in a PPR update if the state change resulted from a manual resize of the panel accordion; otherwise, returns the default, false and the component is auto PPRed.
protected Boolean
ComponentInflexibleHeightChanged(AdfRichShowDetailItem component, HTMLElement domElement, Object newValue, Object oldValue)
Returns a true value indicating a property change should not result in a PPR update if the state change resulted from a manual resize of the panel accordion; otherwise, returns the default, false and the component is auto PPRed.
protected Object
DomReplaceNotify(Object replacedDomNode)
Notifies the peer that some DOM corresponding to a child (or descendent) has been replaced.
protected Object
GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.
protected Object
InitDomElement(Object component, Object domElement)
Register DOM event handlers
protected static Object
InitSubclass()
Registers custom component property change handlers
private Object
_isCapableOfAbsolutePositioning(Object component, Object onlyChild)
private Boolean
_propertyChangedHandled(AdfRichShowDetailItem component)
Checks for a semaphore set during the drag-and-drop of the AdfPanelAccordion.
protected Object
SetBusy(Boolean isBusy)
Override to change the cursor on the detail item when busy while ppr


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlShowDisclosurePeer

ComponentDisclosedChanged, queueDisclosureEvent


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, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, DispatchComponentEvent, 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, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


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

ApplyDragSourceState, ClearDragSourceState


Field Detail


_bypassStretching

private Object _bypassStretching

_getMappedSubIdDomElement

private Object _getMappedSubIdDomElement

_SUB_ID_MAP

private static Object _SUB_ID_MAP

showDetailItem component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [tab_link --> disAcr] - the tab link displayed when a showDetailItem is in a panelTabbed 2. [panel_disclosure_icon --> btn] - the disclosure icon that is displayed when a showDetailItem is in a panelAccordion 3. [panel_text] - the text for a showDetailItem present on a panelAccordion (mapped programmatically)

Constructor Detail


AdfDhtmlShowDetailItemPeer

public AdfDhtmlShowDetailItemPeer()

Method Detail


_changeCursor

private Object _changeCursor(String clientId,
                             String subId,
                             Boolean isBusy)

Sets/Resets the cursor on the tab element of this component inside panelTabbed.

Parameters:
clientId  -  the client id of the component
subId  -  the subId part of the tab
isBusy  -  if the tab is in busy state while ppr
Return:
Object

ComponentFlexChanged

protected Boolean ComponentFlexChanged(AdfRichShowDetailItem component,
                                       HTMLElement domElement,
                                       Object newValue,
                                       Object oldValue)

Returns a true value indicating a property change should not result in a PPR update if the state change resulted from a manual resize of the panel accordion; otherwise, returns the default, false and the component is auto PPRed.

Parameters:
component  -  target component
domElement  -  component is bound to
newValue    
oldValue    
Return:
Boolean - returns true
See also:
_propertyChangedHandled(AdfRichShowDetailItem)

ComponentInflexibleHeightChanged

protected Boolean ComponentInflexibleHeightChanged(AdfRichShowDetailItem component,
                                                   HTMLElement domElement,
                                                   Object newValue,
                                                   Object oldValue)

Returns a true value indicating a property change should not result in a PPR update if the state change resulted from a manual resize of the panel accordion; otherwise, returns the default, false and the component is auto PPRed.

Parameters:
component  -  target component
domElement  -  component is bound to
newValue    
oldValue    
Return:
Boolean - returns true
See also:
_propertyChangedHandled(AdfRichShowDetailItem)

DomReplaceNotify

protected Object DomReplaceNotify(Object replacedDomNode)

Notifies the peer that some DOM corresponding to a child (or descendent) has been replaced. Subclasses should override the DomReplaceNotify() hook.

Parameters:
replacedDomNode    
Return:
Object
Overrides:
AdfRichUIPeer.domReplaceNotify(AdfUIComponent, Object)

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)

InitDomElement

protected Object InitDomElement(Object component,
                                Object domElement)

Register DOM event handlers

Parameters:
component    
domElement    
Return:
Object
Overrides:
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)

InitSubclass

protected static Object InitSubclass()

Registers custom component property change handlers

Return:
Object
Overrides:
AdfDhtmlShowDisclosurePeer.InitSubclass()

_isCapableOfAbsolutePositioning

private Object _isCapableOfAbsolutePositioning(Object component,
                                               Object onlyChild)

Parameters:
component    
onlyChild    
Return:
Object

_propertyChangedHandled

private Boolean _propertyChangedHandled(AdfRichShowDetailItem component)

Checks for a semaphore set during the drag-and-drop of the AdfPanelAccordion. If the flex or inflexibleHeight is set by the AdfPanelAccordion during a manual resize, we want to handle the property change preventing auto PPR of the component.

Parameters:
component  -  target component
Return:
Boolean - returns true if property was set from a AdfPanelAccordion manual resize

SetBusy

protected Object SetBusy(Boolean isBusy)

Override to change the cursor on the detail item when busy while ppr

Parameters:
isBusy  -  whether the state is busy or not
Return:
Object
Overrides:
AdfRichUIPeer.setBusy(Object, 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.