|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.2) E76716-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
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.AdfDhtmlListViewPeer
public class AdfDhtmlListViewPeer extends AdfRichUIPeer
Field Summary |
|
---|---|
private static Object |
|
private static Object |
|
private static Object |
|
public static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer |
addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, CreateSubId, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS, SELECTED_STYLECLASS |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
Method Summary |
|
---|---|
private Object |
|
public Object |
|
public Object |
|
private Object |
|
public Object |
|
protected Object |
|
protected Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
public String |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
private Object |
|
private Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private Object |
|
private Object |
|
public HTMLElement |
|
public Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
public Number |
|
public String |
|
private Object |
|
private Object |
|
public Object |
|
public Object |
|
public String |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
protected static Object |
|
public Object |
|
public Boolean |
|
private Boolean |
|
private Object |
|
private Object |
|
private static Object |
|
private Object |
|
private Object |
|
public Object |
|
private Object |
|
protected Object |
|
protected Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private static Object |
|
private Object |
|
private Object |
|
public Object |
|
private Object |
|
private Object |
|
public Object |
|
private Object |
|
private Object |
|
Methods inherited from oracle.adf.view.js.base.AdfUIPeer |
getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible |
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private static Object _ACTION_MODE_ROW_KEY
private static Object _COLLAPSED_GROUP_KEY
private static Object _DROP_TARGET_CLASS
public static Object DW_SUB_ID
private static Object _EXPANDED_GROUP_KEY
private static Object _FETCH_DELAY_TIMEOUT
private static Object _FETCH_INDEX_ATTR
private static Object _FETCH_MORE_DIV
private static Object _FETCH_MORE_LINK
private Object _fetchId
private static Object _GROUP_HEADER_ATTR
private static Object _HIGHLIGHTED_CLASS
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 _INPUT_REGEXP
private static Object _NEEDS_REFRESH_ATTRIBUTE
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 _SELECTED_CLASS
private static Object _UNDO_FETCH_ATTRIBUTE
Constructor Detail |
---|
public AdfDhtmlListViewPeer()
Method Detail |
---|
private Object _addMore(Object clientKey,
Object index)
clientKey |
||
index |
Object
public Object applyDragReadyStateForRowKeys(AdfUIComponent component,
AdfUIInputEvent inputEvent,
Array rowKeys)
component |
- | the component for this peer |
inputEvent |
- | the event that started the dragging. |
rowKeys |
- | array of row keys |
Object
- an object to be passed to the clear methodpublic Object applyDragSourceStateForRowKeys(AdfUIComponent component,
AdfUIInputEvent inputEvent,
Array rowKeys)
component |
- | the component for this peer |
inputEvent |
- | the event that started the dragging. |
rowKeys |
- | array of row keys |
Object
- an object to be passed to the clear methodprivate Object _cancelPendingFetch()
Object
public Object canDeliverSelectionEvent()
Object
protected Object ClearDragReadyState(Object dragReadyObj)
dragReadyObj |
Object
AdfUIPeer.clearDragReadyState(AdfUIComponent, Object)
protected Object ClearDragSourceState(Object dragSourceObj)
dragSourceObj |
Object
AdfUIPeer.clearDragSourceState(AdfUIComponent, Object)
private Object _cloneItemForDrag(Object dragItem)
dragItem |
Object
protected Object ComponentGroupDisclosedRowKeysChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)
component |
||
domElement |
||
newValue |
||
oldValue |
Object
protected Object ComponentSelectedRowKeysChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)
component |
||
domElement |
||
newValue |
||
oldValue |
Object
protected Object ConvertClientIdToLocator(Object component,
Object childComponent,
Object descComponentClientId,
Object replaceArray)
The peer is not bound when this method is called
component |
- | The listView 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 |
Object
AdfRichUIPeer.ConvertClientIdToLocator(Object, Object, Object, Object)
public String convertLocatorToClientId(Object component,
Object itemIndex)
component |
- | The table component for this peer |
itemIndex |
- | the index of the item for the component |
String
- the client id fragment in the below format clientId + ":" + stamped rowKey client Id fragment related to rowIndexAdfUIPeer.convertLocatorToClientId(Object, Object)
private Object _disableActionMode(DomElement target)
target |
- | - dom element where the focus is moved |
Object
private Object _displayStatus(String text)
text |
- | the icon title |
Object
private Object _doItemSelection(Object event,
Object rowKey,
Object item)
event |
||
rowKey |
||
item |
Object
protected Object DomReplaceNotify(Object domNode)
domNode |
Object
AdfRichUIPeer.domReplaceNotify(AdfUIComponent, Object)
private Object _doResizeNotifyOnFetchedChildren(Object insertAfterNode)
insertAfterNode |
Object
private Object _enableActionMode()
Object
private static Object _findFirstChildByTagName(Object parent,
Object name)
parent |
||
name |
Object
private Object _findItemByKey(String rowKey)
rowKey |
- | the rowKey to look for in dom structure |
Object
- an object literal with row and index attributes if the rowkey is found else nullprivate static Object _getChildBySubId(Object parent,
Object sub)
parent |
||
sub |
Object
private Object _getDataBody(Object rootDomElement)
rootDomElement |
Object
private Object _getDomNodesForDrag(Object rowKeys)
rowKeys |
Object
public HTMLElement getDragNodeForRowKeys(Array rowKeys)
rowKeys |
- | the array of rowKeys |
HTMLElement
- the dom element representing the dragged nodespublic Object getDragOffsetForRowKeys(AdfUIInputEvent inputEvent,
Array rowKeys)
inputEvent |
||
rowKeys |
- | the array of rowKeys |
Object
- point with x and y coordinatesprivate Object _getElemBySubId(Object sub,
Object rootDomElement)
sub |
- | the sub ID to identify the sub element |
rootDomElement |
Object
- the found sub element or null if not foundprivate Object _getExpandAction(HTMLElement target)
target |
- | the target of the event |
Object
- String "collapse" or "expand" if the event is on group disclosure icon else nullprivate Object _getFirstRowKeyAndItem()
Object
- object literal with rowKey and the listView items root dom nodeprivate Object _getLastRowKey()
Object
private Object _getNextRowKeyAndItem(String selectedRowKey,
Boolean includeGroupHeader)
selectedRowKey |
- | the rowKey that is currently selected |
includeGroupHeader |
- | is set to true if group header needs to be included |
Object
- object literal with rowKey and the listView items root dom nodeprivate Object _getPreviousRowKeyAndItem(String selectedRowKey,
Boolean includeGroupHeader)
selectedRowKey |
- | the rowKey that is currently selected |
includeGroupHeader |
- | is set to true if group header needs to be included |
Object
- object literal with rowKey and the listView items root dom nodepublic Number getRowIndex(String rowKey)
rowKey |
- | the client side rowKey that identifies a row |
Number
- the index of a row for a row key if is found otherwise -1.getRowKey(Number)
public String getRowKey(Number index)
index |
- | the rowIndex of the row |
String
- the rowKey to identify a row if is found otherwise null.getRowIndex(String)
private Object _getRowKeyAndItem(Object domElement,
Object rootDomElement)
domElement |
||
rootDomElement |
Object
private Object _getRowKeyAndOrientationForPosition(Object pageX,
Object pageY,
Object hints)
pageX |
||
pageY |
||
hints |
Object
public Object getRowKeyAndOrientationFromHints(Number pageX,
Number pageY,
Object hints)
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 |
Object
public Object getRowKeyBounds(String rowKey)
rowKey |
- | to look for |
Object
- object literal with the bounds of the rowKey if found else nullAdfAgent.getElementPageBounds(Object)
public String getRowKeyForEvent(AdfUIInputEvent inputEvent)
inputEvent |
String
- rowKeyprivate Object _getStatusMessage()
Object
private Object _getTargetGroupHeader(DomElement node)
node |
- | the dom node from which the closest row header node is determined. |
Object
- row header node or null.private Object _handleArrowLeftRight(Object arrowLeft,
Object domEvent)
arrowLeft |
||
domEvent |
Object
private Object _handleArrowUpDown(Object arrowUp,
Object domEvent)
arrowUp |
||
domEvent |
Object
protected Object HandleComponentClick(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentFocus(Object componentEvent)
componentEvent |
- | the component event invoked by focus |
Object
protected Object HandleComponentKeyDown(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentMouseOut(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentMouseOver(Object componentEvent)
componentEvent |
Object
private Object _handleDataBodySelectStart(Object evt)
evt |
Object
private Object _handleDataCallback(Object node,
Object pendingFetch,
Object afterNode,
Object component)
node |
||
pendingFetch |
||
afterNode |
||
component |
Object
private Object _handleSpaceBar(Object domEvent)
domEvent |
Object
private Object _handleTabKey(Object domEvent)
domEvent |
Object
private Object _hideStatus()
Object
protected Object InitDomElement(ADfUIComponent component,
HTMLElement domElement)
component |
- | Component that this peer will be associated with |
domElement |
- | Root DOM element of this peer |
Object
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)
protected static Object InitSubclass()
Object
public Object isDisclosureFetchPending()
Object
public Boolean isDragAvailable(Object target)
target |
Boolean
- false if a drag is not available, true otherwise.private Boolean _isInActionMode()
Boolean
- true if the action mode property is not nullprivate Object _isMultipleSelect()
Object
private Object _isOwnComponentEvent(AdfComponentEvent componentEvent)
componentEvent |
- | the component event to test |
Object
private static Object _isRTL()
Object
private Object _isSelectionEnabled(AdfUIComponent component)
component |
- | the listView component |
Object
private Object _isTargetCellEditable(Object node)
node |
Object
public Object needsResizeNotify(Object component)
component |
Object
AdfUIPeer.needsResizeNotify(Object)
private Object _queueFetchEvent(Object subtype,
Object key,
Object index)
subtype |
||
key |
||
index |
Object
protected Object ReplaceDomElement(HTMLElement newElement,
HTMLElement oldElement)
newElement |
- | the new dom element |
oldElement |
- | the old dom element |
Object
AdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)
protected Object ResizeNotify(Object oldWidth,
Object oldHeight,
Object newWidth,
Object newHeight)
oldWidth |
||
oldHeight |
||
newWidth |
||
newHeight |
Object
AdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)
private Object _selectItemRange(Object rowKeyStart,
Object rowKeyEnd)
rowKeyStart |
||
rowKeyEnd |
Object
private Object _selHighlightItem(DomElement item,
Object select)
item |
- | the root dom element for the listview item |
select |
Object
private Object _selIsOnlySelection(Object rowKey)
rowKey |
Object
- Returns true if rowKey is the only current selectionprivate Object _selIsSelected(String rowKey)
rowKey |
- | for a listItem |
Object
private Object _selSelectItem(String rowKey,
DomElement item,
Boolean skipUpdate)
rowKey |
- | the rowKey to select |
item |
- | the root dom element for the listview item |
skipUpdate |
- | whether component property update should be skipped |
Object
private Object _selUnselectAll()
Object
private Object _selUnselectItem(String rowKey,
DomElement item)
rowKey |
- | the rowKey to select |
item |
- | the root dom element for the listview item |
Object
private Object _selUpdateAll(Integer selType)
selType |
- | enum for the selection update. possible values are selType : _SEL_UPDATE_ALL_SELECT - select all itms _SEL_UPDATE_ALL_UNSELECT - unselect all items _SEL_UPDATE_ALL_UPDATE - only update the items |
Object
private static Object _setCursor(Object elem,
Object cur)
elem |
||
cur |
Object
private Object _setFocusRowKey()
Object
private Object _setListItemTabStop(String rowKey)
rowKey |
- | which needs tabstop |
Object
public Object showDragFeedback(AdfDnDContext dndContext,
String rowKey,
Object userAction,
String lastValidRowKey,
Number pageX,
Number pageY,
Boolean dragExit)
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 |
Object
private Object _showItemHoverState(Object componentEvent,
Object show)
componentEvent |
||
show |
Object
private Object _startFetch(Object subtype,
Object key,
Object index)
subtype |
||
key |
||
index |
Object
public Object suppressSelectionEventDelivery(Object freeze)
freeze |
Object
private Object _unclipItem(Object item)
item |
Object
private Object _updateLVSelectionState(Object state)
state |
Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.2) E76716-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |