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.base.AdfObject
         |
         +--oracle.adf.view.js.base.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


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

BindToComponent, ComponentDisclosedChanged, ComponentRemoved, DisclosurePropagatesToServer, HandleComponentDisclosure, HandleComponentValueChange, InitDirtyTracking, queueDisclosureEvent, RemoveDirtyTracking


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, 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, 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, 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


_bypassStretching

private Object _bypassStretching

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)

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.04.27 02:28 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.