OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.screenReader
Class AdfDhtmlTreeTablePeer

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.screenReader.AdfDhtmlTableBasePeer
                     |
                     +--oracle.adfinternal.view.js.laf.dhtml.screenReader.AdfDhtmlTablePeer
                           |
                           +--oracle.adfinternal.view.js.laf.dhtml.screenReader.AdfDhtmlTreeTablePeer
Direct Known Subclasses:
AdfDhtmlTreePeer

public class AdfDhtmlTreeTablePeer
extends AdfDhtmlTablePeer
This is the treeTable component peer class in screen reader mode.



Field Summary

private static Object
_DISCLOSURE_ICON_ID
private static Object
_DISCOSURE_IMAGE_ATTR
private static Object
_FIRST_VISIBLE_KEY
private static Object
_IS_COLLAPSED
private static Object
_IS_EXPANDED
private static Object
_IS_LEAF
private static Object
_NODE_STAMP_COLUMN
private static Object
_SUB_ID_MAP
treeTable component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.
public static Object
TREE_FLAGS_ATTR
private static Object
_VISIBLE_ROWS_KEY


Fields inherited from oracle.adfinternal.view.js.laf.dhtml.screenReader.AdfDhtmlTableBasePeer

DETAIL_STAMP_DIALOG_ID, SELECT_ID, SELECTALL_KEY_PROPERTY


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
AdfDhtmlTreeTablePeer()
This is the treeTable component peer class in screen reader mode.


Method Summary

private Object
_clearCurrency()
protected Object
Component_afrFstVblChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
Component_afrVblRwsChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
ComponentDisclosedRowKeysChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected 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.
protected Object
ContextMenuClosed(Object componentEvent, Object popup)
protected Object
ContextMenuOpened(Object componentEvent, Object popup)
public Object
discloseAll(Object rowKey, Object expand)
Object
__getCurrency()
public Object
getDepth(Object rowKey)
Get the depth (indentation level) of a node by rowKey
private Object
_getDisclosureImageFromRowKey(Object rowKey)
protected Object
GetFirst()
private Object
_getIconDisclosureAttribute(Object cell)
private Object
_getNodeStampCell(Object row)
public Object
getNodeStampColumn()
protected Object
GetRows()
protected Object
GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.
private Object
_getTreeUtils()
public Object
goUp()
protected Object
HandleComponentClick(Object componentEvent)
Handle row selection change and select all
protected Object
HandleComponentKeyDown(Object componentEvent)
protected Object
HandleDisclosure(Object target)
Handle a change in disclosure.
protected Object
HandleRowContextMenu(Object domEvent, Object rowKey, Object row, Object alignElement, Object alignHint)
public Object
hasPathStamp()
Determines if the tree has a pathStamp facet
protected Object
InitDomElement(Object component, Object domElement)
Initialize the associated domElement when the peer is created.
protected static Object
InitSubclass()
private Object
_isDisclosure(Object target)
public Object
isLeaf(Object rowKey)
Given a rowKey, determines if a node is a leaf node
public Object
isMultiRoot()
Determines if the tree is multi-rooted
public Object
isSelectorIconVisible()
Determines if the hierarchical selector icon is shown
private Object
_saveCurrency(Object currency)
protected Object
SetFirst(Object first)
protected Object
SetRows(Object rows)
public Object
showAsTop(Object rowKey)


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.screenReader.AdfDhtmlTableBasePeer

canDeliverSelectionEvent, ChildVisibilityChanged, closeDetailStampDialogOnOK, ComponentFirstChanged, ComponentSelectedRowKeysChanged, FindRowByKey, GetAssociatedComponent, GetPanelCollectionPeer, __getParentColumn, GetRowKeyAndRow, getRowKeyForEvent, __getScrollPos, __getSelectedColumns, __getSortOrderForColumn, GetViewPort, __getVisibleLeafColumns, HandleComponentDialog, HandleComponentMouseDown, HandleComponentPopupClosed, HandleDomChange, __isColumnSelectionEnabled, IsContextMenuSelect, isDisclosureFetchPending, isHeightAutoSized, __isMultipleColumnSelect, __isMultipleRowSelect, __isRowSelectionEnabled, needsChildVisibilityChanges, needsResizeNotify, ProcessPushData, QueueRangeChangeEvent, ReplaceDomElement, ResizeNotify, SetCursor, SupportsFocusRowNavigation, __updateStandardPCMenuToolbarItems


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, bind, BindToComponent, cancelAllPopups, cancelPopup, 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, 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, needsFocusTargetStyleClass, PopupClosed, processPushData, registerKeyStroke, replaceDomElement, 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


_DISCLOSURE_ICON_ID

private static Object _DISCLOSURE_ICON_ID

_DISCOSURE_IMAGE_ATTR

private static Object _DISCOSURE_IMAGE_ATTR

_FIRST_VISIBLE_KEY

private static Object _FIRST_VISIBLE_KEY

_IS_COLLAPSED

private static Object _IS_COLLAPSED

_IS_EXPANDED

