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

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

    public class AdfDhtmlShowDetailItemPeer
    extends AdfDhtmlShowDisclosurePeer

## Field Summary

### Fields inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlShowDisclosurePeer
`ComponentDisclosedChanged, HandleComponentDisclosure`

### 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` | `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.
`public String` | `getContainerId(Object aligningElement)` In certain situations you may want to align something like a panelDrawer with the "container" dom element, which is usually the dom element with borders.
`protected Object` | `GetElementToReplaceWithSVG(Object component)` Returns the img element of the showDetailItem component which will be replaced by the feteched SVG.
`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
`EventPropagatesToServer, GetButtonElement, GetNewValueFromEvent, queueDisclosureEvent`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlTogglePeer
`ApplyAriaExpanded, ApplyAriaLabel, ApplyTitle, Config, GetButtonImageElement, getIconURL, GetPropertyValue, GetTitle, HandleClientSideToggle, HandleComponentClick, HandleComponentKeyUp, HandleToggleEventImpl, isEventForButton, QueueClientEvent, TogglePropertyChangedImpl, UpdateButton`

### 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, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, 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, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, initialize, 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, 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

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

### getContainerId

`public String getContainerId(Object aligningElement)`
  In certain situations you may want to align something like a panelDrawer with the "container" dom element, which is usually the dom element with borders. The container element may or may or may not be the same as the root dom element of the component. This method gives the peer a chance to return the id of the container.
  Parameters:

    `aligningElement` | - | dom element

  Return:
    `String` - id of the dom element to align to

### GetElementToReplaceWithSVG

`protected Object GetElementToReplaceWithSVG(Object component)`
  Returns the img element of the showDetailItem component which will be replaced by the feteched SVG.
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.GetElementToReplaceWithSVG(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:
    `AdfDhtmlTogglePeer.InitSubclass(Object)`

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

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.