OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

public class AdfDhtmlTablePeer
extends AdfRichUIPeer



Field Summary

private Object
_activeDataCount
private Object
_associatedId
private static Object
_AUTO_HEIGHT_ROWS
private Object
_autoHeightRows
private static Object
_AUTOSCROLL_MARGIN
private Object
_cellNavMode
private static Object
_COL_COUNT
private Object
_colCount
private static Object
_COLLAPSED_NODE_KEY
private Object
_colResizeDragCallback
private Object
_colResizeDropCallback
private static Object
_COLUMN_HEADER_FOCUS_TYPE
public static Object
COLUMN_RESIZE_MARGIN
private Object
_contextMenuSelect
private static Object
_DETAIL_COLUMN_MARKER
private static Object
_DETAIL_ROW_MARKER
private static Object
_DROP_TARGET_CLASS
public static Object
DW_SUB_ID
private static Object
_EDIT_MODE_CLICKTOEDIT
private static Object
_EXPANDED_NODE_KEY
private static Object
_FETCH_MORE_CANVAS_SPACE
private Object
_fetchId
private static Object
_FILTER_COLUMN
private static Object
_FILTERABLE
private static Object
_FOCUS_RH_ARROW_DOWN
private static Object
_FOCUS_RH_ARROW_UP
private static Object
_FOCUS_ROW_ARROW_DOWN
private static Object
_FOCUS_ROW_ARROW_UP
private static Object
_FOCUSED_CLASS
private Object
_focusManager
private static Object
_HAS_DETAIL_MARKER
private static Object
_HIGHLIGHTED_CLASS
private Object
_hoverHighlightRow
private static Object
_HSCROLLER
private static Object
_ICON_COLLAPSED
private static Object
_ICON_EXPANDED
private static Object
_ICON_STYLE_COLLAPSED
private static Object
_ICON_STYLE_EXPANDED
private static Object
_INACTIVE_CLASS
private static Object
_INPUT_REGEXP
private Object
_lastColWidth
private Object
_lastColWidthOverride
private static Object
_LEAF_COLUMN
private static Object
_MAXIMUM_ROW_REVEAL
public static Object
MISSING_AFTER
public static Object
MISSING_BEFORE
public static Object
NEEDS_REFRESH_ATTRIBUTE
public static Object
NO_BLOCKS
public static Object
NO_RESIZE_MARKER
private static Object
_PANEL_COLLECTION_ID
private static Object
_ROOT_COLUMN
private static Object
_ROW_HEADER
private static Object
_ROW_HEADER_FOCUS_TYPE
private static Object
_ROW_KEY
private static Object
_SEL_UPDATE_ALL_SELECT
private static Object
_SEL_UPDATE_ALL_UNSELECT
private static Object
_SEL_UPDATE_ALL_UPDATE
private static Object
_SELECT_ALL
private static Object
_SELECT_ALL_FOCUS_TYPE
private static Object
_SELECT_ARROW_DOWN
private static Object
_SELECT_ARROW_UP
private static Object
_SELECT_PAGE_DOWN
private static Object
_SELECT_PAGE_UP
public static Object
SELECTALL_KEY_PROPERTY
private static Object
_SELECTED_CLASS
private static Object
_SELECTION_MULTIPLE
private static Object
_SELECTION_MULTIPLE_NOSELECTALL
private static Object
_SELECTION_NONE
private static Object
_SELECTION_SINGLE
private static Object
_SORT_ASCENDING
private static Object
_SORT_DESCENDING
 static Object
__SORT_INDICATOR
private static Object
_SORTED_ASCENDING
private static Object
_SORTED_DESCENDING
private static Object
_SORTED_TYPE
private Object
_streamingDisabled
private static Object
_SUPPORTS_HOVER
private Object
_supportsFocusRowNavigation
private static Object
_TABLE_BODY_FOCUS_TYPE
private static Object
_TWINKLE_OFF_STYLE_CLASS
private static Object
_TWINKLE_ON_STYLE_CLASS
private Object
_unavailableRowIndex
public static Object
UNDO_FETCH_ATTRIBUTE
public static Object
VIEWPORT_SATISFIED
private static Object
_VSCROLLER


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

addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_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
AdfDhtmlTablePeer()


Method Summary

