OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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
Direct Known Subclasses:
AdfDhtmlShowDetailItemPeer, AdfDhtmlShowDetailPeer

public class AdfDhtmlShowDisclosurePeer
extends AdfRichUIPeer
Base class for show detail peers, similar in spirit to ShowDisclosureRenderer



Field Summary


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

addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_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
AdfDhtmlShowDisclosurePeer()
Base class for show detail peers, similar in spirit to ShowDisclosureRenderer


Method Summary

protected Object
ComponentDisclosedChanged(Object component, Object domElement, Object newValue, Object oldValue)
Handle component disclosure property change.
protected static Object
InitSubclass()
Registers component poperty change handlers for diclosure event
public Object
queueDisclosureEvent(Boolean isExpanded, Boolean partial, AdfUIShowDetail disclosureCounterpart)
Comvenience function for queueing a disclosure event for this peer's component.


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, 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, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, InitDomElement, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, 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.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


Constructor Detail


AdfDhtmlShowDisclosurePeer

public AdfDhtmlShowDisclosurePeer()

Base class for show detail peers, similar in spirit to ShowDisclosureRenderer

Method Detail


ComponentDisclosedChanged

protected Object ComponentDisclosedChanged(Object component,
                                           Object domElement,
                                           Object newValue,
                                           Object oldValue)

Handle component disclosure property change. Queues a disclosure event.

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

InitSubclass

protected static Object InitSubclass()

Registers component poperty change handlers for diclosure event

Return:
Object

queueDisclosureEvent

public Object 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:
Object

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

 

Generated on 2009.09.25 03:44 UTC
Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.