private static Object _IS_EXPANDED

_IS_LEAF

private static Object _IS_LEAF

_NODE_STAMP_COLUMN

private static Object _NODE_STAMP_COLUMN

_SUB_ID_MAP

private static Object _SUB_ID_MAP

treeTable component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [disclosureID --> di] - tree node disclosure icon {External indexing example --> Internal indexing example} getSelenium().mouseDown("rich=dmoTpl:tree#[1][3]disclosureID") -->

TREE_FLAGS_ATTR

public static Object TREE_FLAGS_ATTR

_VISIBLE_ROWS_KEY

private static Object _VISIBLE_ROWS_KEY

Constructor Detail


AdfDhtmlTreeTablePeer

public AdfDhtmlTreeTablePeer()

This is the treeTable component peer class in screen reader mode.

Method Detail


_clearCurrency

private Object _clearCurrency()

Return:
Object

Component_afrFstVblChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

Component_afrVblRwsChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

ComponentDisclosedRowKeysChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.ComponentDisclosedRowKeysChanged(Object, Object, Object, Object)

ComponentRemoved

protected 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)

ContextMenuClosed

protected Object ContextMenuClosed(Object componentEvent,
                                   Object popup)

Parameters:
componentEvent    
popup    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.ContextMenuClosed(Object, Object)

ContextMenuOpened

protected Object ContextMenuOpened(Object componentEvent,
                                   Object popup)

Parameters:
componentEvent    
popup    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.ContextMenuOpened(Object, Object)

discloseAll

public Object discloseAll(Object rowKey,
                          Object expand)

Parameters:
rowKey    
expand    
Return:
Object

__getCurrency

Object __getCurrency()

Return:
Object

getDepth

public Object getDepth(Object rowKey)

Get the depth (indentation level) of a node by rowKey

Parameters:
rowKey    
Return:
Object

_getDisclosureImageFromRowKey

private Object _getDisclosureImageFromRowKey(Object rowKey)

Parameters:
rowKey    
Return:
Object

GetFirst

protected Object GetFirst()

Return:
Object
Overrides:
AdfDhtmlTableBasePeer.GetFirst()

_getIconDisclosureAttribute

private Object _getIconDisclosureAttribute(Object cell)

Parameters:
cell    
Return:
Object

_getNodeStampCell

private Object _getNodeStampCell(Object row)

Parameters:
row    
Return:
Object

getNodeStampColumn

public Object getNodeStampColumn()

Return:
Object

GetRows

protected Object GetRows()

Return:
Object
Overrides:
AdfDhtmlTableBasePeer.GetRows()

GetSubIdDomElement

protected Object GetSubIdDomElement(Object subElementId)

Returns the DOM element identified by the passed in subId. For tree/TreeTable, the subId can include path information for a specific node. For example the following subId finds the disclosure icon DOM element for the 4th child of the 2nd root node: [1][3]disclosureID.

Parameters:
subElementId    
Return:
Object - the DOM element
Overrides:
AdfRichUIPeer.getSubIdDomElement(Object, Object)

_getTreeUtils

private Object _getTreeUtils()

Return:
Object

goUp

public Object goUp()

Return:
Object

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Handle row selection change and select all

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.HandleComponentClick(Object)

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.HandleComponentKeyDown(Object)

HandleDisclosure

protected Object HandleDisclosure(Object target)

Handle a change in disclosure.

Parameters:
target  -  the event target
Return:
Object

HandleRowContextMenu

protected Object HandleRowContextMenu(Object domEvent,
                                      Object rowKey,
                                      Object row,
                                      Object alignElement,
                                      Object alignHint)

Parameters:
domEvent    
rowKey    
row    
alignElement    
alignHint    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.HandleRowContextMenu(Object, Object, Object, Object, Object)

hasPathStamp

public Object hasPathStamp()

Determines if the tree has a pathStamp facet

Return:
Object

InitDomElement

protected Object InitDomElement(Object component,
                                Object domElement)

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

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

InitSubclass

protected static Object InitSubclass()

Return:
Object
Overrides:
AdfDhtmlTableBasePeer.InitSubclass()

_isDisclosure

private Object _isDisclosure(Object target)

Parameters:
target    
Return:
Object

isLeaf

public Object isLeaf(Object rowKey)

Given a rowKey, determines if a node is a leaf node

Parameters:
rowKey    
Return:
Object

isMultiRoot

public Object isMultiRoot()

Determines if the tree is multi-rooted

Return:
Object

isSelectorIconVisible

public Object isSelectorIconVisible()

Determines if the hierarchical selector icon is shown

Return:
Object

_saveCurrency

private Object _saveCurrency(Object currency)

Parameters:
currency    
Return:
Object

SetFirst

protected Object SetFirst(Object first)

Parameters:
first    
Return:
Object
Overrides:
AdfDhtmlTableBasePeer.SetFirst(Object)

SetRows

protected Object SetRows(Object rows)

Parameters:
rows    
Return:
Object

showAsTop

public Object showAsTop(Object rowKey)

Parameters:
rowKey    
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.