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)
|
protected Object |
AdjustAutoHeight()
-
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)
|
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)
|
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()
|
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 |
_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 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
|
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 |
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)
|
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
|
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, Object newlyAdded)
|
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 |
_doColumnStretching(Object columnStretching, Number iterationCount)
-
Does the actual work of columns stretching
|
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 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)
|
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(Object detachPPR)
|
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 |
_getEstimatedRowCount(Object block)
|
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 |
_getRTLScrollAdjustment()
|
private Object |
_getScrollbarHeight()
|
private Object |
_getScrollbarWidth()
|
protected Object |
GetScroller()
|
private Object |
_getScrollerClientHeight()
|
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 |
_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)
|
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)
|
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()
|
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
|
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)
|
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)
|
private Object |
_hasColumnSelectionEventChangedSets()
-
check for newly selected/unselected columns
|
private Object |
_hasRefreshAutoPPRBlock(Object blocks)
|
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 |
_isTargetNavigable(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 |
_queueColumnSelectionEvent()
|
private Object |
_queueDescendantResize()
|
private Object |
_queueExpandFetchEvent()
|
private Object |
_queueFetchEvent(Object renderOnly, Object subtype, Object index, Object key)
|
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 |
_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 Object |
_restoreSavedDisclosureState()
|
Object |
__restoreScrollerPositions(Object scrollLeft, Object scrollTop)
|
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, Object queueEvent)
|
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)
|
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)
|
private Object |
_setScrollerTop(Object top)
|
private Object |
_setScrollerWidth(Object outerClientWidth, 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 clientWidth, Object clientHeight)
|
private Object |
_sizeOuterContainer(Object container, Object newHeight)
|
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()
-
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)
|
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, Object queueEvent)
|
protected Object |
UpdateActiveRow(Object message, Object tr)
|
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 |
_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).
|