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 |
_addInvalidDataBlockToFetchElement(Object oldElement, Object block)
|
private Object |
_addScrollEventListeners(Object dataBody)
|
protected Object |
AdjustAutoHeight(Object skipStretcing)
-
Adjust the outer height if necessary by computing the height of the auto height rows
|
private Object |
_adjustCanvasHeight(Object canvasDelta, Object dataBody, Object checkScrollbars, Object adjustScrollPos)
-
Exported for DVT
|
private Object |
_adjustReorderColumnFooterWidths(Object colIndex, 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 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 |
_adjustSelectedRowKeyIndex(Object state, Object index)
-
This is called after a rowkey is removed from state, we need to adjust the index of the rowkey which is positioned after the removed key.
|
private Object |
_allRowsAvailableOnClient(Object blockList, Object numBlocks)
-
Determine if all rows are available locally on the client
|
private Object |
_applyActiveDataUpdate(Object clientId, Object adsCallback, Object properties, Object formattedProperties)
|
private Object |
_applyBufferedADSEvents(Object adsCounter, Object oldEvents)
|
public Object |
applyDragReadyStateForRowKeys(AdfUIComponent component, AdfUIInputEvent inputEvent, Array rowKeys)
-
Given an array of rowKeys, apply the drag ready state.
|
public Object |
applyDragSourceStateForRowKeys(AdfUIComponent component, AdfUIInputEvent inputEvent, Array rowKeys)
-
Given an array of rowKeys, apply the drag source state.
|
protected void |
ApplyTooltipTitle(HTMLElement target)
-
Utility function that check to see if the content of the cell is clipped.
|
private Object |
_areAllColumnsFrozen(Object columnCount)
|
protected Object |
AutoPPRBlockReceived(Object block)
-
Overridable hook for subclasses to handle an auto-PPR block
|
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()
-
Exported for DVT
|
private Object |
_callCallbackWithStatus(Object callback, Object status)
-
Method to call a callback with a status
|
protected Object |
CancelPendingFetch()
|
public Object |
canDeliverSelectionEvent()
|
private Object |
_changeDetailIcon(Object tr, Object expanded)
|
private Object |
_checkAutoHeightScrollbar(Object dataBody)
-
This fixes bogus scrollbars showing in auto-height mode.
|
private Object |
_checkEnd(Object dataBody)
|
private Object |
_checkForScrollableLastBlockInViewport(Object dataBody)
-
check that if we have the last block in the dataBody the size of the canvas is at least the size required to display the last block, otherwise user can never scroll to the bottom most rows
|
private Object |
_checkLoadMore()
|
private Object |
_checkMoreHasRows(Object dataBody, Object top)
|
private Object |
_checkScrollbarHidingAffordance()
|
private Object |
_checkStart(Object dataBody)
|
private Object |
_checkViewportSize(Object dataBody)
|
protected Object |
ChildVisibilityChanged(Object childComponent, Object childDomElement, Object childVisible)
-
Override to PPR the component when a column is hidden
|
private Object |
_cleanClonedRow(Object tr, Object rowKey)
|
private Object |
_cleanUpAdsNode(String childClientId)
-
Called by ADS clean up timer.
|
private Object |
_cleanUpAfterColumnReorder()
|
private Object |
_cleanUpDataFetchElement(Object oldElement)
-
clean up the table element used to fetch blocks from the server.
|
private Object |
_clearColumnSelectionEventAddedSet()
-
clear selected column client id array
|
private Object |
_clearColumnSelectionEventChangedSets()
-
clear selected and unselected columns client id arrays
|
private Object |
_clearColumnSelectionEventRemovedSet()
-
clear unselected column client id array
|
protected Object |
ClearDragReadyState(Object dragReadyObj)
-
Called by the framework to clear the drag ready state.
|
protected Object |
ClearDragSourceState(Object dragSourceObj)
-
Called by the framework to clear the drag source state
|
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
|
static number |
__columnSortComparator(Object x, Object y)
-
An internal comparator function to help in sorting a list of columns based on their minimumWidth.
|
protected Object |
ComponentActiveRowKeyChanged(Object component, Object domElement, Object newValue, Object oldValue)
-
Handle active row key change
|
protected Object |
ComponentDisclosedRowKeysChanged(Object component, Object domElement, Object newValue, Object oldValue)
|
protected Object |
ComponentFirstChanged(AdfUIComponent component, DomElement domElement, Object newValue, Object oldValue)
-
Handle component property change notification for the "first" attribute
|
protected Object |
ComponentRemoved(AdfUIComponent component)
-
Handles the removal of a component.
|
protected Object |
ComponentRowsChanged(Object component, Object domElement, Object newValue, Object oldValue)
|
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)
|
private Object |
_computeAutoHeight()
-
Returns the total offsetHeight of the autoheight rows.
|
private Object |
_computeInitialScrollTop(Object component, Object firstBlock, Object startRow, Object canvasHeight, Object dataBodyHeight, Object blockHeight)
|
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 |
_copyCellWidths(Object sourceRow, Object targetRow)
|
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 |
_createStrechColumnData(Object index, Object column, Object firstRow)
-
Creates a data structure used in the multiple column stretching use case index The index of the column column The column component to create the structure for (may be null) firstRow the first row in the table
|
protected Object |
DeleteBlock(Object startRow, Object numRows, Object totalRows, Object remainingBlocks, Object deletedElems)
|
private Object |
_deleteOffscreenBlocks(Object dataBody, Object viewportHeight, Object newlyAdded)
|
protected void |
DescendantMessageChanged()
-
Invoked when faces messages are added or removed for descendant components.
|
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 event, Object indices, Object ids)
-
This is for selecting column groups
|
private Object |
_doColumnStretching(Object columnStretching, Number iterationCount)
-
Does the actual work of columns stretching
|
private Object |
_doDisclosureAnimation(Object cellToAnimate, Object animDuration, Object expanded)
|
private Object |
_doFocusTimeout()
|
private void |
_domReplacedListener(Object event)
-
Captures the busy state event and applies it to the dialog buttons.
|
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 event, Object rowKey, Object row)
|
private Object |
_doStretch(Object p)
|
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)
|
private Object |
_findADSInsertLocation(Object anchorKey, Object insertType, Object blocks)
-
Returns the index at which to insert the new row
|
protected Object |
FindCellByIndex(Object row, Object index)
|
private Object |
_findCellContainingChild(Object childNode)
-
Returns the HTML Table Cell that directly below row, containing the child
|
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 |
_fixClonedClientId(Object baseClientId, Object rowKey)
|
private Object |
_fixElementIds(Object element, Object rowKey)
|
private Object |
_fixOuterHeight()
-
Sets CSS height property if the component was auto-sized initially
|
Object |
__fixPanelCollectionDimensions(Object detachPPR)
|
private Object |
_forceRelayoutDataBody()
-
Hack to force a relayout of the data body cells
|
private Object |
_freezeColumnsToEnd()
|
private Object |
_freezeColumnsToStart()
|
private Object |
_getActiveMessageBuffer()
|
private Object |
_getActiveRowKey()
|
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)
|
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()
|
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)
|
Object |
__getColumnHeaderMouseAction(Object domEvent)
|
private Object |
_getColumnResizeIndicator()
|
Object |
__getColumnResizeMargin()
|
Object |
__getCurrentScrollLeft()
|
protected Object |
GetDataBody(Object rootDomElement)
|
private Object |
_getDisclosureIcon(Object element)
-
Returns the override disclosure image, if one is found.
|
private Object |
_getDomNodesForDrag(Object rowKeys)
-
Get all the table columns that should be used for the drag ready state or the drag ghost.
|
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
|
Object |
__getElemBySubId(Object sub, Object rootDomElement)
-
Gets an element belonging to this peer based on the root DOM element.
|
private Object |
_getEstimatedRowCount(Object block)
|
private Object |
_getExpandAction(Object target)
|
protected Number |
GetFirst()
-
Returns the "first" row
|
Object |
__getFirstFrozen()
|
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()
|
Object |
__getLastFrozen()
|
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 Object |
_getLoadMore(Object top)
|
private Number |
_getNavBarPageRow(DomElement target, String suffixId)
-
returns true if the target is a navigation link to go to a page in the navigation bar
|
private Object |
_getNavigationBar()
|
private 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 |
_getParentMatchingId(DomElement domElem, String id)
-
Walk up the parent hierarchy and find an element with matching id
|
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()
-
Exported for DVT
|
private Object |
_getRowCountWithDisclosedDetailStampRow(Object dataBody)
-
Get total row count of table data body including disclosed detail stamp rows
|
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.
|
protected Number |
GetRows()
-
Returns the "rows" attribute
|
private Object |
_getRTLScrollAdjustment()
|
private Object |
_getScrollbarHeight()
|
private Object |
_getScrollbarWidth()
|
Object |
__getScrollDimensions()
|
protected Object |
GetScroller()
|
private Object |
_getScrollerClientHeight()
|
private Object |
_getScrollerClientWidth()
|
Object |
__getScrollerDimensions()
|
private Object |
_getScrollerOffsetHeight()
|
private Object |
_getScrollerOffsetWidth()
|
private Object |
_getScrollHeight()
|
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)
-
Returns the row header node by starting at the target node, walking up the parent hierarchy until it reaches the first row header or the root dom element for the peer.
|
protected Object |
GetTemplateRow(Object blocks)
-
Get the template that will be cloned.
|
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.
|
private Object |
_getUnfrozenColumnsWidth()
|
private Object |
_getVerticalScrollBarWidth()
|
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 |
_handleAutoPPRDataFetch(Object newElement, Object blocks, Object dataBody, Object empty)
|
protected Object |
HandleAutoPPRRemove(Object block)
-
Handle an autppr remove fetch type.
|
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)
|
Object |
__handleColumnResizing(Object componentEvent, Object headerAction)
-
Handle column resizing for a given component event
|
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)
|
private Object |
_handleComponentEventForFilterCell(Object componentEvent)
-
Check if the event is for the table filter field and if it propagates to the server.
|
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 |
HandleComponentMouseUp(Object componentEvent)
-
To be called from the sub-classes for mouseup or touchend based on the agent
|
protected Object |
HandleComponentValueChange(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 |
_handleEmptyTextBlock(Object newElement, Object dataBody)
|
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 |
_handleFilterCellAction()
|
private Object |
_handleFirstClick(Event domEvent)
-
First range link click handler
|
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 |
_handleIrrelaventFetchBlocks(Object newElement, Object oldElement, Object blocks)
-
Handles blocks that are fetched but not relavent because user scrolls off using random jumps
|
private void |
_handleKeyboardContextMenu(Event domEvent, Boolean alwaysShow)
-
Handle keyboard launched context menu.
|
private Object |
_handleKeyboardSort(Object sortType)
-
Sort the column which currently has focus
|
Object |
__handleLoadMoreItemsClick(Event domEvent, DomElement target)
-
Handle Clicks on Show More items
|
private Object |
_handleLongJump(Object dataBody, Object viewportHeight, Object delay, Object isScroll)
|
private static Object |
_handleMouseWheel(Object evt)
|
Object |
__handleNavBarItemsClick(Event domEvent, DomElement target)
-
Handle Clicks on Data Navigation Bar items
|
private Object |
_handleNextClick(Event domEvent)
-
Next range link click handler
|
private Object |
_handlePageDown(Object altKey, Object ctrlKey, Object shiftKey)
|
private Object |
_handlePageRowClick(Number row, Event domEvent)
-
Page number link click handler
|
private Object |
_handlePageUp(Object altKey, Object ctrlKey, Object shiftKey)
|
private Object |
_handlePrevClick(Event domEvent)
-
Previous range link click handler
|
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)
|
private Object |
_handleTabKeyInCTEDetailRegion(Object target)
|
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, Object delay)
|
private Object |
_hasColumnSelectionEventChangedSets()
-
check for newly selected/unselected columns
|
private Object |
_hasFrozenColumn()
|
private Object |
_hasRefreshAutoPPRBlock(Object blocks)
|
private Object |
_hasScroller(Object scroller)
|
private Object |
_hasSingleScroller()
|
private Object |
_hideColumnSortableIndicator(Object agent, Object th)
|
private Object |
_hideDragColumnFooter(Object reorderIndex, Object colSpan)
-
Column Reordering
|
private Object |
_hideElement(Object element)
|
private Object |
_hideReorderColGroupCols(Object table, Object reorderIndex, Object colSpan, Object isBlock)
-
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 |
_initLoadMore()
|
private Object |
_initNavBar()
-
Initializes the navigation bar and caches its height
|
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 insertType)
|
protected Object |
InsertBlock(Object newBlock, Object startIndex, Object size, Object totalInserted, Object remainingBlocks)
|
private Object |
_insertBlockDom(Object dataBody, Object destBlock, Object newBlock, Object startIndex, Object size, Object totalInserted)
-
Inserts the DOM for the block, returning the new split block, if any
|
protected Object |
InsertClonedComponents(Object rootDomNode, Object newRowKey)
-
Clones and adds all of the client components in the base node to the set of client components, using the new rowKey to create their new clientIds;
|
protected Object |
InsertClonedRow(Object templateRow, Object insertAt, Object insertRowKey)
-
Clones the template row and inserts it into the DOM
|
private Object |
_insertEmptyDropColGroupCol(Object table, Object targetIndex, Object targetColSpan, Object insertAfter, Object reorderColWidth, Object emptyDropCells, Object isBlock)
-
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 |
_isColumnFrozen(Object colIndex)
|
private Object |
_isColumnSelectionEnabled()
|
private Object |
_isContainerStretched()
|
public Object |
isDisclosureFetchPending()
|
public Boolean |
isDragAvailable(Object target)
-
Determines if a drag can be initiated on the target node.
|
protected Object |
IsFetchPending()
-
Exported for DVT
|
private Object |
_isFilterable()
-
Query By example Support
|
public Object |
isHeightAutoSized()
|
private Object |
_isImmediateContentDelivery(Object component)
|
private Object |
_isInlineDataAvailable(Object component)
|
protected Object |
IsInsertAllowed(Object insertIndex)
-
Determine whether insertion is allowed at the current location
|
private Object |
_isLinkDisabled(Object element)
|
private Object |
_isMultipleColumnSelect()
|
private Object |
_isMultipleRowSelect()
|
private Object |
_isMultipleRowSelectNoSelectAll()
|
private Object |
_isNavBarLink(DomElement target, String suffixId)
-
returns true if the target is a link(first, next, previous, last) in the navigation bar
|
protected Boolean |
IsNodeStampCell(HTMLElement cell)
-
Tests whether the specified element is a node stamp cell.
|
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 |
_isScrollerBottom()
|
private Object |
_isScrollerRight()
|
private Object |
_isScrollerTop()
|
private Object |
_isTargetCellEditable(Object node)
-
Returns a boolean true if the node is editable or is inside a parent node that is editable.
|
private Object |
_isTargetCellFilter(Object node)
|
private Object |
_isTargetNavigable(Object node)
|
private Object |
_isTargetTextOnlyNode(Object domNode)
-
Returns true if the target is a SPAN that wraps a text node, and either has the expando attribute _CELL_DATA_KEY or its first child is a text node
|
private Object |
_isViewportSatisfied(Object dataBody, Object viewportHeight)
|
private Object |
_loadMoreFetch(boolean bottom)
-
Do a fetch for load more
|
private Object |
_markAsActive(HTMLElement td, string childClientId)
-
Sets up an Active Data parent node for visual indication that it is updated.
|
private static int |
_maxMessageType(String clientId)
|
protected Object |
MaxOfRerender(Object rerender1, Object rerender2)
-
Given two rerender operations, return the one with the higher priority.
|
private Object |
_mergeSelectedRowKeys(Object inState1, Object inState2, Object outState, Object inState1Size)
-
merge the selected row key state from inState1 and inState2 into outState.
|
public Object |
needsChildVisibilityChanges(Object component)
-
The AdfDhtmlTableBasePeer 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 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 |
_processColGroup()
|
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 |
_queueColumnSelectionEvent()
|
private Object |
_queueDescendantResize()
|
private Object |
_queueExpandFetchEvent()
|
private Object |
_queueFetchEvent(Object renderOnly, Object subtype, Object index, Object key)
|
protected Object |
QueueRangeChangeEvent(Number oldValue, Number newValue)
-
Queue a range change event in response to the first property being changed
|
protected Object |
RegisterFirstPropertyChange()
-
Registers the property change for "first" attribute
|
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, Object detailRow)
|
private Object |
_repositionBlocksForScroll(Object dataBody)
|
private Object |
_resetActiveMessageBuffer()
|
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)
|
private Object |
_resizeNavBar(Object newWidth, Object newHeight)
-
Resizes the Navigation Bar by hiding/showing items
|
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 Object |
_restoreHorizontalScrollBarForIE8(Object minHeightIncr)
|
private Object |
_restoreSavedDisclosureState()
|
Object |
__restoreScrollerPositions(Object scrollLeft, Object scrollTop)
|
private Object |
_restoreScrollPosition()
|
private static Object |
_restoreSelectedItemOnArrowNav(Object params)
|
private Object |
_rowIndexToBlock(Object rowIndex)
-
Returns the block for a given row index.
|
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, Object delay)
-
Scrolls the table peer to a particular position.
|
public Object |
scrollToRowIndex(Object index, Object callback)
-
API to scroll the table to a specific row index in the table.
|
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, Object queueEvent)
|
private Object |
_selectColumnRange(Object indicesStart, Object idsStart, Object indicesEnd, Object idsEnd)
|
private Object |
_selectInputOnMouseUp(Object targetNode)
|
private Object |
_selectRowForTimer(Object params)
|
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)
|
public Object |
setBusy(Object component, Object isBusy)
-
Overridden to not support setBusy for certain user-agents since it causes the scrollbars to be reset
|
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)
|
protected Object |
SetNewBlockScrollLeft(Object node)
-
When a block of data is inserted into a table with frozen column and if the data is scrolled we want to scroll the inner tables for new block of data
|
private Object |
_setOuterHeightForBodyHeight(Object bodyHeight)
-
Expand/shrink the outer height to resize the dataBody to the given bodyHeight.
|
protected Object |
SetRows(Object rows)
-
Overridable method to set visible rows
|
private Object |
_setScrollerHeight(Object outerClientHeight, Object chHeight, Object cfHeight, Object nbHeight)
|
private Object |
_setScrollerTop(Object top)
|
private Object |
_setScrollerWidth(Object outerClientWidth, Object frozenWidth)
|
private Object |
_setScrollLeft(Object scrollLeft)
|
private Object |
_setScrollTop(Object scrollTop)
|
public Object |
setSelectedRowKeysWithoutEvent(Object keys)
-
this will restore the set the row selection without firing any event
|
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 clientWidth, Object clientHeight)
|
private Object |
_sizeOuterContainer(Object container, Object newHeight)
|
private Object |
_sizeRegionsForFrozenColumns(Object dataBody, Object dataBodyWidth)
|
private Object |
_skipScrollRequest()
|
private Object |
_splitBlock(Object block, Object splitIndex)
-
Splits a block such that all of the rows after the insertion position are in the returned block
|
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()
-
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 |
_syncDataBodyHeightsTimeout(Object component)
|
private Object |
_synchronizeColumnRowHeights(Object hDiv, Object table1Id, Object div2Id, Object table2Id)
|
private Object |
_synchronizeRowHeights(Object block)
|
private Object |
_truncateBlock(Object block, Object deleteIndex)
-
Truncates a block, removing all of the rows, starting that the deleteIndex relative to the block start
|
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()
|
private Object |
_unregisterNode(Object node)
|
private Object |
_unSelectAllColumns()
|
private Object |
_unSelectColumn(Object index, Object col, Object queueEvent)
|
protected Object |
UpdateActiveRow(Object message)
-
Updates the components on a row with the active data and returns whether and how to perform any additional rerendering
|
private Object |
_updateAutoPPRActiveRowKey(Object block)
|
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 |
_updateLoadMoreItemsRangeText(Object start, Object end, Object rowCount, Object top)
|
private Object |
_updatePCState()
|
protected Object |
UpdateRange(Object initialization)
|
private Object |
_updateTableSelectionState(Object state)
|
private Object |
_userDragStretchedColumns(Object newWidth, Object oldWidth, Object firstRow, Object resizedColumnsInfo, Object leafColumns, Object columnStretchingType)
-
This is the algorithm we will use when columnStretching is on (other than blank as that is not really stretching).
|