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.laf.rich.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 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_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlPanelBoxPeer()


Method Summary

public Object
animateUndisclosure(Object component, Object event)
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
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, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, 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, 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.laf.rich.AdfUIPeer

ApplyDragSourceState, ClearDragSourceState


Field Detail


_DRAG_RECOGNIZER

private static Object _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

getDefaultDragRecognizer

public Object getDefaultDragRecognizer(Object component)

Override to use our special DragRecognizer

Parameters:
component    
Return:
Object

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

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