OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.rich.desktop
Class AdfDhtmlTablePeer

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

public class AdfDhtmlTablePeer
extends AdfDhtmlTableBasePeer



Field Summary

private static Object
_COLUMN_BANDED_DATA_CELL_CLASS
private static Object
_COLUMN_DATA_CELL_CLASS
private static Object
_SUB_ID_MAP
table component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.


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

AUTO_PPR_FETCH_ID, AUTO_PPR_INSERT_AFTER_BLOCK, AUTO_PPR_INSERT_BEFORE_BLOCK, AUTO_PPR_REMOVE_BLOCK, AUTO_PPR_UPDATE_BLOCK, DW_SUB_ID, MISSING_AFTER, MISSING_BEFORE, NEEDS_REFRESH_ATTRIBUTE, NO_BLOCKS, NO_RESIZE_MARKER, NO_SCROLL, RERENDER_CELL, RERENDER_CONTAINER, RERENDER_CONTAINER_CHILDREN, RERENDER_ROW, RERENDER_SELF, SCROLL_CANCELLED, SCROLL_INDEX_NOT_FOUND, SCROLL_SUCCEEDED, SELECTALL_KEY_PROPERTY, UNDO_FETCH_ATTRIBUTE, VIEWPORT_SATISFIED


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

addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, CreateSubId, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS, SELECTED_STYLECLASS


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlTablePeer()


Method Summary

protected Object
GetBestMatchSubId(Object domElement)
Returns the best match subId for the given domElement.
Object
__getColumnResizeMargin()
protected Object
GetSubIdDomElement(Object subElementId)
Returns the DOM element identified by the passed in subId.
protected Object
HandleComponentMouseOut(Object componentEvent)
protected Object
HandleComponentMouseOver(Object componentEvent)
protected static Object
InitSubclass()
Registers component on click handler
protected Object
SetCursorToText(Object document, Object target, Object tagName)


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

AdjustAutoHeight, AllowCellNavigation, applyDragReadyStateForRowKeys, applyDragSourceStateForRowKeys, ApplyTooltipTitle, AutoPPRBlockReceived, BeginHandleDataBlocks, BlockDeleted, BlockInserted, BusyAnimating, CancelPendingFetch, canDeliverSelectionEvent, ChildVisibilityChanged, ClearDragReadyState, ClearDragSourceState, CollapseAnimationComplete, ComponentActiveRowKeyChanged, ComponentDisclosedRowKeysChanged, ComponentFirstChanged, ComponentRemoved, ComponentRowsChanged, ComponentScrollLeftChanged, ComponentScrollTopChanged, ComponentSelectedRowKeysChanged, ContextMenuClosed, ContextMenuOpened, ConvertClientIdToLocator, convertLocatorToClientId, DeleteBlock, DescendantMessageChanged, DisplayStatus, DomReplaceNotify, FetchCompleted, FindCellByIndex, FindFirstChildByTagName, FindRowByKey, GetAssociatedComponent, getClientRowCount, getClientStartRowIndex, GetDataBody, getDragNodeForRowKeys, getDragOffsetForRowKeys, GetFirst, GetFirstVisibleRowKeyAndRow, GetFocusedRowKey, GetFocusManager, GetKeyboardContextMenuAlignHint, GetKnownRowCount, GetLastRowKey, GetPanelCollectionComponent, GetPanelCollectionPeer, GetRowContextMenuId, GetRowCount, GetRowHeaderCellFromRow, getRowIndex, getRowKey, getRowKeyAndOrientationFromHints, GetRowKeyAndRow, getRowKeyBounds, getRowKeyForEvent, GetRows, GetScroller, GetTemplateRow, HandleAutoPPRRemove, HandleClickToEditActiveRow, HandleCollapse, HandleComponentBlur, HandleComponentClick, HandleComponentCollapseEvent, HandleComponentContextMenu, HandleComponentDblClick, HandleComponentExpandEvent, HandleComponentFocus, HandleComponentKeyDown, HandleComponentKeyUp, HandleComponentMouseDown, HandleComponentMouseUp, HandleComponentValueChange, HandleDomKeyDown, HandleDomMouseMove, HandleDomScroll, HandleExpand, HandleHeaderlessFocus, handleNavFromAssociatedPeer, handleNavToAssociatedPeer, HandleRowContextMenu, HandleTableBodyArrowLeftRight, InitDomElement, InsertActiveRow, InsertBlock, InsertClonedComponents, InsertClonedRow, isDisclosureFetchPending, isDragAvailable, IsFetchPending, isHeightAutoSized, IsInsertAllowed, IsNodeStampCell, IsReceivingActiveEvents, MaxOfRerender, needsChildVisibilityChanges, needsResizeNotify, ProcessPushData, QueueRangeChangeEvent, RegisterFirstPropertyChange, RemoveActiveRow, RemoveAllBlocks, RemoveTwinkleTimer, ReplaceDomElement, resizeColumn, ResizeNotify, ResolveContextMenuAlignElement, scrollColumnIntoView, scrollToPos, scrollToRowIndex, SetAnimating, setBusy, SetCursor, SetFirst, SetNewBlockScrollLeft, SetRows, setSelectedRowKeysWithoutEvent, ShiftIndex, showDragFeedback, simulateSelectRows, SizeDataBody, SupportsFocusRowNavigation, suppressSelectionEventDelivery, TruncateClientId, UpdateActiveRow, UpdateFocusManager, UpdateRange


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, BindToComponent, cancelAllPopups, cancelPopup, clearDragReadyState, clearDragSourceState, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, 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, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, InitClass, initialize, isActive, isBusy, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsFocusTargetStyleClass, PopupClosed, processPushData, registerKeyStroke, replaceDomElement, resizeNotify, scrollIntoView, ScrollIntoView, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


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

getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible


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

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


_COLUMN_BANDED_DATA_CELL_CLASS

private static Object _COLUMN_BANDED_DATA_CELL_CLASS

_COLUMN_DATA_CELL_CLASS

private static Object _COLUMN_DATA_CELL_CLASS

_SUB_ID_MAP

private static Object _SUB_ID_MAP

table component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [disclosureID --> di] - table show detail disclosure icon {External indexing example --> Internal indexing example} getElementText("rich=dmoTpl:table[2]:ot4"); -->

Constructor Detail


AdfDhtmlTablePeer

public AdfDhtmlTablePeer()

Method Detail


GetBestMatchSubId

protected Object GetBestMatchSubId(Object domElement)

Returns the best match subId for the given domElement. This can be enhanced further to return programmatically determined subIds. WARNING - You must make sure to bind the component to the peer before calling this function.

Parameters:
domElement    
Return:
Object
See also:
AdfRichUIPeer.GetSubIdDomElement(Object)
Overrides:
AdfRichUIPeer.GetBestMatchSubId(Object)

__getColumnResizeMargin

Object __getColumnResizeMargin()

Return:
Object
Overrides:
AdfDhtmlTableBasePeer.__getColumnResizeMargin()

GetSubIdDomElement

protected Object GetSubIdDomElement(Object subElementId)

Returns the DOM element identified by the passed in subId. For table, the subId can include index information for a specific row. For example the following subId finds the disclosure icon DOM element for the 4th row: [3]disclosureID.

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

HandleComponentMouseOut

protected Object HandleComponentMouseOut(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseOver

protected Object HandleComponentMouseOver(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

InitSubclass

protected static Object InitSubclass()

Registers component on click handler

Return:
Object
Overrides:
AdfDhtmlTableBasePeer.InitSubclass()

SetCursorToText

protected Object SetCursorToText(Object document,
                                 Object target,
                                 Object tagName)

Parameters:
document    
target    
tagName    
Return:
Object

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

 

Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.