private Object
_addAbove(Object databody, Object viewportHeight, Object delay, Object isScroll)
private Object
_addBelow(Object databody, Object viewportHeight, Object delay, Object isScroll)
private Object
_adjustCanvasHeight(Object canvasDelta, Object databody, Object checkScrollbars, Object adjustScrollPos)
private Object
_adjustReorderColumnFooterWidths(Object colIndex, Object lastFrozen, Object width)
Adjust the width of the column footer due to columns being shown/hidden during column reordering
private Object
_adjustReorderColumnHeaderWidths(Object headerTable, Object nestedDiv, Object colIndex, Object lastFrozen, Object width)
Adjust the width of the column header due to columns being shown/hidden during column reordering
private Object
_adjustReorderDataBodyNonFrozenCol(Object width)
For webkit adjust the col in colgroup corresponding to the non frozen section in all the blocks
private Object
_adjustReorderInnerTableWidth(Object innerTable, Object width)
Adjust the inner table for the body cells when column is being hidden/shown during reordering
private Object
_adjustReorderNonFrozenCol(Object table, Object width)
For webkit adjust the col in colgroup corresponding to the non frozen section in a block
private Object
_adjustRowCountFromResponse(Object databody, Object node, Object rowsInBlock, Object blockHeight)
private Object
_allRowsAvailableOnClient(Object blockList, Object numBlocks)
Determine if all rows are available locally on the client
private Object
_applyActiveDataUpdate(Object tr, Object colIndex, Object property, Object value)
private Object
_applyBufferedADSEvents(Object adsCounter, Object oldEvents)
private Object
_autoScrollColumnsIfNecessary(Object evt)
private Object
_autoScrollRows(Object evt)
protected Object
BeginHandleDataBlocks()
Overridable hook for subclasses.
protected Object
BlockDeleted()
protected Object
BlockInserted(Object block, Object startRow, Object numRows)
protected Object
BusyAnimating()
protected Object
CancelPendingFetch()
public Object
canDeliverSelectionEvent()
private Object
_changeDetailIcon(Object tr, Object expanded)
private Object
_checkEnd(Object databody)
private Object
_checkStart(Object databody)
protected Object
ChildVisibilityChanged(Object childComponent, Object childDomElement, Object childVisible)
Override to PPR the component when a column is hidden
private Object
_cleanUpAdsNode(Object info)
For internal use only.
private Object
_cleanUpAfterColumnReorder()
private static Object
_clearHighlightedRowKey(Object component)
private Object
_clickToEditActivateRow(Object curRowKey, Object isNext, Object cellIndex)
private Object
_cloneCellForDrag(Object dragCell)
private Object
_cloneWithSelectedOption(Object originalNode, Object deepFlag)
protected static Object
CollapseAnimationComplete(Object callbackObj)
Callback invoke after the collapse of a table/treeTable/tree nodes animation is complete
private Object
_collectClientTokens(Object cacheType)
private static Object
_columnReorderAnimationComplete(Object peer)
Method call back when the column reoder animation is done
protected Object
ComponentDisclosedRowKeysChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
ComponentRemoved(AdfUIComponent component)
Handles the removal of a component.
protected Object
ComponentScrollLeftChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
ComponentScrollTopChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
ComponentSelectedRowKeysChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
ContextMenuClosed(Object componentEvent, Object popup)
private Object
_contextMenuClosed(Object componentEvent)
protected Object
ContextMenuOpened(Object componentEvent, Object popup)
private Object
_contextMenuOpened(Object componentEvent)
protected Object
ConvertClientIdToLocator(Object component, Object childComponent, Object descComponentClientId, Object replaceArray)
Function to replace client id fragments when converting a clientId to an absolute locator.
public String
convertLocatorToClientId(Object component, Object rowIndex)
Function to replace client id fragments when converting an absolute locator to clientId.
private Object
_createAndInitializeColumnFooterScroller(Object container, Object outerWidth, Object outerHeight, Object canvasHeight, Object frWidth, Object firstBlock)
private Object
_createAndInitializeScroller(Object container, Object outerWidth, Object outerHeight, Object canvasHeight, Object frWidth, Object firstBlock)
This returns an array of two scrollers for tables with column footer
private Object
_createReorderColumnLayerBody(Object dropColDiv, Object colTable, Object reorderIndex, Object colSpan)
Create the body cells for the column reorder tracker and hide the reorder column body cells
private Object
_createReorderColumnLayerHeader(Object dropColDiv, Object reorderIndex, Object colSpan)
Create the header for the column reorder tracker and hide the reorder header cells
private Object
_createReorderTracker()
Create the tracker that is dragged by the mouse on a column reorder.
private Object
_delayedNavigate(Object scrollTop, Object subtype, Object index, Object key, Object renderOnly)
protected Object
DeleteBlock(Object startRow, Object numRows, Object totalRows, Object remainingBlocks, Object deletedElems)
private Object
_deleteOffscreenBlocks(Object databody, Object viewportHeight)
private Object
_dismissTargetPopupsOnArrowNav(Object domElement)
protected Object
DisplayStatus(Object text, Object center)
private Object
_doBlurTimeout()
private Object
_doColResizesFromUser(Number newWidth, String oldWidth)
Resizes the selected column(s) as requested from a user drag-resize or from a panelCollection, manually specified new size.
private Object
_doColumnSelections(Object ctrlKey, Object shiftKey, Object metaKey, Object indices, Object ids)
This is for selecting column groups
private Object
_doDisclosureAnimation(Object cellToAnimate, Object animDuration, Object expanded)
private Object
_doFocusTimeout()
protected Object
DomReplaceNotify(Object domNode)
Notifies the peer that some DOM corresponding to a child (or descendent) has been replaced.
private Object
_doResizeColumn(Object displayIndex, Object th, Object newWidth, Object delta, Object persist)
private Object
_doRowHeaderDrag(Object evt, Object rowKey)
private Object
_doRowSelection(Object ctrlKey, Object shiftKey, Object metaKey, Object rowKey, Object row)
private Object
_endRowHeaderDrag(Object event, Object deltaX, Object deltaY)
protected Object
FetchCompleted()
Method invoked after the fetch has been completed
private Object
_fillViewPort(Object databody, Object viewportHeight, Object delay, Object isScroll)
protected Object
FindCellByIndex(Object row, Object index)
private Object
_findColGroupColumn(Object element, Object delta)
protected static Object
FindFirstChildByTagName(Object parent, Object name)
private static Object
_findFirstLevelChildrenByTagName(Object parent, Object name)
protected Object
FindRowByKey(Object key)
Returns the row and the index associated with the rowKey in the dom structure
private Object
_fixOuterHeight()
Sets CSS height property if the component was auto-sized initially
Object
__fixPanelCollectionDimensions()
private Object
_forceRelayoutDataBody()
Hack to force a relayout of the data body cells
private Object
_getActiveMessageBuffer()
private Object
_getActiveRowKey()
protected Object
GetActiveUpdateNode(Object td)
protected Object
GetAssociatedComponent()
private Object
_getBlockFirstRowKey(Object block)
private Object
_getBlockLastRowKey(Object block)
private static Object
_getBlockRowCount(Object block)
private Object
_getCellAndIndexForNode(Object node, Object tr)
private static Object
_getChildBySubId(Object parent, Object sub)
private Object
_getColHeaderMouseSelAction(Object domEvent, Object action, Object th)
private Object
_getColReorderAnimationDuration()
private Number
_getColumnActualWidth(Number columnDisplayIndex, HTMLElement firstRow)
Gets the number of pixels that the specified column is actually consuming (whether or not the column's width is flexible.
private Number
_getColumnFlex(AdfRichColumn column, String width, String columnStretching, Number leafColumnCount, Number iterationIndex)
Gets the flex for the specified column or null if the column is not flexible.
private Object
_getColumnFooter()
private Object
_getColumnHeader()
private Object
_getColumnHeaderCellForEvent(Object domEvent)
private Object
_getColumnHeaderFooterSizingCell(Object displayIndex, Object parentDiv, Object tableId, Object div2Id, Object table2Id)
private Object
_getColumnHeaderLeafCell(Object displayIndex)
private Object
_getColumnHeaderMouseAction(Object domEvent)
private Object
_getColumnResizeIndicator()
protected Object
GetDatabody(Object rootDomElement)
private Object
_getDisclosureIcon(Object element)
Returns the override disclosure image, if one is found.
public HTMLElement
getDragNodeForRowKeys(Array rowKeys)
Given an array of rowkeys stamped by this peer, returns the Node to use for dragging
public Object
getDragOffsetForRowKeys(AdfUIInputEvent inputEvent, Array rowKeys)
Given an array of rowkeys stamped by this peer, and the inputEvent for drag returns the offset within the drag object
private Object
_getElemBySubId(Object sub, Object rootDomElement)
Gets an element belonging to this peer based on the root DOM element.
private Object
_getExpandAction(Object target)
private Object
_getFirstInputElementInNode(Object agent, Object node)
private Object
_getFirstRowKey()
protected Object
GetFirstVisibleRowKeyAndRow(Object margin)
Returns the rowkey of the first visible row in the databody.
protected Object
GetFocusedRowKey()
protected Object
GetFocusManager()
Selection Logic (Row and Column)
private Object
_getInnerTableCell(Object row, Object index)
private Object
_getInputElementsInNode(Object node)
protected Object
GetKeyboardContextMenuAlignHint()
Hook for subclasses to align the context menu
protected Object
GetKnownRowCount()
private Object
_getLargestMinimumWidth()
protected Object
GetLastRowKey()
Returns the last selected row key, trying focused row key first, then last selected row key
private Object
_getLastRowKey()
private Object
_getLastVisibleRowKeyAndRow()
Returns the rowkey of the last visible row in the databody.
private static Object
_getNestedScrolledTable(Object row)
private Object
_getNextColumnHeaderFocusElement()
Step through column headers.
private Object
_getNextRowKeyAndRow(Object selectedRowKey)
Returns the rowkey and the row after the selected row.
private HTMLElement
_getOnlyTextNode(HTMLElement domNode)
Detects if a particular dom node has only one text node inside it
protected Object
GetPanelCollectionComponent()
Returns the reference to the instance of the panel collection component
protected Object
GetPanelCollectionPeer(Object domNode)
Returns the reference to the instance of the panel collection peer
AdfRichColumn
__getParentColumn(AdfRichColumn column)
Returns the parent column of a particular column in the table.
private Object
_getParentTH(Object domEvent)
Column Resizing
Number
__getPixelWidthFromPercent(Number percentWidth)
Retrieves the current column pixel width from a given column percent width.
private Object
_getPrevColumnHeaderFocusElement()
private Object
_getPreviousRowKeyAndRow(Object selectedRowKey)
Returns the rowkey and the row before the selected row.
private Object
_getResizedCellInfo(Object headerAction)
private Object
_getRowContextMenuAndContainer(Object rowKey)
protected Object
GetRowContextMenuId(Object rowKey)
Returns the id of the popup used to display the row context menu
protected Object
GetRowCount()
protected Object
GetRowHeaderCellFromRow(Object row)
public Number
getRowIndex(String rowKey)
Returns the index of a row identified by rowKey.
public String
getRowKey(Number index)
Returns the rowKey to identify a row based on its index.
private Object
_getRowKeyAndOrientationForPosition(Object pageX, Object pageY, Object hints)
Given a location in page coordinates inside this Peer, return the rowKey, if any, that is stamped within those bounds.
public Object
getRowKeyAndOrientationFromHints(Number pageX, Number pageY, Object hints)
Given a location in page coordinates inside this Peer, return the rowKey, if any, that is stamped within those bounds.
protected Object
GetRowKeyAndRow(Object domElement, Object rootDomElement)
Returns the row key attribute and the row from a dom element.
public Object
getRowKeyBounds(String rowKey)
Given a rowKey in this Peer, return the bounds of the rowKey's visualization
public String
getRowKeyForEvent(AdfUIInputEvent inputEvent)
Given a IUInputEvent, return the rowKey.
private Object
_getScrollbarHeight()
private Object
_getScrollbarWidth()
protected Object
GetScroller()
private Object
_getScrollerClientWidth()
private Object
_getScrollerOffsetHeight()
private Object
_getScrollerOffsetWidth()
private Object
_getScrollHeight()
private Object
_getScrollLeft()
Object
__getScrollPos()
Returns the scroll position of the table
private Object
_getScrollTop()
private Object
_getScrollWidth()
Object
__getSelectedColumns()
Returns a list of selected columns in the table
private Object
_getSiblingDomNode(Object domElement, Object next)
static Object
__getSortOrderForColumn(Object id)
private Object
_getStatusMessage()
private Object
_getTargetRowHeader(Object node, Object rootDomElement)
private Object
_getUnavailableRowIndex(Object elem)
As a result of a data fetch, the server can send a special div which includes information about the row index for which the model returned false from the isRowAvailable API.
Object
__getVisibleLeafColumns()
Returns an array of visible column components in the table
private Object
_grabFocus()
Focus handling
private Object
_handleArrow(Object keyCode, Object event)
private Object
_handleArrowKeyNav(Object keyCode, Object eventTarget, Object event)
private Object
_handleArrowKeyNavLeftRight(Object keyCode, Object row, Object eventTarget, Object cellIndex)
private Object
_handleBodyContextMenu(Object domEvent)
protected Object
HandleClickToEditActiveRow(Object node, Object size, Object remainingBlocks)
private Object
_handleClickToEditActiveRowAfter()
protected Object
HandleCollapse(Object node, Object start, Object remainingBlocks)
private Object
_handleColReorderAbort()
private Object
_handleColReorderDrag(Object event, Object deltaX, Object deltaY)
Callback for the drag operation during reordering
private Object
_handleColReorderDrop(Object event, Object deltaX, Object deltaY)
Callback for the drop operation after reordering
private Object
_handleColResizeDrag(Object domEvent, Object deltaX, Object deltaY)
private Object
_handleColResizeDrop(Object domEvent, Object delatX, Object deltaY)
private Object
_handleColumnContextMenu(Object domEvent, Object alignElement)
Context Menu
private Object
_handleColumnHeaderArrow(Object keyCode, Object event)
private Object
_handleColumnHeaderDrag(Object domEvent, Object deltaX, Object deltaY)
private Object
_handleColumnHeaderDrop(Object domEvent, Object deltaX, Object deltaY)
protected Object
HandleComponentBlur(Object componentEvent)
protected Object
HandleComponentClick(Object componentEvent)
protected Object
HandleComponentCollapseEvent(Object collapsedItems)
protected Object
HandleComponentContextMenu(Object componentEvent)
protected Object
HandleComponentDblClick(Object componentEvent)
protected Object
HandleComponentExpandEvent(Object collapsedItems)
protected Object
HandleComponentFocus(Object componentEvent)
keyboard handling
protected Object
HandleComponentKeyDown(Object componentEvent)
protected Object
HandleComponentKeyUp(Object componentEvent)
protected Object
HandleComponentMouseDown(Object componentEvent)
protected Object
HandleComponentMouseOut(Object componentEvent)
protected Object
HandleComponentMouseOver(Object componentEvent)
protected Object
HandleComponentMouseUp(Object componentEvent)
private Object
_handleCtrlShiftEnd(Object domEvent)
private Object
_handleDataBodyScroll()
private Object
_handleDataBodySelectStart(Object evt)
private Object
_handleDataCallback(Object node, Object pendingFetch, Object pendingRenderOnly, Object remainingBlocks)
protected Object
HandleDomKeyDown(Object component, Object domEvent)
protected Object
HandleDomMouseMove(Object component, Object domEvent)
Event Handlers
protected Object
HandleDomScroll(Object component, Object domEvent)
private Object
_handleEnterKey(Object eventTarget, Object domEvent)
protected Object
HandleExpand(Object node, Object size, Object remainingBlocks)
private Object
_handleExpandCollapse(Object node, Object remainingBlocks, Object expanded)
private Object
_handleF2Key(Object domEvent)
private Object
_handleFilterCellEnterKey()
protected Object
HandleHeaderlessFocus()
Overridable hook for subclasses to handle focus for the cases where focus cannot be set on the column header
private Object
_handleHorizontalScroll(Object scrollLeft)
Scrolling and virtualization
private Object
_handleInnerTableScroll(Object evt)
private Object
_handleKeyboardContextMenu(Object event)
private Object
_handleKeyboardSort(Object sortType)
Sort the column which currently has focus
private Object
_handleLongJump(Object databody, Object viewportHeight, Object delay, Object isScroll)
private static Object
_handleMouseWheel(Object evt)
private Object
_handlePageDown(Object altKey, Object ctrlKey, Object shiftKey)
private Object
_handlePageUp(Object altKey, Object ctrlKey, Object shiftKey)
private Object
_handleRowClick(Object evt, Object rowKey, Object row)
protected Object
HandleRowContextMenu(Object domEvent, Object rowKey, Object row, Object alignElement, Object alignHint)
private Object
_handleRowHeaderArrow(Object keyCode, Object event)
private Object
_handleRowHeaderDrag(Object event, Object deltaX, Object deltaY)
private Object
_handleRowMouseDown(Object evt, Object rowKey, Object row)
private Object
_handleSelectAllArrow(Object keyCode, Object event)
private Object
_handleSpaceKey(Object keyCode, Object event)
private Object
_handleTabKey(Object target, Object domEvent)
protected Object
HandleTableBodyArrowLeftRight(Object arrowLeft, Object ctrlKey, Object shiftKey)
private Object
_handleTableBodyArrowUpDown(Object arrowUp, Object ctrlKey, Object shiftKey)
private Object
_handleTouchMovement(Number deltaX, Number deltaY)
Handler invoked by an AdfTouchMoveManager when the user performs a dual touch movement on the data body.
private Object
_handleVerticalScroll(Object scrollTop)
private Object
_hideColumnSortableIndicator(Object agent, Object th)
private Object
_hideDragColumnFooter(Object reorderIndex, Object colSpan)
Column Reordering
private Object
_hideReorderColGroupCols(Object table, Object reorderIndex, Object lastFrozen, Object colSpan)
Hide the cols in the colgroup when the reorder column is being hidden intially
private Object
_hideStatus()
private Object
_highlightCell(Object cell, Object isTableActive)
private Object
_highlightColumn(Object index)
private Object
_hScrollPage(Object scrollRight)
private Object
_incrementWidth(Object element, Object delta)
private Object
_indexOfDomElement(Object domArr, Object elem)
private Object
_initColumnFooter()
private Object
_initColumnHeader()
protected Object
InitDomElement(Object component, Object domElement)
Initialize the associated domElement when the peer is created.
private Object
_initNewBlock(Object node, Object start, Object size)
private Object
_initScrollLeftTop(Object scroller, Object currentScrollTop)
protected static Object
InitSubclass()
Registers component on click handler
private Object
_initVirtualization(Object firstBlock, Object alreadyInserted)
protected Object
InsertActiveRow(Object message, Object type)
protected Object
InsertBlock(Object newBlock, Object start, Object size, Object totalInserted, Object remainingBlocks)
private Object
_insertEmptyDropColGroupCol(Object table, Object targetIndex, Object targetColSpan, Object insertAfter, Object lastFrozen, Object reorderColWidth, Object emptyDropCells)
For webkit insert a col inside its colgroup at the new proposed drop column location
private Object
_insertEmptyDropColumn(Object evt)
Insert an empty drop column indicating where the dropped column will be displayed after a drop
private Object
_insertEmptyDropColumnBody(Object targetIndex, Object targetColSpan)
create the empty drop column body indicating where the dropped column will be displayed after a drop
private Object
_insertEmptyDropColumnFooter(Object targetIndex, Object targetColSpan)
create the empty drop column footer indicating where the dropped column will be displayed after a drop
private Object
_insertEmptyDropColumnHeader(Object targetReorderTH, Object targetIndex, Object targetColSpan, Object innerTable, Object innerDiv)
create the empty drop column header indicating where the dropped column will be displayed after a drop
private Boolean
_isCellTruncated(HTMLElement domNode)
Detects if the content of a cell truncated.
private Object
_isClickToEdit()
Click To Edit functionality
private Object
_isColumnSelectionEnabled()
private Object
_isContainerStretched()
public Object
isDisclosureFetchPending()
protected Object
IsFetchPending()
private Object
_isFilterable()
Query By example Support
public Object
isHeightAutoSized()
private Object
_isImmediateContentDelivery(Object component)
private Object
_isInlineDataAvailable(Object component)
protected Object
IsInsertAllowed(Object insertAt)
private Object
_isMultipleColumnSelect()
private Object
_isMultipleRowSelect()
private Object
_isMultipleRowSelectNoSelectAll()
protected Boolean
IsNodeStampCell(HTMLElement cell)
Tests whether the specified element is a node stamp cell.
private Object
_isOwnComponentEvent(Object componentEvent)
Determines whether the component event belongs to this table/tree (as opposed to a child table/tree displayed in a popup or otherwise)
private Object
_isPCContainerStretched()
protected Object
IsReceivingActiveEvents()
private Object
_isRowSelectionEnabled(Object component)
private static Object
_isRTL()
private Object
_isTargetCellEditable(Object node)
private Object
_isTargetCellFilter(Object node)
private Object
_isViewportSatisfied(Object databody, Object viewportHeight)
private Object
_markAsActive(HTMLElement node, Object rowKey, Object colIndex)
Sets up an Active Data parent node for visual indication that it is updated.
public Object
needsChildVisibilityChanges(Object component)
The AdfDhtmlTablePeer cares about child visibility changes in order to redraw when columns are hidden/shown
public Object
needsResizeNotify(Object component)
Tests whether the peer requires resize notification.
private Object
_normalSelectionUpdate(Object selType, Object clearHighlightedRowKey, Object selState)
selType :
private Object
_positionColumnReorderTracker(Object evt)
private static Object
_positionInnerTable(Object block, Object scrollLeft)
private Object
_processActiveMessage(Object message)
private Object
_processClickToEditActivateRequest()
Process a request to activate a row after scrolling.
private Object
_processClickToEditRequest(Object selectRow)
Process the click-to-edit request after the PPR of the active row/cell
private Object
_processColumnReorderAction(Object domEvent)
protected Boolean
ProcessPushData(String payload, Number changeCount)
Called by the Active Data Service to deliver push data to the peer.
private Object
_processSelectionRequest()
private Object
_queueCollapseFetchEvent()
private Object
_queueColumnReorderEvent()
Queues an event to the server for column reordering so that we can ppr the table and update the server with the new column sequence
private Object
_queueExpandFetchEvent()
private Object
_queueFetchEvent(Object renderOnly, Object subtype, Object index, Object key)
static Object
__queueSortEvent(AdfUITable table, Object properties, Object orders)
Queues the sort event for the table component
private Object
_registerInnerScrollCallback(Object block)
protected Object
RemoveActiveRow(Object message)
protected Object
RemoveAllBlocks(Object databody)
private Object
_removeEmptyDropColumn(Object innerTable, Object innerDiv)
Remove the previously created empty drop column indicating where the dropped column will be displayed after a drop
protected Object
RemoveTwinkleTimer(Object node)
private Object
_reorderColumnComponentsWithAnimation(Object animDuration)
private Object
_reorderColumnComponentsWithoutAnimation()
private Object
_reorderColumnThroughKeyboard(Object isLeftArrow)
protected Object
ReplaceDomElement(HTMLElement newElement, HTMLElement oldElement)
Replaces the a dom element contained in this peer.
private Object
_replaceRowByKey(Object rowKey, Object newRow)
private Object
_repositionBlocksForScroll(Object databody)
private Object
_resetActiveMessageBuffer()
private Object
_resetRow(Object tr)
private Object
_resizeBlockColumn(HTMLElement block, Number displayIndex, Number delta)
Stretches a specific column for the newly fetched data block.
public Object
resizeColumn(Object colComponent, Object value, Object oldWidth)
This function will be invoked as a result of a user interacting with the column resize dialog of the panelCollection component.
private Object
_resizeColumnHeaderFooterColumn(Object th, Object delta, Object colHeader, Object displayIndex, Object tableId, Object div2Id, Object table2Id)
private Object
_resizeDatabodyColumn(Object databody, Object displayIndex, Object delta)
protected Object
ResizeNotify(Object oldWidth, Object oldHeight, Object newWidth, Object newHeight)
Called to notify the peer of resize activity.
private Object
_resolveBotttomMostChildColumn(Object th)
private Object
_resolveColumns(Object colIndices, Object colIds, Object th)
Resolves a mouse click event to column indexes.
protected Object
ResolveContextMenuAlignElement(Object row)
Hook for subclasses to align the context menu
private Object
_resolveImmediateChildColumn(Object th)
private Object
_resolveImmediateParentColumn(Object th)
private Object
_resolveRightMostSiblingInGroup(Object parent, Object child)
private Object
_restoreActiveRowKey()
private static Object
_restoreEditableValueOnEsc(Object inputDOM)
private Object
_restoreSavedDisclosureState()
private Object
_restoreScrollPosition()
private static Object
_restoreSelectedItemOnArrowNav(Object params)
private Object
_saveClickToEditRequest(Object evt, Object tr)
Process the click-to-edit request after the PPR of the active row
private static Object
_scrollColumnFooter(Object div, Object scrollLeft)
private static Object
_scrollColumnHeader(Object div, Object scrollLeft)
public Object
scrollColumnIntoView(String columnId, HTMLElement column)
Horizontally Scrolls the table to display a particular column as the first column in the table.
private Object
_scrollerScrollToPos(Object x, Object y)
public Object
scrollToPos(Object scrollLeft, Object scrollTop, Object skipUpdate)
Scrolls the table peer to a particular position.
private Object
_selectAllSelectionUpdate(Object selType, Object clearHighlightedRowKey, Object selState)
When the select all is on our rowkeys are inverse selType :
private Object
_selectColumn(Object index, Object col)
private Object
_selectColumnRange(Object indicesStart, Object idsStart, Object indicesEnd, Object idsEnd)
private Object
_selectInputOnMouseUp(Object targetNode)
private Object
_selectRowRange(Object rowKeyStart, Object rowKeyEnd)
Select a range of rows from rowKeyStart to rowKeyEnd.
private Object
_selHighlightRow(Object row)
private Object
_selIsOnlySelection(Object rowKey)
private Object
_selIsSelected(Object rowKey)
private Object
_selSelectAll()
private Object
_selSelectRow(Object rowKey, Object row, Object skipUpdate)
private Object
_selUnhighlightRow(Object row)
private Object
_selUnselectAll()
private Object
_selUnselectRow(Object rowKey, Object row)
private Object
_selUpdateAll(Object selType, Object clearHighlightedRowKey, Object rowKeys)
selType :
private Object
_setActiveRowKey(Object rowKey)
protected Object
SetAnimating(Object animating)
protected static Object
SetCursor(Object elem, Object cur)
private Object
_setFakeCanvasHeight(Object height)
private Object
_setFakeCanvasWidth(Object width)
scroller related methods
protected Object
SetFirst(Object first)
Overridable method to set first visible row
private Object
_setFirstColumnHeaderFocus(Object selectAllOnly, Object skipUnclip)
private Object
_setFocusOnEditableElementInNode(Object agent, Object node)
private Object
_setFocusOnEditableRowCell(Object curRowKey, Object isNext, Object cellIndex)
private Object
_setInputElementCursorAtEndInNode(Object agent, Object node)
private Object
_setNewBlockScrollLeft(Object node)
protected Object
SetRows(Object rows)
Overridable method to set visible rows
private Object
_setScrollerHeight(Object outerHeight, Object chHeight, Object cfHeight)
private Object
_setScrollerTop(Object top)
private Object
_setScrollerWidth(Object outerWidth, Object frozenWidth)
private Object
_setScrollLeft(Object scrollLeft)
private Object
_setScrollTop(Object scrollTop)
protected Object
ShiftIndex(Object fromBlock, Object delta, Object down)
private Object
_shiftSelectColumnsThroughKeyboard(Object th)
private Object
_shouldEnableColumnReorder(Object domEvent, Object th)
private Object
_showColumnResizeIndicator(Object resizedTH, Object displayIndex)
public Object
showDragFeedback(AdfDnDContext dndContext, String rowKey, Object userAction, String lastValidRowKey, Number pageX, Number pageY, Boolean dragExit)
Shows feedback for the given drop target rowkey
private Object
_sizeBlockForFrozenColumns(Object block, Object databodyWidth)
protected Object
SizeDatabody(Object databody, Object outerWidth, Object outerHeight)
private Object
_sizeRegionsForFrozenColumns(Object databody, Object databodyWidth)
private Object
_startFetch(Object subtype, Object index, Object key, Object delay, Object renderOnly)
private Object
_stretchLastBlockColumn(Object block)
Stretches the columns for the newly fetched data block.
private Object
_stretchTheColumns(Number iterationCount)
Stretches the stetchable columns of the table.
protected Object
SupportsFocusRowNavigation()
public Object
suppressSelectionEventDelivery(Object freeze)
private Object
_syncDataBodyHeights()
When there are master/slave component present, this will synchronize the heights of the master/slave when one of them shows a horizontal scrollbar and the other does not.
private Object
_synchronizeColumnRowHeights(Object hDiv, Object table1Id, Object div2Id, Object table2Id)
private Object
_synchronizeRowHeights(Object block)
protected Object
TruncateClientId(Object component, Object descendantComponent, Object childClientId, Object skipArray)
Remove the first id fragment after the table id when creating absolute scoped ids
private Object
_unclipColumnElement(Object elem)
private Object
_unclipInputElem(Object elem)
private Object
_unclipRow(Object row)
Scrolls the table if the row element at the given row key is clipped by the edge of the viewport so that the row is no longer clipped.
private Object
_undoScroll()
private Object
_unHighlightCell(Object cell)
private Object
_unHighlightColumn(Object index)
private Object
_unhiglightAnyExistingHighlightedRow()
protected Object
UnregisterNode(Object node)
private Object
_unSelectAllColumns()
private Object
_unSelectColumn(Object index, Object col)
protected Object
UpdateActiveRow(Object message, Object tr)
private Object
_updateColumnSelection(Object isSelect)
private Object
_updateComponentDisclosureState(Object block)
private Object
_updateComponentSelectionState(Object block)
private Object
_updateFocusCellStyle(Object hasFocus)
protected Object
UpdateFocusManager(Object objectType, Object currency, Object domElement)
private Object
_updateInitialARK(Object block)
private Object
_updatePCState()
protected Object
UpdateRange()
private Object
_updateTableSelectionState(Object state)


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, BindToComponent, cancelAllPopups, cancelPopup, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, DispatchComponentEvent, 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, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, PopupClosed, processPushData, registerKeyStroke, replaceDomElement, resizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


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

getDefaultDragRecognizer, getParentPeer, initiateDrag, isVisible


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

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


Field Detail


_activeDataCount

private Object _activeDataCount

_associatedId

private Object _associatedId

_AUTO_HEIGHT_ROWS

private static Object _AUTO_HEIGHT_ROWS

_autoHeightRows

private Object _autoHeightRows

_AUTOSCROLL_MARGIN

private static Object _AUTOSCROLL_MARGIN

_cellNavMode

private Object _cellNavMode

_COL_COUNT

private static Object _COL_COUNT

_colCount

private Object _colCount

_COLLAPSED_NODE_KEY

private static Object _COLLAPSED_NODE_KEY

_colResizeDragCallback

private Object _colResizeDragCallback

_colResizeDropCallback

private Object _colResizeDropCallback

_COLUMN_HEADER_FOCUS_TYPE

private static Object _COLUMN_HEADER_FOCUS_TYPE

COLUMN_RESIZE_MARGIN

public static Object COLUMN_RESIZE_MARGIN

_contextMenuSelect

private Object _contextMenuSelect

_DETAIL_COLUMN_MARKER

private static Object _DETAIL_COLUMN_MARKER

_DETAIL_ROW_MARKER

private static Object _DETAIL_ROW_MARKER

_DROP_TARGET_CLASS

private static Object _DROP_TARGET_CLASS

DW_SUB_ID

public static Object DW_SUB_ID

_EDIT_MODE_CLICKTOEDIT

private static Object _EDIT_MODE_CLICKTOEDIT

_EXPANDED_NODE_KEY

private static Object _EXPANDED_NODE_KEY

_FETCH_MORE_CANVAS_SPACE

private static Object _FETCH_MORE_CANVAS_SPACE

_fetchId

private Object _fetchId

_FILTER_COLUMN

private static Object _FILTER_COLUMN

_FILTERABLE

private static Object _FILTERABLE

_FOCUS_RH_ARROW_DOWN

private static Object _FOCUS_RH_ARROW_DOWN

_FOCUS_RH_ARROW_UP

private static Object _FOCUS_RH_ARROW_UP

_FOCUS_ROW_ARROW_DOWN

private static Object _FOCUS_ROW_ARROW_DOWN

_FOCUS_ROW_ARROW_UP

private static Object _FOCUS_ROW_ARROW_UP

_FOCUSED_CLASS

private static Object _FOCUSED_CLASS

_focusManager

private Object _focusManager

_HAS_DETAIL_MARKER

private static Object _HAS_DETAIL_MARKER

_HIGHLIGHTED_CLASS

private static Object _HIGHLIGHTED_CLASS

_hoverHighlightRow

private Object _hoverHighlightRow

_HSCROLLER

private static Object _HSCROLLER

_ICON_COLLAPSED

private static Object _ICON_COLLAPSED

_ICON_EXPANDED

private static Object _ICON_EXPANDED

_ICON_STYLE_COLLAPSED

private static Object _ICON_STYLE_COLLAPSED

_ICON_STYLE_EXPANDED

private static Object _ICON_STYLE_EXPANDED

_INACTIVE_CLASS

private static Object _INACTIVE_CLASS

_INPUT_REGEXP

private static Object _INPUT_REGEXP

_lastColWidth

private Object _lastColWidth

_lastColWidthOverride

private Object _lastColWidthOverride

_LEAF_COLUMN

private static Object _LEAF_COLUMN

_MAXIMUM_ROW_REVEAL

private static Object _MAXIMUM_ROW_REVEAL

MISSING_AFTER

public static Object MISSING_AFTER

MISSING_BEFORE

public static Object MISSING_BEFORE

NEEDS_REFRESH_ATTRIBUTE

public static Object NEEDS_REFRESH_ATTRIBUTE

NO_BLOCKS

public static Object NO_BLOCKS

NO_RESIZE_MARKER

public static Object NO_RESIZE_MARKER

_PANEL_COLLECTION_ID

private static Object _PANEL_COLLECTION_ID

_ROOT_COLUMN

private static Object _ROOT_COLUMN

_ROW_HEADER

private static Object _ROW_HEADER

_ROW_HEADER_FOCUS_TYPE

private static Object _ROW_HEADER_FOCUS_TYPE

_ROW_KEY

private static Object _ROW_KEY

_SEL_UPDATE_ALL_SELECT

private static Object _SEL_UPDATE_ALL_SELECT

_SEL_UPDATE_ALL_UNSELECT

private static Object _SEL_UPDATE_ALL_UNSELECT

_SEL_UPDATE_ALL_UPDATE

private static Object _SEL_UPDATE_ALL_UPDATE

_SELECT_ALL

private static Object _SELECT_ALL

_SELECT_ALL_FOCUS_TYPE

private static Object _SELECT_ALL_FOCUS_TYPE

_SELECT_ARROW_DOWN

private static Object _SELECT_ARROW_DOWN

_SELECT_ARROW_UP

private static Object _SELECT_ARROW_UP

_SELECT_PAGE_DOWN

private static Object _SELECT_PAGE_DOWN

_SELECT_PAGE_UP

private static Object _SELECT_PAGE_UP

SELECTALL_KEY_PROPERTY

public static Object SELECTALL_KEY_PROPERTY

_SELECTED_CLASS

private static Object _SELECTED_CLASS

_SELECTION_MULTIPLE

private static Object _SELECTION_MULTIPLE

_SELECTION_MULTIPLE_NOSELECTALL

private static Object _SELECTION_MULTIPLE_NOSELECTALL

_SELECTION_NONE

private static Object _SELECTION_NONE

_SELECTION_SINGLE

private static Object _SELECTION_SINGLE

_SORT_ASCENDING

private static Object _SORT_ASCENDING

_SORT_DESCENDING

private static Object _SORT_DESCENDING

__SORT_INDICATOR

static Object __SORT_INDICATOR

_SORTED_ASCENDING

private static Object _SORTED_ASCENDING

_SORTED_DESCENDING

private static Object _SORTED_DESCENDING

_SORTED_TYPE

private static Object _SORTED_TYPE

_streamingDisabled

private Object _streamingDisabled

_SUPPORTS_HOVER

private static Object _SUPPORTS_HOVER

_supportsFocusRowNavigation

private Object _supportsFocusRowNavigation

_TABLE_BODY_FOCUS_TYPE

private static Object _TABLE_BODY_FOCUS_TYPE

_TWINKLE_OFF_STYLE_CLASS

private static Object _TWINKLE_OFF_STYLE_CLASS

_TWINKLE_ON_STYLE_CLASS

private static Object _TWINKLE_ON_STYLE_CLASS

_unavailableRowIndex

private Object _unavailableRowIndex

UNDO_FETCH_ATTRIBUTE

public static Object UNDO_FETCH_ATTRIBUTE

VIEWPORT_SATISFIED

public static Object VIEWPORT_SATISFIED

_VSCROLLER

private static Object _VSCROLLER

Constructor Detail


AdfDhtmlTablePeer

public AdfDhtmlTablePeer()

Method Detail


_addAbove

private Object _addAbove(Object databody,
                         Object viewportHeight,
                         Object delay,
                         Object isScroll)

Parameters:
databody    
viewportHeight    
delay    
isScroll    
Return:
Object

_addBelow

private Object _addBelow(Object databody,
                         Object viewportHeight,
                         Object delay,
                         Object isScroll)

Parameters:
databody    
viewportHeight    
delay    
isScroll    
Return:
Object

_adjustCanvasHeight

private Object _adjustCanvasHeight(Object canvasDelta,
                                   Object databody,
                                   Object checkScrollbars,
                                   Object adjustScrollPos)

Parameters:
canvasDelta    
databody    
checkScrollbars    
adjustScrollPos    
Return:
Object

_adjustReorderColumnFooterWidths

private Object _adjustReorderColumnFooterWidths(Object colIndex,
                                                Object lastFrozen,
                                                Object width)

Adjust the width of the column footer due to columns being shown/hidden during column reordering

Parameters:
colIndex    
lastFrozen    
width    
Return:
Object

_adjustReorderColumnHeaderWidths

private Object _adjustReorderColumnHeaderWidths(Object headerTable,
                                                Object nestedDiv,
                                                Object colIndex,
                                                Object lastFrozen,
                                                Object width)

Adjust the width of the column header due to columns being shown/hidden during column reordering

Parameters:
headerTable    
nestedDiv    
colIndex    
lastFrozen    
width    
Return:
Object

_adjustReorderDataBodyNonFrozenCol

private Object _adjustReorderDataBodyNonFrozenCol(Object width)

For webkit adjust the col in colgroup corresponding to the non frozen section in all the blocks

Parameters:
width    
Return:
Object

_adjustReorderInnerTableWidth

private Object _adjustReorderInnerTableWidth(Object innerTable,
                                             Object width)

Adjust the inner table for the body cells when column is being hidden/shown during reordering

Parameters:
innerTable    
width    
Return:
Object

_adjustReorderNonFrozenCol

private Object _adjustReorderNonFrozenCol(Object table,
                                          Object width)

For webkit adjust the col in colgroup corresponding to the non frozen section in a block

Parameters:
table    
width    
Return:
Object

_adjustRowCountFromResponse

private Object _adjustRowCountFromResponse(Object databody,
                                           Object node,
                                           Object rowsInBlock,
                                           Object blockHeight)

Parameters:
databody    
node    
rowsInBlock    
blockHeight    
Return:
Object

_allRowsAvailableOnClient

private Object _allRowsAvailableOnClient(Object blockList,
                                         Object numBlocks)

Determine if all rows are available locally on the client

Parameters:
blockList    
numBlocks    
Return:
Object

_applyActiveDataUpdate

private Object _applyActiveDataUpdate(Object tr,
                                      Object colIndex,
                                      Object property,
                                      Object value)

Parameters:
tr    
colIndex    
property    
value    
Return:
Object

_applyBufferedADSEvents

private Object _applyBufferedADSEvents(Object adsCounter,
                                       Object oldEvents)

Parameters:
adsCounter    
oldEvents    
Return:
Object

_autoScrollColumnsIfNecessary

private Object _autoScrollColumnsIfNecessary(Object evt)

Parameters:
evt    
Return:
Object

_autoScrollRows

private Object _autoScrollRows(Object evt)

Parameters:
evt    
Return:
Object

BeginHandleDataBlocks

protected Object BeginHandleDataBlocks()

Overridable hook for subclasses. This is called before any new data blocks from the server are handled

Return:
Object

BlockDeleted

protected Object BlockDeleted()

Return:
Object

BlockInserted

protected Object BlockInserted(Object block,
                               Object startRow,
                               Object numRows)

Parameters:
block    
startRow    
numRows    
Return:
Object

BusyAnimating

protected Object BusyAnimating()

Return:
Object

CancelPendingFetch

protected Object CancelPendingFetch()

Return:
Object

canDeliverSelectionEvent

public Object canDeliverSelectionEvent()

Return:
Object

_changeDetailIcon

private Object _changeDetailIcon(Object tr,
                                 Object expanded)

Parameters:
tr    
expanded    
Return:
Object

_checkEnd

private Object _checkEnd(Object databody)

Parameters:
databody    
Return:
Object

_checkStart

private Object _checkStart(Object databody)

Parameters:
databody    
Return:
Object

ChildVisibilityChanged

protected Object ChildVisibilityChanged(Object childComponent,
                                        Object childDomElement,
                                        Object childVisible)

Override to PPR the component when a column is hidden

Parameters:
childComponent    
childDomElement    
childVisible    
Return:
Object
Overrides:
AdfRichUIPeer.ChildVisibilityChanged(Object, Object, Object)

_cleanUpAdsNode

private Object _cleanUpAdsNode(Object info)

For internal use only. Called by ADS clean up timer.

Parameters:
info    
Return:
Object

_cleanUpAfterColumnReorder

private Object _cleanUpAfterColumnReorder()

Return:
Object

_clearHighlightedRowKey

private static Object _clearHighlightedRowKey(Object component)

Parameters:
component    
Return:
Object

_clickToEditActivateRow

private Object _clickToEditActivateRow(Object curRowKey,
                                       Object isNext,
                                       Object cellIndex)

Parameters:
curRowKey    
isNext    
cellIndex    
Return:
Object

_cloneCellForDrag

private Object _cloneCellForDrag(Object dragCell)

Parameters:
dragCell    
Return:
Object

_cloneWithSelectedOption

private Object _cloneWithSelectedOption(Object originalNode,
                                        Object deepFlag)

Parameters:
originalNode    
deepFlag    
Return:
Object

CollapseAnimationComplete

protected static Object CollapseAnimationComplete(Object callbackObj)

Callback invoke after the collapse of a table/treeTable/tree nodes animation is complete

Parameters:
callbackObj    
Return:
Object

_collectClientTokens

private Object _collectClientTokens(Object cacheType)

Parameters:
cacheType    
Return:
Object

_columnReorderAnimationComplete

private static Object _columnReorderAnimationComplete(Object peer)

Method call back when the column reoder animation is done

Parameters:
peer    
Return:
Object

ComponentDisclosedRowKeysChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

ComponentRemoved

protected Object ComponentRemoved(AdfUIComponent component)

Handles the removal of a component.

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

ComponentScrollLeftChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

ComponentScrollTopChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

ComponentSelectedRowKeysChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

ContextMenuClosed

protected Object ContextMenuClosed(Object componentEvent,
                                   Object popup)

Parameters:
componentEvent    
popup    
Return:
Object

_contextMenuClosed

private Object _contextMenuClosed(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

ContextMenuOpened

protected Object ContextMenuOpened(Object componentEvent,
                                   Object popup)

Parameters:
componentEvent    
popup    
Return:
Object

_contextMenuOpened

private Object _contextMenuOpened(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

ConvertClientIdToLocator

protected Object ConvertClientIdToLocator(Object component,
                                          Object childComponent,
                                          Object descComponentClientId,
                                          Object replaceArray)

Function to replace client id fragments when converting a clientId to an absolute locator. It tries to find the rowkey information for the childComponent. If rowKey exists, skip the first id fragment after the table id and append the rowIndex in the format tableId[rowIndex] else skip the first id fragment after the table id. If the component is inside the table header or footer, there is no rowKey and hence no conversion is necessary

The peer is not bound when this method is called


Parameters:
component  -  The region component for this peer
childComponent    
descComponentClientId  -  The clientId of the component that the absolute scoped id is being generated for
replaceArray  -  Array of key-value array in format [<index>, <item>] to either skip or skip and fix the parent id fragment with the item value
Return:
Object
Overrides:
AdfRichUIPeer.ConvertClientIdToLocator(Object, Object, Object, Object)

convertLocatorToClientId

public String convertLocatorToClientId(Object component,
                                       Object rowIndex)

Function to replace client id fragments when converting an absolute locator to clientId.

Parameters:
component  -  The table component for this peer
rowIndex  -  the index of the row for the component
Return:
String - the client id fragment in the below format clientId + ":" + stamped rowKey client Id fragment related to rowIndex
Overrides:
AdfUIPeer.convertLocatorToClientId(Object, Object)

_createAndInitializeColumnFooterScroller

private Object _createAndInitializeColumnFooterScroller(Object container,
                                                        Object outerWidth,
                                                        Object outerHeight,
                                                        Object canvasHeight,
                                                        Object frWidth,
                                                        Object firstBlock)

Parameters:
container    
outerWidth    
outerHeight    
canvasHeight    
frWidth    
firstBlock    
Return:
Object

_createAndInitializeScroller

private Object _createAndInitializeScroller(Object container,
                                            Object outerWidth,
                                            Object outerHeight,
                                            Object canvasHeight,
                                            Object frWidth,
                                            Object firstBlock)

This returns an array of two scrollers for tables with column footer

Parameters:
container    
outerWidth    
outerHeight    
canvasHeight    
frWidth    
firstBlock    
Return:
Object

_createReorderColumnLayerBody

private Object _createReorderColumnLayerBody(Object dropColDiv,
                                             Object colTable,
                                             Object reorderIndex,
                                             Object colSpan)

Create the body cells for the column reorder tracker and hide the reorder column body cells

Parameters:
dropColDiv    
colTable    
reorderIndex    
colSpan    
Return:
Object

_createReorderColumnLayerHeader

private Object _createReorderColumnLayerHeader(Object dropColDiv,
                                               Object reorderIndex,
                                               Object colSpan)

Create the header for the column reorder tracker and hide the reorder header cells

Parameters:
dropColDiv    
reorderIndex    
colSpan    
Return:
Object

_createReorderTracker

private Object _createReorderTracker()

Create the tracker that is dragged by the mouse on a column reorder. The tracker is esentially a clone of the column cells that are being reorderer. This method also hides the cells of the column that is being reordered.

Return:
Object

_delayedNavigate

private Object _delayedNavigate(Object scrollTop,
                                Object subtype,
                                Object index,
                                Object key,
                                Object renderOnly)

Parameters:
scrollTop    
subtype    
index    
key    
renderOnly    
Return:
Object

DeleteBlock

protected Object DeleteBlock(Object startRow,
                             Object numRows,
                             Object totalRows,
                             Object remainingBlocks,
                             Object deletedElems)

Parameters:
startRow    
numRows    
totalRows    
remainingBlocks    
deletedElems    
Return:
Object

_deleteOffscreenBlocks

private Object _deleteOffscreenBlocks(Object databody,
                                      Object viewportHeight)

Parameters:
databody    
viewportHeight    
Return:
Object

_dismissTargetPopupsOnArrowNav

private Object _dismissTargetPopupsOnArrowNav(Object domElement)

Parameters:
domElement    
Return:
Object

DisplayStatus

protected Object DisplayStatus(Object text,
                               Object center)

Parameters:
text    
center    
Return:
Object

_doBlurTimeout

private Object _doBlurTimeout()

Return:
Object

_doColResizesFromUser

private Object _doColResizesFromUser(Number newWidth,
                                     String oldWidth)

Resizes the selected column(s) as requested from a user drag-resize or from a panelCollection, manually specified new size.

Parameters:
newWidth  -  the new column size in pixels must be greater than or equal to the minimum width of all of the selected columns
oldWidth  -  the old width of the component if already changed on the component instance, null if the component itself contains the old width
Return:
Object

_doColumnSelections

private Object _doColumnSelections(Object ctrlKey,
                                   Object shiftKey,
                                   Object metaKey,
                                   Object indices,
                                   Object ids)

This is for selecting column groups

Parameters:
ctrlKey    
shiftKey    
metaKey    
indices    
ids    
Return:
Object

_doDisclosureAnimation

private Object _doDisclosureAnimation(Object cellToAnimate,
                                      Object animDuration,
                                      Object expanded)

Parameters:
cellToAnimate    
animDuration    
expanded    
Return:
Object

_doFocusTimeout

private Object _doFocusTimeout()

Return:
Object

DomReplaceNotify

protected Object DomReplaceNotify(Object domNode)

Notifies the peer that some DOM corresponding to a child (or descendent) has been replaced.

Parameters:
domNode    
Return:
Object
Overrides:
AdfRichUIPeer.domReplaceNotify(AdfUIComponent, Object)

_doResizeColumn

private Object _doResizeColumn(Object displayIndex,
                               Object th,
                               Object newWidth,
                               Object delta,
                               Object persist)

Parameters:
displayIndex    
th    
newWidth    
delta    
persist    
Return:
Object

_doRowHeaderDrag

private Object _doRowHeaderDrag(Object evt,
                                Object rowKey)

Parameters:
evt    
rowKey    
Return:
Object

_doRowSelection

private Object _doRowSelection(Object ctrlKey,
                               Object shiftKey,
                               Object metaKey,
                               Object rowKey,
                               Object row)

Parameters:
ctrlKey    
shiftKey    
metaKey    
rowKey    
row    
Return:
Object

_endRowHeaderDrag

private Object _endRowHeaderDrag(Object event,
                                 Object deltaX,
                                 Object deltaY)

Parameters:
event    
deltaX    
deltaY    
Return:
Object

FetchCompleted

protected Object FetchCompleted()

Method invoked after the fetch has been completed

Return:
Object

_fillViewPort

private Object _fillViewPort(Object databody,
                             Object viewportHeight,
                             Object delay,
                             Object isScroll)

Parameters:
databody    
viewportHeight    
delay    
isScroll    
Return:
Object

FindCellByIndex

protected Object FindCellByIndex(Object row,
                                 Object index)

Parameters:
row    
index    
Return:
Object

_findColGroupColumn

private Object _findColGroupColumn(Object element,
                                   Object delta)

Parameters:
element    
delta    
Return:
Object

FindFirstChildByTagName

protected static Object FindFirstChildByTagName(Object parent,
                                                Object name)

Parameters:
parent    
name    
Return:
Object

_findFirstLevelChildrenByTagName

private static Object _findFirstLevelChildrenByTagName(Object parent,
                                                       Object name)

Parameters:
parent    
name    
Return:
Object

FindRowByKey

protected Object FindRowByKey(Object key)

Returns the row and the index associated with the rowKey in the dom structure

Parameters:
key    
Return:
Object - an object literal with tr and index attributes if the rowkey is found else null

_fixOuterHeight

private Object _fixOuterHeight()

Sets CSS height property if the component was auto-sized initially

Return:
Object

__fixPanelCollectionDimensions

Object __fixPanelCollectionDimensions()

Return:
Object

_forceRelayoutDataBody

private Object _forceRelayoutDataBody()

Hack to force a relayout of the data body cells

Return:
Object

_getActiveMessageBuffer

private Object _getActiveMessageBuffer()

Return:
Object

_getActiveRowKey

private Object _getActiveRowKey()

Return:
Object

GetActiveUpdateNode

protected Object GetActiveUpdateNode(Object td)

Parameters:
td    
Return:
Object

GetAssociatedComponent

protected Object GetAssociatedComponent()

Return:
Object

_getBlockFirstRowKey

private Object _getBlockFirstRowKey(Object block)

Parameters:
block    
Return:
Object

_getBlockLastRowKey

private Object _getBlockLastRowKey(Object block)

Parameters:
block    
Return:
Object

_getBlockRowCount

private static Object _getBlockRowCount(Object block)

Parameters:
block    
Return:
Object

_getCellAndIndexForNode

private Object _getCellAndIndexForNode(Object node,
                                       Object tr)

Parameters:
node    
tr    
Return:
Object

_getChildBySubId

private static Object _getChildBySubId(Object parent,
                                       Object sub)

Parameters:
parent    
sub    
Return:
Object

_getColHeaderMouseSelAction

private Object _getColHeaderMouseSelAction(Object domEvent,
                                           Object action,
                                           Object th)

Parameters:
domEvent    
action    
th    
Return:
Object

_getColReorderAnimationDuration

private Object _getColReorderAnimationDuration()

Return:
Object

_getColumnActualWidth

private Number _getColumnActualWidth(Number columnDisplayIndex,
                                     HTMLElement firstRow)

Gets the number of pixels that the specified column is actually consuming (whether or not the column's width is flexible.

Parameters:
columnDisplayIndex  -  the display index of the column
firstRow  -  null if the table is empty, otherwise the first row of the databody
Return:
Number - the number of pixels that the column is consuming

_getColumnFlex

private Number _getColumnFlex(AdfRichColumn column,
                              String width,
                              String columnStretching,
                              Number leafColumnCount,
                              Number iterationIndex)

Gets the flex for the specified column or null if the column is not flexible.

Parameters:
column  -  the column component whose flex is to be retrieved or null if the width is already provided
width  -  the width to inspect for width or null if the column is provided
columnStretching  -  the columnStretching formula for this table
leafColumnCount  -  the number of leaf columns
iterationIndex  -  the column iteration index in case column headers are off which means displayIndex values are undefined and this would be the correct index
Return:
Number - the flex value or null if not applicable

_getColumnFooter

private Object _getColumnFooter()

Return:
Object

_getColumnHeader

private Object _getColumnHeader()

Return:
Object

_getColumnHeaderCellForEvent

private Object _getColumnHeaderCellForEvent(Object domEvent)

Parameters:
domEvent    
Return:
Object

_getColumnHeaderFooterSizingCell

private Object _getColumnHeaderFooterSizingCell(Object displayIndex,
                                                Object parentDiv,
                                                Object tableId,
                                                Object div2Id,
                                                Object table2Id)

Parameters:
displayIndex    
parentDiv    
tableId    
div2Id    
table2Id    
Return:
Object

_getColumnHeaderLeafCell

private Object _getColumnHeaderLeafCell(Object displayIndex)

Parameters:
displayIndex    
Return:
Object

_getColumnHeaderMouseAction

private Object _getColumnHeaderMouseAction(Object domEvent)

Parameters:
domEvent    
Return:
Object

_getColumnResizeIndicator

private Object _getColumnResizeIndicator()

Return:
Object

GetDatabody

protected Object GetDatabody(Object rootDomElement)

Parameters:
rootDomElement    
Return:
Object

_getDisclosureIcon

private Object _getDisclosureIcon(Object element)

Returns the override disclosure image, if one is found.

Parameters:
element    
Return:
Object

getDragNodeForRowKeys

public HTMLElement getDragNodeForRowKeys(Array rowKeys)

Given an array of rowkeys stamped by this peer, returns the Node to use for dragging

Parameters:
rowKeys  -  the array of rowKeys
Return:
HTMLElement - the dom element representing the dragged nodes

getDragOffsetForRowKeys

public Object getDragOffsetForRowKeys(AdfUIInputEvent inputEvent,
                                      Array rowKeys)

Given an array of rowkeys stamped by this peer, and the inputEvent for drag returns the offset within the drag object

Parameters:
inputEvent    
rowKeys  -  the array of rowKeys
Return:
Object - point with x and y coordinates

_getElemBySubId

private Object _getElemBySubId(Object sub,
                               Object rootDomElement)

Gets an element belonging to this peer based on the root DOM element.

Parameters:
sub  -  the sub ID to identify the sub element
rootDomElement    
Return:
Object - the found sub element or null if not found

_getExpandAction

private Object _getExpandAction(Object target)

Parameters:
target    
Return:
Object

_getFirstInputElementInNode

private Object _getFirstInputElementInNode(Object agent,
                                           Object node)

Parameters:
agent    
node    
Return:
Object

_getFirstRowKey

private Object _getFirstRowKey()

Return:
Object

GetFirstVisibleRowKeyAndRow

protected Object GetFirstVisibleRowKeyAndRow(Object margin)

Returns the rowkey of the first visible row in the databody. A "visible" row is one whose top or bottom edge is within the table's scroll viewport.

Parameters:
margin    
Return:
Object

GetFocusedRowKey

protected Object GetFocusedRowKey()

Return:
Object

GetFocusManager

protected Object GetFocusManager()

Selection Logic (Row and Column)

Return:
Object

_getInnerTableCell

private Object _getInnerTableCell(Object row,
                                  Object index)

Parameters:
row    
index    
Return:
Object

_getInputElementsInNode

private Object _getInputElementsInNode(Object node)

Parameters:
node    
Return:
Object

GetKeyboardContextMenuAlignHint

protected Object GetKeyboardContextMenuAlignHint()

Hook for subclasses to align the context menu

Return:
Object

GetKnownRowCount

protected Object GetKnownRowCount()

Return:
Object

_getLargestMinimumWidth

private Object _getLargestMinimumWidth()

Return:
Object

GetLastRowKey

protected Object GetLastRowKey()

Returns the last selected row key, trying focused row key first, then last selected row key

Return:
Object

_getLastRowKey

private Object _getLastRowKey()

Return:
Object

_getLastVisibleRowKeyAndRow

private Object _getLastVisibleRowKeyAndRow()

Returns the rowkey of the last visible row in the databody. A "visible" row is one whose top or bottom edge is within the table's scroll viewport.

Return:
Object

_getNestedScrolledTable

private static Object _getNestedScrolledTable(Object row)

Parameters:
row    
Return:
Object

_getNextColumnHeaderFocusElement

private Object _getNextColumnHeaderFocusElement()

Step through column headers. Takes into account column groups.

Return:
Object

_getNextRowKeyAndRow

private Object _getNextRowKeyAndRow(Object selectedRowKey)

Returns the rowkey and the row after the selected row.

Parameters:
selectedRowKey    
Return:
Object

_getOnlyTextNode

private HTMLElement _getOnlyTextNode(HTMLElement domNode)

Detects if a particular dom node has only one text node inside it

Parameters:
domNode  -  the dom element whose content is being inspected
Return:
HTMLElement - domNode the only textNode or null if none or more than one are present

GetPanelCollectionComponent

protected Object GetPanelCollectionComponent()

Returns the reference to the instance of the panel collection component

Return:
Object

GetPanelCollectionPeer

protected Object GetPanelCollectionPeer(Object domNode)

Returns the reference to the instance of the panel collection peer

Parameters:
domNode    
Return:
Object

__getParentColumn

AdfRichColumn __getParentColumn(AdfRichColumn column)

Returns the parent column of a particular column in the table.

Parameters:
column  -  column component whose parent needs retrieval
Return:
AdfRichColumn - the parent column component

_getParentTH

private Object _getParentTH(Object domEvent)

Column Resizing

Parameters:
domEvent    
Return:
Object

__getPixelWidthFromPercent

Number __getPixelWidthFromPercent(Number percentWidth)

Retrieves the current column pixel width from a given column percent width.

Parameters:
percentWidth  -  the percent width, e.g. 100 for 100%
Return:
Number - the pixel width equivalent based on the current table size
See also:
AdfDhtmlPanelCollectionPeer._handleResizeColumnOK(Object)

_getPrevColumnHeaderFocusElement

private Object _getPrevColumnHeaderFocusElement()

Return:
Object

_getPreviousRowKeyAndRow

private Object _getPreviousRowKeyAndRow(Object selectedRowKey)

Returns the rowkey and the row before the selected row.

Parameters:
selectedRowKey    
Return:
Object

_getResizedCellInfo

private Object _getResizedCellInfo(Object headerAction)

Parameters:
headerAction    
Return:
Object

_getRowContextMenuAndContainer

private Object _getRowContextMenuAndContainer(Object rowKey)

Parameters:
rowKey    
Return:
Object

GetRowContextMenuId

protected Object GetRowContextMenuId(Object rowKey)

Returns the id of the popup used to display the row context menu

Parameters:
rowKey    
Return:
Object

GetRowCount

protected Object GetRowCount()

Return:
Object

GetRowHeaderCellFromRow

protected Object GetRowHeaderCellFromRow(Object row)

Parameters:
row    
Return:
Object

getRowIndex

public Number getRowIndex(String rowKey)

Returns the index of a row identified by rowKey.
There is no guarantee that a row identified by a rowKey can be found on the client since all the rows are not rendered on the client. Also keep in mind that the rowKey on the client is not the same as the one on the server, since the server provides a mechanism for converting client row keys into server row keys.

Parameters:
rowKey  -  the client side rowKey that identifies a row
Return:
Number - the index of a row for a row key if is found otherwise -1.
See also:
getRowKey(Number)

getRowKey

public String getRowKey(Number index)

Returns the rowKey to identify a row based on its index.
There is no guarantee that a row identified by a rowKey can be found on the client since all the rows are not rendered on the client. Also keep in mind that the rowKey on the client is not the same as the one on the server, since the server provides a mechanism for converting client row keys into server row keys.

Parameters:
index  -  the rowIndex of the row
Return:
String - the rowKey to identify a row if is found otherwise null.
See also:
getRowIndex(String)

_getRowKeyAndOrientationForPosition

private Object _getRowKeyAndOrientationForPosition(Object pageX,
                                                   Object pageY,
                                                   Object hints)

Given a location in page coordinates inside this Peer, return the rowKey, if any, that is stamped within those bounds. As a performance aid, a rowKey and its bounds may optionally be passed to aid in determining the current rowKey.

Parameters:
pageX    
pageY    
hints    
Return:
Object

getRowKeyAndOrientationFromHints

public Object getRowKeyAndOrientationFromHints(Number pageX,
                                               Number pageY,
                                               Object hints)

Given a location in page coordinates inside this Peer, return the rowKey, if any, that is stamped within those bounds. As a performance aid, a rowKey, its bounds and orientation may optionally be passed to aid in determining the current rowKey.

Parameters:
pageX  -  the x position of the pointer
pageY  -  the y position of the pointer
hints  -  An object containings hints for lastRowKey, lastRowKeyBounds, lastDropOrientation etc. See AdfStampedDropTarget.HINT* for possible hints. The rowKey and dropOrientation are set on this hint object as a return values
Return:
Object

GetRowKeyAndRow

protected Object GetRowKeyAndRow(Object domElement,
                                 Object rootDomElement)

Returns the row key attribute and the row from a dom element. If necessary, walks up the dom hierarchy to find the element with the rowKey attribute

Parameters:
domElement    
rootDomElement    
Return:
Object

getRowKeyBounds

public Object getRowKeyBounds(String rowKey)

Given a rowKey in this Peer, return the bounds of the rowKey's visualization

Parameters:
rowKey  -  to look for
Return:
Object - object literal with the bounds of the rowKey if found else null
See also:
AdfAgent.getElementPageBounds(Object)

getRowKeyForEvent

public String getRowKeyForEvent(AdfUIInputEvent inputEvent)

Given a IUInputEvent, return the rowKey.

Parameters:
inputEvent    
Return:
String - rowKey

_getScrollbarHeight

private Object _getScrollbarHeight()

Return:
Object

_getScrollbarWidth

private Object _getScrollbarWidth()

Return:
Object

GetScroller

protected Object GetScroller()

Return:
Object

_getScrollerClientWidth

private Object _getScrollerClientWidth()

Return:
Object

_getScrollerOffsetHeight

private Object _getScrollerOffsetHeight()

Return:
Object

_getScrollerOffsetWidth

private Object _getScrollerOffsetWidth()

Return:
Object

_getScrollHeight

private Object _getScrollHeight()

Return:
Object

_getScrollLeft

private Object _getScrollLeft()

Return:
Object

__getScrollPos

Object __getScrollPos()

Returns the scroll position of the table

Return:
Object - the object literal with x, y corresponding to the scrollLeft, scrollTop of the table scroll position if the scroller is present else null;

_getScrollTop

private Object _getScrollTop()

Return:
Object

_getScrollWidth

private Object _getScrollWidth()

Return:
Object

__getSelectedColumns

Object __getSelectedColumns()

Returns a list of selected columns in the table

Return:
Object

_getSiblingDomNode

private Object _getSiblingDomNode(Object domElement,
                                  Object next)

Parameters:
domElement    
next    
Return:
Object

__getSortOrderForColumn

static Object __getSortOrderForColumn(Object id)

Parameters:
id    
Return:
Object

_getStatusMessage

private Object _getStatusMessage()

Return:
Object

_getTargetRowHeader

private Object _getTargetRowHeader(Object node,
                                   Object rootDomElement)

Parameters:
node    
rootDomElement    
Return:
Object

_getUnavailableRowIndex

private Object _getUnavailableRowIndex(Object elem)

As a result of a data fetch, the server can send a special div which includes information about the row index for which the model returned false from the isRowAvailable API. Here we check for this div

Parameters:
elem    
Return:
Object

__getVisibleLeafColumns

Object __getVisibleLeafColumns()

Returns an array of visible column components in the table

Return:
Object

_grabFocus

private Object _grabFocus()

Focus handling

Return:
Object

_handleArrow

private Object _handleArrow(Object keyCode,
                            Object event)

Parameters:
keyCode    
event    
Return:
Object

_handleArrowKeyNav

private Object _handleArrowKeyNav(Object keyCode,
                                  Object eventTarget,
                                  Object event)

Parameters:
keyCode    
eventTarget    
event    
Return:
Object

_handleArrowKeyNavLeftRight

private Object _handleArrowKeyNavLeftRight(Object keyCode,
                                           Object row,
                                           Object eventTarget,
                                           Object cellIndex)

Parameters:
keyCode    
row    
eventTarget    
cellIndex    
Return:
Object

_handleBodyContextMenu

private Object _handleBodyContextMenu(Object domEvent)

Parameters:
domEvent    
Return:
Object

HandleClickToEditActiveRow

protected Object HandleClickToEditActiveRow(Object node,
                                            Object size,
                                            Object remainingBlocks)

Parameters:
node    
size    
remainingBlocks    
Return:
Object

_handleClickToEditActiveRowAfter

private Object _handleClickToEditActiveRowAfter()

Return:
Object

HandleCollapse

protected Object HandleCollapse(Object node,
                                Object start,
                                Object remainingBlocks)

Parameters:
node    
start    
remainingBlocks    
Return:
Object

_handleColReorderAbort

private Object _handleColReorderAbort()

Return:
Object

_handleColReorderDrag

private Object _handleColReorderDrag(Object event,
                                     Object deltaX,
                                     Object deltaY)

Callback for the drag operation during reordering

Parameters:
event    
deltaX    
deltaY    
Return:
Object

_handleColReorderDrop

private Object _handleColReorderDrop(Object event,
                                     Object deltaX,
                                     Object deltaY)

Callback for the drop operation after reordering

Parameters:
event    
deltaX    
deltaY    
Return:
Object

_handleColResizeDrag

private Object _handleColResizeDrag(Object domEvent,
                                    Object deltaX,
                                    Object deltaY)

Parameters:
domEvent    
deltaX    
deltaY    
Return:
Object

_handleColResizeDrop

private Object _handleColResizeDrop(Object domEvent,
                                    Object delatX,
                                    Object deltaY)

Parameters:
domEvent    
delatX    
deltaY    
Return:
Object

_handleColumnContextMenu

private Object _handleColumnContextMenu(Object domEvent,
                                        Object alignElement)

Context Menu

Parameters:
domEvent    
alignElement    
Return:
Object

_handleColumnHeaderArrow

private Object _handleColumnHeaderArrow(Object keyCode,
                                        Object event)

Parameters:
keyCode    
event    
Return:
Object

_handleColumnHeaderDrag

private Object _handleColumnHeaderDrag(Object domEvent,
                                       Object deltaX,
                                       Object deltaY)

Parameters:
domEvent    
deltaX    
deltaY    
Return:
Object

_handleColumnHeaderDrop

private Object _handleColumnHeaderDrop(Object domEvent,
                                       Object deltaX,
                                       Object deltaY)

Parameters:
domEvent    
deltaX    
deltaY    
Return:
Object

HandleComponentBlur

protected Object HandleComponentBlur(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentCollapseEvent

protected Object HandleComponentCollapseEvent(Object collapsedItems)

Parameters:
collapsedItems    
Return:
Object

HandleComponentContextMenu

protected Object HandleComponentContextMenu(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentDblClick

protected Object HandleComponentDblClick(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentExpandEvent

protected Object HandleComponentExpandEvent(Object collapsedItems)

Parameters:
collapsedItems    
Return:
Object

HandleComponentFocus

protected Object HandleComponentFocus(Object componentEvent)

keyboard handling

Parameters:
componentEvent    
Return:
Object

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentKeyUp

protected Object HandleComponentKeyUp(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseDown

protected Object HandleComponentMouseDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseOut

protected Object HandleComponentMouseOut(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseOver

protected Object HandleComponentMouseOver(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseUp

protected Object HandleComponentMouseUp(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

_handleCtrlShiftEnd

private Object _handleCtrlShiftEnd(Object domEvent)

Parameters:
domEvent    
Return:
Object

_handleDataBodyScroll

private Object _handleDataBodyScroll()

Return:
Object

_handleDataBodySelectStart

private Object _handleDataBodySelectStart(Object evt)

Parameters:
evt    
Return:
Object

_handleDataCallback

private Object _handleDataCallback(Object node,
                                   Object pendingFetch,
                                   Object pendingRenderOnly,
                                   Object remainingBlocks)

Parameters:
node    
pendingFetch    
pendingRenderOnly    
remainingBlocks    
Return:
Object

HandleDomKeyDown

protected Object HandleDomKeyDown(Object component,
                                  Object domEvent)

Parameters:
component    
domEvent    
Return:
Object

HandleDomMouseMove

protected Object HandleDomMouseMove(Object component,
                                    Object domEvent)

Event Handlers

Parameters:
component    
domEvent    
Return:
Object

HandleDomScroll

protected Object HandleDomScroll(Object component,
                                 Object domEvent)

Parameters:
component    
domEvent    
Return:
Object

_handleEnterKey

private Object _handleEnterKey(Object eventTarget,
                               Object domEvent)

Parameters:
eventTarget    
domEvent    
Return:
Object

HandleExpand

protected Object HandleExpand(Object node,
                              Object size,
                              Object remainingBlocks)

Parameters:
node    
size    
remainingBlocks    
Return:
Object

_handleExpandCollapse

private Object _handleExpandCollapse(Object node,
                                     Object remainingBlocks,
                                     Object expanded)

Parameters:
node    
remainingBlocks    
expanded    
Return:
Object

_handleF2Key

private Object _handleF2Key(Object domEvent)

Parameters:
domEvent    
Return:
Object

_handleFilterCellEnterKey

private Object _handleFilterCellEnterKey()

Return:
Object

HandleHeaderlessFocus

protected Object HandleHeaderlessFocus()

Overridable hook for subclasses to handle focus for the cases where focus cannot be set on the column header

Return:
Object

_handleHorizontalScroll

private Object _handleHorizontalScroll(Object scrollLeft)

Scrolling and virtualization

Parameters:
scrollLeft    
Return:
Object

_handleInnerTableScroll

private Object _handleInnerTableScroll(Object evt)

Parameters:
evt    
Return:
Object

_handleKeyboardContextMenu

private Object _handleKeyboardContextMenu(Object event)

Parameters:
event    
Return:
Object

_handleKeyboardSort

private Object _handleKeyboardSort(Object sortType)

Sort the column which currently has focus

Parameters:
sortType    
Return:
Object

_handleLongJump

private Object _handleLongJump(Object databody,
                               Object viewportHeight,
                               Object delay,
                               Object isScroll)

Parameters:
databody    
viewportHeight    
delay    
isScroll    
Return:
Object

_handleMouseWheel

private static Object _handleMouseWheel(Object evt)

Parameters:
evt    
Return:
Object

_handlePageDown

private Object _handlePageDown(Object altKey,
                               Object ctrlKey,
                               Object shiftKey)

Parameters:
altKey    
ctrlKey    
shiftKey    
Return:
Object

_handlePageUp

private Object _handlePageUp(Object altKey,
                             Object ctrlKey,
                             Object shiftKey)

Parameters:
altKey    
ctrlKey    
shiftKey    
Return:
Object

_handleRowClick

private Object _handleRowClick(Object evt,
                               Object rowKey,
                               Object row)

Parameters:
evt    
rowKey    
row    
Return:
Object

HandleRowContextMenu

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

Parameters:
domEvent    
rowKey    
row    
alignElement    
alignHint    
Return:
Object

_handleRowHeaderArrow

private Object _handleRowHeaderArrow(Object keyCode,
                                     Object event)

Parameters:
keyCode    
event    
Return:
Object

_handleRowHeaderDrag

private Object _handleRowHeaderDrag(Object event,
                                    Object deltaX,
                                    Object deltaY)

Parameters:
event    
deltaX    
deltaY    
Return:
Object

_handleRowMouseDown

private Object _handleRowMouseDown(Object evt,
                                   Object rowKey,
                                   Object row)

Parameters:
evt    
rowKey    
row    
Return:
Object

_handleSelectAllArrow

private Object _handleSelectAllArrow(Object keyCode,
                                     Object event)

Parameters:
keyCode    
event    
Return:
Object

_handleSpaceKey

private Object _handleSpaceKey(Object keyCode,
                               Object event)

Parameters:
keyCode    
event    
Return:
Object

_handleTabKey

private Object _handleTabKey(Object target,
                             Object domEvent)

Parameters:
target    
domEvent    
Return:
Object

HandleTableBodyArrowLeftRight

protected Object HandleTableBodyArrowLeftRight(Object arrowLeft,
                                               Object ctrlKey,
                                               Object shiftKey)

Parameters:
arrowLeft    
ctrlKey    
shiftKey    
Return:
Object

_handleTableBodyArrowUpDown

private Object _handleTableBodyArrowUpDown(Object arrowUp,
                                           Object ctrlKey,
                                           Object shiftKey)

Parameters:
arrowUp    
ctrlKey    
shiftKey    
Return:
Object

_handleTouchMovement

private Object _handleTouchMovement(Number deltaX,
                                    Number deltaY)

Handler invoked by an AdfTouchMoveManager when the user performs a dual touch movement on the data body.

Parameters:
deltaX  -  the distance moved in the x direction.
deltaY  -  the distance moved in the y direction.
Return:
Object

_handleVerticalScroll

private Object _handleVerticalScroll(Object scrollTop)

Parameters:
scrollTop    
Return:
Object

_hideColumnSortableIndicator

private Object _hideColumnSortableIndicator(Object agent,
                                            Object th)

Parameters:
agent    
th    
Return:
Object

_hideDragColumnFooter

private Object _hideDragColumnFooter(Object reorderIndex,
                                     Object colSpan)

Column Reordering

Parameters:
reorderIndex    
colSpan    
Return:
Object

_hideReorderColGroupCols

private Object _hideReorderColGroupCols(Object table,
                                        Object reorderIndex,
                                        Object lastFrozen,
                                        Object colSpan)

Hide the cols in the colgroup when the reorder column is being hidden intially

Parameters:
table    
reorderIndex    
lastFrozen    
colSpan    
Return:
Object

_hideStatus

private Object _hideStatus()

Return:
Object

_highlightCell

private Object _highlightCell(Object cell,
                              Object isTableActive)

Parameters:
cell    
isTableActive    
Return:
Object

_highlightColumn

private Object _highlightColumn(Object index)

Parameters:
index    
Return:
Object

_hScrollPage

private Object _hScrollPage(Object scrollRight)

Parameters:
scrollRight    
Return:
Object

_incrementWidth

private Object _incrementWidth(Object element,
                               Object delta)

Parameters:
element    
delta    
Return:
Object

_indexOfDomElement

private Object _indexOfDomElement(Object domArr,
                                  Object elem)

Parameters:
domArr    
elem    
Return:
Object

_initColumnFooter

private Object _initColumnFooter()

Return:
Object

_initColumnHeader

private Object _initColumnHeader()

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  -  Component that this peer will be associated with
domElement  -  Root DOM element of this peer
Return:
Object
Overrides:
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)

_initNewBlock

private Object _initNewBlock(Object node,
                             Object start,
                             Object size)

Parameters:
node    
start    
size    
Return:
Object

_initScrollLeftTop

private Object _initScrollLeftTop(Object scroller,
                                  Object currentScrollTop)

Parameters:
scroller    
currentScrollTop    
Return:
Object

InitSubclass

protected static Object InitSubclass()

Registers component on click handler

Return:
Object

_initVirtualization

private Object _initVirtualization(Object firstBlock,
                                   Object alreadyInserted)

Parameters:
firstBlock    
alreadyInserted    
Return:
Object

InsertActiveRow

protected Object InsertActiveRow(Object message,
                                 Object type)

Parameters:
message    
type    
Return:
Object

InsertBlock

protected Object InsertBlock(Object newBlock,
                             Object start,
                             Object size,
                             Object totalInserted,
                             Object remainingBlocks)

Parameters:
newBlock    
start    
size    
totalInserted    
remainingBlocks    
Return:
Object

_insertEmptyDropColGroupCol

private Object _insertEmptyDropColGroupCol(Object table,
                                           Object targetIndex,
                                           Object targetColSpan,
                                           Object insertAfter,
                                           Object lastFrozen,
                                           Object reorderColWidth,
                                           Object emptyDropCells)

For webkit insert a col inside its colgroup at the new proposed drop column location

Parameters:
table    
targetIndex    
targetColSpan    
insertAfter    
lastFrozen    
reorderColWidth    
emptyDropCells    
Return:
Object

_insertEmptyDropColumn

private Object _insertEmptyDropColumn(Object evt)

Insert an empty drop column indicating where the dropped column will be displayed after a drop

Parameters:
evt    
Return:
Object

_insertEmptyDropColumnBody

private Object _insertEmptyDropColumnBody(Object targetIndex,
                                          Object targetColSpan)

create the empty drop column body indicating where the dropped column will be displayed after a drop

Parameters:
targetIndex    
targetColSpan    
Return:
Object

_insertEmptyDropColumnFooter

private Object _insertEmptyDropColumnFooter(Object targetIndex,
                                            Object targetColSpan)

create the empty drop column footer indicating where the dropped column will be displayed after a drop

Parameters:
targetIndex    
targetColSpan    
Return:
Object

_insertEmptyDropColumnHeader

private Object _insertEmptyDropColumnHeader(Object targetReorderTH,
                                            Object targetIndex,
                                            Object targetColSpan,
                                            Object innerTable,
                                            Object innerDiv)

create the empty drop column header indicating where the dropped column will be displayed after a drop

Parameters:
targetReorderTH    
targetIndex    
targetColSpan    
innerTable    
innerDiv    
Return:
Object

_isCellTruncated

private Boolean _isCellTruncated(HTMLElement domNode)

Detects if the content of a cell truncated. This is done by taking content of the node, appending it to a single cell table cell that is unconstrained width-wise and then comparing its size to the original size of the dom node.

Parameters:
domNode  -  the dom element whose content is tested for truncation
Return:
Boolean - true if the content is truncated else false

_isClickToEdit

private Object _isClickToEdit()

Click To Edit functionality

Return:
Object

_isColumnSelectionEnabled

private Object _isColumnSelectionEnabled()

Return:
Object

_isContainerStretched

private Object _isContainerStretched()

Return:
Object

isDisclosureFetchPending

public Object isDisclosureFetchPending()

Return:
Object

IsFetchPending

protected Object IsFetchPending()

Return:
Object

_isFilterable

private Object _isFilterable()

Query By example Support

Return:
Object

isHeightAutoSized

public Object isHeightAutoSized()

Return:
Object

_isImmediateContentDelivery

private Object _isImmediateContentDelivery(Object component)

Parameters:
component    
Return:
Object

_isInlineDataAvailable

private Object _isInlineDataAvailable(Object component)

Parameters:
component    
Return:
Object

IsInsertAllowed

protected Object IsInsertAllowed(Object insertAt)

Parameters:
insertAt    
Return:
Object

_isMultipleColumnSelect

private Object _isMultipleColumnSelect()

Return:
Object

_isMultipleRowSelect

private Object _isMultipleRowSelect()

Return:
Object

_isMultipleRowSelectNoSelectAll

private Object _isMultipleRowSelectNoSelectAll()

Return:
Object

IsNodeStampCell

protected Boolean IsNodeStampCell(HTMLElement cell)

Tests whether the specified element is a node stamp cell.

Parameters:
cell  -  the cell element to test.
Return:
Boolean - true if the element is a node stamp

_isOwnComponentEvent

private Object _isOwnComponentEvent(Object componentEvent)

Determines whether the component event belongs to this table/tree (as opposed to a child table/tree displayed in a popup or otherwise)

Parameters:
componentEvent    
Return:
Object

_isPCContainerStretched

private Object _isPCContainerStretched()

Return:
Object

IsReceivingActiveEvents

protected Object IsReceivingActiveEvents()

Return:
Object

_isRowSelectionEnabled

private Object _isRowSelectionEnabled(Object component)

Parameters:
component    
Return:
Object

_isRTL

private static Object _isRTL()

Return:
Object

_isTargetCellEditable

private Object _isTargetCellEditable(Object node)

Parameters:
node    
Return:
Object

_isTargetCellFilter

private Object _isTargetCellFilter(Object node)

Parameters:
node    
Return:
Object

_isViewportSatisfied

private Object _isViewportSatisfied(Object databody,
                                    Object viewportHeight)

Parameters:
databody    
viewportHeight    
Return:
Object

_markAsActive

private Object _markAsActive(HTMLElement node,
                             Object rowKey,
                             Object colIndex)

Sets up an Active Data parent node for visual indication that it is updated.

Parameters:
node  -  the parent node whose child node was updated.
rowKey    
colIndex    
Return:
Object

needsChildVisibilityChanges

public Object needsChildVisibilityChanges(Object component)

The AdfDhtmlTablePeer cares about child visibility changes in order to redraw when columns are hidden/shown

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

needsResizeNotify

public Object needsResizeNotify(Object component)

Tests whether the peer requires resize notification. Peers which perform geometry management should override this to return true. When true, resizeNotify() will be called when browser window is resized.

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.needsResizeNotify(Object)

_normalSelectionUpdate

private Object _normalSelectionUpdate(Object selType,
                                      Object clearHighlightedRowKey,
                                      Object selState)

selType : _SEL_UPDATE_ALL_SELECT _SEL_UPDATE_ALL_UNSELECT _SEL_UPDATE_ALL_UPDATE;

Parameters:
selType    
clearHighlightedRowKey    
selState    
Return:
Object

_positionColumnReorderTracker

private Object _positionColumnReorderTracker(Object evt)

Parameters:
evt    
Return:
Object

_positionInnerTable

private static Object _positionInnerTable(Object block,
                                          Object scrollLeft)

Parameters:
block    
scrollLeft    
Return:
Object

_processActiveMessage

private Object _processActiveMessage(Object message)

Parameters:
message    
Return:
Object

_processClickToEditActivateRequest

private Object _processClickToEditActivateRequest()

Process a request to activate a row after scrolling. This is initiated by tab/shift+tab actions

Return:
Object

_processClickToEditRequest

private Object _processClickToEditRequest(Object selectRow)

Process the click-to-edit request after the PPR of the active row/cell

Parameters:
selectRow    
Return:
Object

_processColumnReorderAction

private Object _processColumnReorderAction(Object domEvent)

Parameters:
domEvent    
Return:
Object

ProcessPushData

protected Boolean ProcessPushData(String payload,
                                  Number changeCount)

Called by the Active Data Service to deliver push data to the peer.

Parameters:
payload  -  DhtmlTextPeer only supports a String payload representing the new value
changeCount  -  Monotonically increasing Change count for this change
Return:
Boolean - Returns true if the component should continue to receive active data events.
Overrides:
AdfUIPeer.processPushData(AdfUIComponent, Object, Boolean)

_processSelectionRequest

private Object _processSelectionRequest()

Return:
Object

_queueCollapseFetchEvent

private Object _queueCollapseFetchEvent()

Return:
Object

_queueColumnReorderEvent

private Object _queueColumnReorderEvent()

Queues an event to the server for column reordering so that we can ppr the table and update the server with the new column sequence

Return:
Object

_queueExpandFetchEvent

private Object _queueExpandFetchEvent()

Return:
Object

_queueFetchEvent

private Object _queueFetchEvent(Object renderOnly,
                                Object subtype,
                                Object index,
                                Object key)

Parameters:
renderOnly    
subtype    
index    
key    
Return:
Object

__queueSortEvent

static Object __queueSortEvent(AdfUITable table,
                                Object properties,
                                Object orders)

Queues the sort event for the table component

Parameters:
table  -  instance of the table component we want to queue the
properties  -  the property/properties to sort by
orders  -  whether to sort by ascending or descending order(s)
Return:
Object

_registerInnerScrollCallback

private Object _registerInnerScrollCallback(Object block)

Parameters:
block    
Return:
Object

RemoveActiveRow

protected Object RemoveActiveRow(Object message)

Parameters:
message    
Return:
Object

RemoveAllBlocks

protected Object RemoveAllBlocks(Object databody)

Parameters:
databody    
Return:
Object

_removeEmptyDropColumn

private Object _removeEmptyDropColumn(Object innerTable,
                                      Object innerDiv)

Remove the previously created empty drop column indicating where the dropped column will be displayed after a drop

Parameters:
innerTable    
innerDiv    
Return:
Object

RemoveTwinkleTimer

protected Object RemoveTwinkleTimer(Object node)

Parameters:
node    
Return:
Object

_reorderColumnComponentsWithAnimation

private Object _reorderColumnComponentsWithAnimation(Object animDuration)

Parameters:
animDuration    
Return:
Object

_reorderColumnComponentsWithoutAnimation

private Object _reorderColumnComponentsWithoutAnimation()

Return:
Object

_reorderColumnThroughKeyboard

private Object _reorderColumnThroughKeyboard(Object isLeftArrow)

Parameters:
isLeftArrow    
Return:
Object

ReplaceDomElement

protected Object ReplaceDomElement(HTMLElement newElement,
                                   HTMLElement oldElement)

Replaces the a dom element contained in this peer. The dom element maybe a child (or descendent)

Parameters:
newElement  -  the new dom element
oldElement  -  the old dom element
Return:
Object
Overrides:
AdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)

_replaceRowByKey

private Object _replaceRowByKey(Object rowKey,
                                Object newRow)

Parameters:
rowKey    
newRow    
Return:
Object

_repositionBlocksForScroll

private Object _repositionBlocksForScroll(Object databody)

Parameters:
databody    
Return:
Object

_resetActiveMessageBuffer

private Object _resetActiveMessageBuffer()

Return:
Object

_resetRow

private Object _resetRow(Object tr)

Parameters:
tr    
Return:
Object

_resizeBlockColumn

private Object _resizeBlockColumn(HTMLElement block,
                                  Number displayIndex,
                                  Number delta)

Stretches a specific column for the newly fetched data block.

Parameters:
block  -  the new data block
displayIndex  -  the index to resize
delta  -  the amount to pixels to add to the width of the column
Return:
Object

resizeColumn

public Object resizeColumn(Object colComponent,
                           Object value,
                           Object oldWidth)

This function will be invoked as a result of a user interacting with the column resize dialog of the panelCollection component.

Parameters:
colComponent    
value    
oldWidth    
Return:
Object
See also:
AdfDhtmlColumnPeer.ComponentWidthChanged(Object, Object, Object, Object)

_resizeColumnHeaderFooterColumn

private Object _resizeColumnHeaderFooterColumn(Object th,
                                               Object delta,
                                               Object colHeader,
                                               Object displayIndex,
                                               Object tableId,
                                               Object div2Id,
                                               Object table2Id)

Parameters:
th    
delta    
colHeader    
displayIndex    
tableId    
div2Id    
table2Id    
Return:
Object

_resizeDatabodyColumn

private Object _resizeDatabodyColumn(Object databody,
                                     Object displayIndex,
                                     Object delta)

Parameters:
databody    
displayIndex    
delta    
Return:
Object

ResizeNotify

protected Object ResizeNotify(Object oldWidth,
                              Object oldHeight,
                              Object newWidth,
                              Object newHeight)

Called to notify the peer of resize activity. Only called if peer overrides needsResizeNotify() to return true.

Parameters:
oldWidth    
oldHeight    
newWidth    
newHeight    
Return:
Object
Overrides:
AdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)

_resolveBotttomMostChildColumn

private Object _resolveBotttomMostChildColumn(Object th)

Parameters:
th    
Return:
Object

_resolveColumns

private Object _resolveColumns(Object colIndices,
                               Object colIds,
                               Object th)

Resolves a mouse click event to column indexes. Can return multiple columns if the columns are grouped.

Parameters:
colIndices    
colIds    
th    
Return:
Object

ResolveContextMenuAlignElement

protected Object ResolveContextMenuAlignElement(Object row)

Hook for subclasses to align the context menu

Parameters:
row    
Return:
Object

_resolveImmediateChildColumn

private Object _resolveImmediateChildColumn(Object th)

Parameters:
th    
Return:
Object

_resolveImmediateParentColumn

private Object _resolveImmediateParentColumn(Object th)

Parameters:
th    
Return:
Object

_resolveRightMostSiblingInGroup

private Object _resolveRightMostSiblingInGroup(Object parent,
                                               Object child)

Parameters:
parent    
child    
Return:
Object

_restoreActiveRowKey

private Object _restoreActiveRowKey()

Return:
Object

_restoreEditableValueOnEsc

private static Object _restoreEditableValueOnEsc(Object inputDOM)

Parameters:
inputDOM    
Return:
Object

_restoreSavedDisclosureState

private Object _restoreSavedDisclosureState()

Return:
Object

_restoreScrollPosition

private Object _restoreScrollPosition()

Return:
Object

_restoreSelectedItemOnArrowNav

private static Object _restoreSelectedItemOnArrowNav(Object params)

Parameters:
params    
Return:
Object

_saveClickToEditRequest

private Object _saveClickToEditRequest(Object evt,
                                       Object tr)

Process the click-to-edit request after the PPR of the active row

Parameters:
evt    
tr    
Return:
Object

_scrollColumnFooter

private static Object _scrollColumnFooter(Object div,
                                          Object scrollLeft)

Parameters:
div    
scrollLeft    
Return:
Object

_scrollColumnHeader

private static Object _scrollColumnHeader(Object div,
                                          Object scrollLeft)

Parameters:
div    
scrollLeft    
Return:
Object

scrollColumnIntoView

public Object scrollColumnIntoView(String columnId,
                                   HTMLElement column)

Horizontally Scrolls the table to display a particular column as the first column in the table.

Parameters:
columnId  -  The Id of the column to scroll to.
column  -  Optional dom element of the column.
Return:
Object

_scrollerScrollToPos

private Object _scrollerScrollToPos(Object x,
                                    Object y)

Parameters:
x    
y    
Return:
Object

scrollToPos

public Object scrollToPos(Object scrollLeft,
                          Object scrollTop,
                          Object skipUpdate)

Scrolls the table peer to a particular position.

Parameters:
scrollLeft  -  the horizontal position to scroll to. Use -1 to ignore this parameter
scrollTop  -  the vertical position to scroll to. Use -1 to ignore this parameter
skipUpdate    
Return:
Object

_selectAllSelectionUpdate

private Object _selectAllSelectionUpdate(Object selType,
                                         Object clearHighlightedRowKey,
                                         Object selState)

When the select all is on our rowkeys are inverse selType : 0 - selectall 1 - unselectAll 2 - update

Parameters:
selType    
clearHighlightedRowKey    
selState    
Return:
Object

_selectColumn

private Object _selectColumn(Object index,
                             Object col)

Parameters:
index    
col    
Return:
Object

_selectColumnRange

private Object _selectColumnRange(Object indicesStart,
                                  Object idsStart,
                                  Object indicesEnd,
                                  Object idsEnd)

Parameters:
indicesStart    
idsStart    
indicesEnd    
idsEnd    
Return:
Object

_selectInputOnMouseUp

private Object _selectInputOnMouseUp(Object targetNode)

Parameters:
targetNode    
Return:
Object

_selectRowRange

private Object _selectRowRange(Object rowKeyStart,
                               Object rowKeyEnd)

Select a range of rows from rowKeyStart to rowKeyEnd.

Parameters:
rowKeyStart    
rowKeyEnd    
Return:
Object

_selHighlightRow

private Object _selHighlightRow(Object row)

Parameters:
row    
Return:
Object

_selIsOnlySelection

private Object _selIsOnlySelection(Object rowKey)

Parameters:
rowKey    
Return:
Object

_selIsSelected

private Object _selIsSelected(Object rowKey)

Parameters:
rowKey    
Return:
Object

_selSelectAll

private Object _selSelectAll()

Return:
Object

_selSelectRow

private Object _selSelectRow(Object rowKey,
                             Object row,
                             Object skipUpdate)

Parameters:
rowKey    
row    
skipUpdate    
Return:
Object

_selUnhighlightRow

private Object _selUnhighlightRow(Object row)

Parameters:
row    
Return:
Object

_selUnselectAll

private Object _selUnselectAll()

Return:
Object

_selUnselectRow

private Object _selUnselectRow(Object rowKey,
                               Object row)

Parameters:
rowKey    
row    
Return:
Object

_selUpdateAll

private Object _selUpdateAll(Object selType,
                             Object clearHighlightedRowKey,
                             Object rowKeys)

selType : _SEL_UPDATE_ALL_SELECT _SEL_UPDATE_ALL_UNSELECT _SEL_UPDATE_ALL_UPDATE;

Parameters:
selType    
clearHighlightedRowKey    
rowKeys    
Return:
Object

_setActiveRowKey

private Object _setActiveRowKey(Object rowKey)

Parameters:
rowKey    
Return:
Object

SetAnimating

protected Object SetAnimating(Object animating)

Parameters:
animating    
Return:
Object

SetCursor

protected static Object SetCursor(Object elem,
                                  Object cur)

Parameters:
elem    
cur    
Return:
Object

_setFakeCanvasHeight

private Object _setFakeCanvasHeight(Object height)

Parameters:
height    
Return:
Object

_setFakeCanvasWidth

private Object _setFakeCanvasWidth(Object width)

scroller related methods

Parameters:
width    
Return:
Object

SetFirst

protected Object SetFirst(Object first)

Overridable method to set first visible row

Parameters:
first    
Return:
Object

_setFirstColumnHeaderFocus

private Object _setFirstColumnHeaderFocus(Object selectAllOnly,
                                          Object skipUnclip)

Parameters:
selectAllOnly    
skipUnclip    
Return:
Object

_setFocusOnEditableElementInNode

private Object _setFocusOnEditableElementInNode(Object agent,
                                                Object node)

Parameters:
agent    
node    
Return:
Object

_setFocusOnEditableRowCell

private Object _setFocusOnEditableRowCell(Object curRowKey,
                                          Object isNext,
                                          Object cellIndex)

Parameters:
curRowKey    
isNext    
cellIndex    
Return:
Object

_setInputElementCursorAtEndInNode

private Object _setInputElementCursorAtEndInNode(Object agent,
                                                 Object node)

Parameters:
agent    
node    
Return:
Object

_setNewBlockScrollLeft

private Object _setNewBlockScrollLeft(Object node)

Parameters:
node    
Return:
Object

SetRows

protected Object SetRows(Object rows)

Overridable method to set visible rows

Parameters:
rows    
Return:
Object

_setScrollerHeight

private Object _setScrollerHeight(Object outerHeight,
                                  Object chHeight,
                                  Object cfHeight)

Parameters:
outerHeight    
chHeight    
cfHeight    
Return:
Object

_setScrollerTop

private Object _setScrollerTop(Object top)

Parameters:
top    
Return:
Object

_setScrollerWidth

private Object _setScrollerWidth(Object outerWidth,
                                 Object frozenWidth)

Parameters:
outerWidth    
frozenWidth    
Return:
Object

_setScrollLeft

private Object _setScrollLeft(Object scrollLeft)

Parameters:
scrollLeft    
Return:
Object

_setScrollTop

private Object _setScrollTop(Object scrollTop)

Parameters:
scrollTop    
Return:
Object

ShiftIndex

protected Object ShiftIndex(Object fromBlock,
                            Object delta,
                            Object down)

Parameters:
fromBlock    
delta    
down    
Return:
Object

_shiftSelectColumnsThroughKeyboard

private Object _shiftSelectColumnsThroughKeyboard(Object th)

Parameters:
th    
Return:
Object

_shouldEnableColumnReorder

private Object _shouldEnableColumnReorder(Object domEvent,
                                          Object th)

Parameters:
domEvent    
th    
Return:
Object

_showColumnResizeIndicator

private Object _showColumnResizeIndicator(Object resizedTH,
                                          Object displayIndex)

Parameters:
resizedTH    
displayIndex    
Return:
Object

showDragFeedback

public Object showDragFeedback(AdfDnDContext dndContext,
                               String rowKey,
                               Object userAction,
                               String lastValidRowKey,
                               Number pageX,
                               Number pageY,
                               Boolean dragExit)

Shows feedback for the given drop target rowkey

Parameters:
dndContext  -  the drag and drop context
rowKey  -  of the drop target
userAction    
lastValidRowKey  -  the rowKey from previous feedback
pageX  -  null or the x position of the mouse in page coordinates
pageY  -  null or the y position of the mouse in page coordinates
dragExit  -  true if the feedback is due to the drag exiting this component
Return:
Object

_sizeBlockForFrozenColumns

private Object _sizeBlockForFrozenColumns(Object block,
                                          Object databodyWidth)

Parameters:
block    
databodyWidth    
Return:
Object

SizeDatabody

protected Object SizeDatabody(Object databody,
                              Object outerWidth,
                              Object outerHeight)

Parameters:
databody    
outerWidth    
outerHeight    
Return:
Object

_sizeRegionsForFrozenColumns

private Object _sizeRegionsForFrozenColumns(Object databody,
                                            Object databodyWidth)

Parameters:
databody    
databodyWidth    
Return:
Object

_startFetch

private Object _startFetch(Object subtype,
                           Object index,
                           Object key,
                           Object delay,
                           Object renderOnly)

Parameters:
subtype    
index    
key    
delay    
renderOnly    
Return:
Object

_stretchLastBlockColumn

private Object _stretchLastBlockColumn(Object block)

Stretches the columns for the newly fetched data block.

Parameters:
block  -  the new data block
Return:
Object

_stretchTheColumns

private Object _stretchTheColumns(Number iterationCount)

Stretches the stetchable columns of the table. If the table only has data rows, we are only dealing with the data. If the table has no data but it does have a header, only stretch the header. If the table has both data rows and a header, stretch both.

Parameters:
iterationCount  -  optional parameter only used when repeated iterations of this method
Return:
Object

SupportsFocusRowNavigation

protected Object SupportsFocusRowNavigation()

Return:
Object

suppressSelectionEventDelivery

public Object suppressSelectionEventDelivery(Object freeze)

Parameters:
freeze    
Return:
Object

_syncDataBodyHeights

private Object _syncDataBodyHeights()

When there are master/slave component present, this will synchronize the heights of the master/slave when one of them shows a horizontal scrollbar and the other does not.

Return:
Object

_synchronizeColumnRowHeights

private Object _synchronizeColumnRowHeights(Object hDiv,
                                            Object table1Id,
                                            Object div2Id,
                                            Object table2Id)

Parameters:
hDiv    
table1Id    
div2Id    
table2Id    
Return:
Object

_synchronizeRowHeights

private Object _synchronizeRowHeights(Object block)

Parameters:
block    
Return:
Object

TruncateClientId

protected Object TruncateClientId(Object component,
                                  Object descendantComponent,
                                  Object childClientId,
                                  Object skipArray)

Remove the first id fragment after the table id when creating absolute scoped ids

Parameters:
component    
descendantComponent    
childClientId    
skipArray    
Return:
Object
Overrides:
AdfRichUIPeer.TruncateClientId(Object, Object, Object, Object)

_unclipColumnElement

private Object _unclipColumnElement(Object elem)

Parameters:
elem    
Return:
Object

_unclipInputElem

private Object _unclipInputElem(Object elem)

Parameters:
elem    
Return:
Object

_unclipRow

private Object _unclipRow(Object row)

Scrolls the table if the row element at the given row key is clipped by the edge of the viewport so that the row is no longer clipped.

Parameters:
row  -  The row element to be unclipped.
Return:
Object

_undoScroll

private Object _undoScroll()

Return:
Object

_unHighlightCell

private Object _unHighlightCell(Object cell)

Parameters:
cell    
Return:
Object

_unHighlightColumn

private Object _unHighlightColumn(Object index)

Parameters:
index    
Return:
Object

_unhiglightAnyExistingHighlightedRow

private Object _unhiglightAnyExistingHighlightedRow()

Return:
Object

UnregisterNode

protected Object UnregisterNode(Object node)

Parameters:
node    
Return:
Object

_unSelectAllColumns

private Object _unSelectAllColumns()

Return:
Object

_unSelectColumn

private Object _unSelectColumn(Object index,
                               Object col)

Parameters:
index    
col    
Return:
Object

UpdateActiveRow

protected Object UpdateActiveRow(Object message,
                                 Object tr)

Parameters:
message    
tr    
Return:
Object

_updateColumnSelection

private Object _updateColumnSelection(Object isSelect)

Parameters:
isSelect    
Return:
Object

_updateComponentDisclosureState

private Object _updateComponentDisclosureState(Object block)

Parameters:
block    
Return:
Object

_updateComponentSelectionState

private Object _updateComponentSelectionState(Object block)

Parameters:
block    
Return:
Object

_updateFocusCellStyle

private Object _updateFocusCellStyle(Object hasFocus)

Parameters:
hasFocus    
Return:
Object

UpdateFocusManager

protected Object UpdateFocusManager(Object objectType,
                                    Object currency,
                                    Object domElement)

Parameters:
objectType    
currency    
domElement    
Return:
Object

_updateInitialARK

private Object _updateInitialARK(Object block)

Parameters:
block    
Return:
Object

_updatePCState

private Object _updatePCState()

Return:
Object

UpdateRange

protected Object UpdateRange()

Return:
Object

_updateTableSelectionState

private Object _updateTableSelectionState(Object state)

Parameters:
state    
Return:
Object

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

 

Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.