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

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

Direct Known Subclasses:
  AdfDhtmlShowDetailItemPeer, AdfDhtmlShowDetailPeer

    public abstract class AdfDhtmlShowDisclosurePeer
    extends AdfDhtmlTogglePeer

Abstract base class for show detail peers, similar in spirit to ShowDisclosureRenderer

## Field Summary
`protected Object` | `ComponentDisclosedChanged` Use default TogglePeer handling for disclosed property changes
`protected Object` | `HandleComponentDisclosure` Use default TogglePeer handling for disclosure events

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

## Method Summary
`protected Object` | `EventPropagatesToServer(boolean isExpanded)` Override to only propagate events to the server if we have all of the content on the client and we have immediate delivery
`protected Object` | `GetButtonElement()`
`protected Object` | `GetNewValueFromEvent(Object componentEvent)` Override to extract the new value from the AdfDisclosureEvent
`protected static Object` | `InitSubclass()` Registers component property change handlers for diclosure event
`public AdfDisclosureEvent` | `queueDisclosureEvent(boolean isExpanded, boolean partial, ?AdfUIShowDetail disclosureCounterpart)` Comvenience function for queueing a disclosure event for this peer's component.

### 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, 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, GetElementToReplaceWithSVG, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, InitDomElement, 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, 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

### ComponentDisclosedChanged

`protected Object ComponentDisclosedChanged`
  Use default TogglePeer handling for disclosed property changes

### HandleComponentDisclosure

`protected Object HandleComponentDisclosure`
  Use default TogglePeer handling for disclosure events

## Method Detail

### EventPropagatesToServer

`protected Object EventPropagatesToServer(boolean isExpanded)`
  Override to only propagate events to the server if we have all of the content on the client and we have immediate delivery
  Parameters:

    `isExpanded` | - | true if the new disclosed state is true, false othewise

  Return:
    `Object`
  Overrides:
    `AdfDhtmlTogglePeer.EventPropagatesToServer(Object)`

### GetButtonElement

`protected Object GetButtonElement()`
  Return:
    `Object`
  Overrides:
    `AdfDhtmlTogglePeer.GetButtonElement()`

### GetNewValueFromEvent

`protected Object GetNewValueFromEvent(Object componentEvent)`
  Override to extract the new value from the AdfDisclosureEvent
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlTogglePeer.GetNewValueFromEvent(Object)`

### InitSubclass

`protected static Object InitSubclass()`
  Registers component property change handlers for diclosure event
  Return:
    `Object`
  Overrides:
    `AdfDhtmlTogglePeer.InitSubclass(Object)`

### queueDisclosureEvent

`public AdfDisclosureEvent queueDisclosureEvent(boolean isExpanded,
boolean partial,
?AdfUIShowDetail disclosureCounterpart)`
  Comvenience function for queueing a disclosure event for this peer's component.
  Parameters:

    `isExpanded` | - | true if the new disclosed state is true, false othewise
    `partial` | - | true if the even uses partial submit, false otherwise
    `disclosureCounterpart` | - | An optional counterpart component used by components that change the disclosure state of 2 components at the same time. If this component is provided and if isExpanded is set to false, the isExpanded being set to false will not be sent to the server and instead a new AdfDisclosureEvent will be kicked off on the client for the showOneCounterPart component being set to true.

  Return:
    `AdfDisclosureEvent` - event queued

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.