OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlSubformPeer

public class AdfDhtmlSubformPeer
extends AdfRichUIPeer



Field Summary


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
AdfDhtmlSubformPeer()


Method Summary

public Object
componentRemoved(Object component)
Called by the framework to allow a peer to clean up its references to a component that it was previously initialized with because the component is being removed.
public Object
getComponentParent(Object component)
Override to use the DOM hierarchy to determine our parent component.
public static AdfUIComponent
getDefaultCommandSubform(String sourceId)
Find a subform with a defaultCommand starting with a source id.
public Object
initialize(Object component)
Initializes a peer instance about to be returned by AdfDhtmlLookAndFeel.getPeer() Non-framework code should never need to call this method
protected static Object
InitSubclass()
public Object
visitChildren(Object component, Object callback, Object context, Object ignoreHidden)
Visits all of the children components of the component.


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, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, DispatchComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, getComponent, GetComponent, GetComponentId, 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, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, InitDomElement, 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


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

ApplyDragSourceState, ClearDragSourceState


Field Detail


Constructor Detail


AdfDhtmlSubformPeer

public AdfDhtmlSubformPeer()

Method Detail


componentRemoved

public Object componentRemoved(Object component)

Called by the framework to allow a peer to clean up its references to a component that it was previously initialized with because the component is being removed.

Subclasses wishing to perform work when a peer's component is removed should override ComponentRemoved. When overriding, subclasses should call superclass.componentRemoved(component) as the last step in their override.


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

getComponentParent

public Object getComponentParent(Object component)

Override to use the DOM hierarchy to determine our parent component. Since the client component hierarchy is sparse, the component returned by this method may not be the same as the parent component on the server, but it will be one of the server component's ancestors or null.

Parameters:
component    
Return:
Object
Overrides:
AdfRichUIPeer.getComponentParent(AdfUIComponent)

getDefaultCommandSubform

public static AdfUIComponent getDefaultCommandSubform(String sourceId)

Find a subform with a defaultCommand starting with a source id.

Parameters:
sourceId  -  id of the dom element to start subform search with
Return:
AdfUIComponent - closest enclosing subform with a defaultCommand set

initialize

public Object initialize(Object component)

Initializes a peer instance about to be returned by AdfDhtmlLookAndFeel.getPeer() Non-framework code should never need to call this method

Parameters:
component    
Return:
Object
Overrides:
AdfRichUIPeer.initialize(AdfUIComponent)

InitSubclass

protected static Object InitSubclass()

Return:
Object

visitChildren

public Object visitChildren(Object component,
                            Object callback,
                            Object context,
                            Object ignoreHidden)

Visits all of the children components of the component. A callback function will be invoked with one argument - a component - and must return one of three values. If it returns the number zero (or false), iteration will continue. If it returns the number one (or true), iteration will not continue into the children. If it returns the number two, iteration will entirely halt. Iteration proceeds depth first, but calling the parents before the children
Please note that you do take a performance hit for using ignoreHidden.

Parameters:
component    
callback    
context    
ignoreHidden    
Return:
Object
Overrides:
AdfRichUIPeer.visitChildren(AdfUIComponent, Function, Object, Boolean)

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.