OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlPanelBoxPeer
Direct Known Subclasses:
AdfDhtmlRegionPeer

public class AdfDhtmlPanelBoxPeer
extends AdfRichUIPeer



Field Summary

private Object
_checkAnimateDisclosure
private static Object
_DRAG_RECOGNIZER
private Object
_getMappedSubIdDomElement
private static Object
_SUB_ID_MAP
panelBox 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_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
AdfDhtmlPanelBoxPeer()


Method Summary

public Object
animateUndisclosure(Object component, Object event)
protected Object
BindToComponent(AdfUIComponent component, HTMLElement rootElement)
Binds the component to this peer instance.
private Object
_checkAnimateDisclosure(Object component)
Check to see if animation of the disclosure is needed and do so
protected Object
ComponentRemoved(Object component)
Clean up the peer because it's component is being removed.
public Object
getAnimationDurationKey()
public Object
getDefaultDragRecognizer(Object component)
Override to use our special DragRecognizer
protected Object
GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.
private static Object
_handleAfterDiscloseAnimate(Object params)
private static Object
_handleAfterUndiscloseAnimate(Object params)
protected Object
HandleClientSideDisclosure(Boolean disclosed)
Client side optimized disclosure function
private Object
_handleClientSideDisclosure(Object disclosed)
protected Object
HandleComponentClick(Object componentEvent)
Handles component-level clicks
protected Object
HandleComponentKeyUp(AdfUIInputEvent componentEvent)
Handles component-level key ups.
protected Object
InitDomElement(Object component, Object rootElement)
Initialize the associated domElement when the peer is created.
protected static Object
InitSubclass()
Registers component on click handler


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, 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, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


Methods inherited from oracle.adf.view.js.base.AdfUIPeer

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


_checkAnimateDisclosure

private Object _checkAnimateDisclosure

_DRAG_RECOGNIZER

private static Object _DRAG_RECOGNIZER

Overrides:
AdfUIPeer._DRAG_RECOGNIZER

_getMappedSubIdDomElement

private Object _getMappedSubIdDomElement

_SUB_ID_MAP

private static Object _SUB_ID_MAP

panelBox component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [disclosure_icon --> _afrDscl] - the disclosure icon 2. [content --> content] - panelBox content 3. [title] - the title (mapped programmatically) Note that "title" does not have a corresponding ID to map to. Instead it is determined programmatically in AdfDhtmlPanelBoxPeer.GetSubIdDomElement().

Constructor Detail


AdfDhtmlPanelBoxPeer

public AdfDhtmlPanelBoxPeer()

Method Detail


animateUndisclosure

public Object animateUndisclosure(Object component,
                                  Object event)

Parameters:
component    
event    
Return:
Object

BindToComponent

protected Object BindToComponent(AdfUIComponent component,
                                 HTMLElement rootElement)

Binds the component to this peer instance.

Parameters:
component  -  the component to bind
rootElement  -  the root DOM element of this peer
Return:
Object
Overrides:
AdfRichUIPeer.BindToComponent(Object, Object)

_checkAnimateDisclosure

private Object _checkAnimateDisclosure(Object component)

Check to see if animation of the disclosure is needed and do so

Parameters:
component    
Return:
Object

ComponentRemoved

protected Object ComponentRemoved(Object component)

Clean up the peer because it's component is being removed.

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.componentRemoved(AdfUIComponent)

getAnimationDurationKey

public Object getAnimationDurationKey()

Return:
Object

getDefaultDragRecognizer

public Object getDefaultDragRecognizer(Object component)

Override to use our special DragRecognizer

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.getDefaultDragRecognizer(AdfUIComponent)

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)

_handleAfterDiscloseAnimate

private static Object _handleAfterDiscloseAnimate(Object params)

Parameters:
params    
Return:
Object

_handleAfterUndiscloseAnimate

private static Object _handleAfterUndiscloseAnimate(Object params)

Parameters:
params    
Return:
Object

HandleClientSideDisclosure

protected Object HandleClientSideDisclosure(Boolean disclosed)

Client side optimized disclosure function

Parameters:
disclosed  -  true if the new state is disclosed
Return:
Object

_handleClientSideDisclosure

private Object _handleClientSideDisclosure(Object disclosed)

Parameters:
disclosed    
Return:
Object

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Handles component-level clicks

Parameters:
componentEvent    
Return:
Object

HandleComponentKeyUp

protected Object HandleComponentKeyUp(AdfUIInputEvent componentEvent)

Handles component-level key ups.

Parameters:
componentEvent  -  the key up component event
Return:
Object

InitDomElement

protected Object InitDomElement(Object component,
                                Object rootElement)

Initialize the associated domElement when the peer is created. Stateless peers are not bound at the time that this method is called.

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

InitSubclass

protected static Object InitSubclass()

Registers component on click handler

Return:
Object

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

 

Generated on 2012.03.28 02:21 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.