OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.screenReader
Class AdfDhtmlColumnPeer

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.base.AdfUIPeer
               |
               +--oracle.adf.view.js.laf.rich.AdfRichUIPeer
                     |
                     +--oracle.adfinternal.view.js.laf.dhtml.screenReader.AdfDhtmlColumnPeer

public class AdfDhtmlColumnPeer
extends AdfRichUIPeer
Renders a Table Column.



Field Summary

private static Object
_COL_SELECTION_INPUT_ID
private Object
_colSelEventSelectedColIds
private Object
_colSelEventUnselectedColIds
private static Object
_SORT_ANCHOR_SUBID
private static Object
_SORTED_ASCENDING
private static Object
_SORTED_DESCENDING
private static Object
_SORTED_TYPE
private static Object
_SUB_ID_MAP
column component publishes the following sub ids 1.


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

addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlColumnPeer()
Renders a Table Column.


Method Summary

private Object
_clearAllColumnSelection(Object target)
Clear all column selection
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
ComponentWidthChanged(Object component, Object domElement, Object newValue, Object oldValue)
Handle component width property change.
protected Object
GetComponentDisplayIndex(Object component, Object domElement)
Optimized getter implementation for the displayIndex
private Object
_getParentTableComponent()
Return the parent table client component
private Object
_getParentTableElement(Object target)
Walk up the parent hierarchy and find the table element
private Object
_getParentTH(Object target)
Walk up the parent hierarchy and find a th element with a display index expando
private Object
_getParentWithAttr(Object domElem, Object attr)
Walk up the parent hierarchy and find an element with the given attribute
private Object
_getParentWithId(Object domElem, Object id)
Walk up the parent hierarchy and find a th element with a display index expando
private Object
_getSortAnchorElement()
Return the sort anchor element for this column
private Object
_getSortElement()
protected Object
GetSubIdDomElement(Object subElementId)
This function returns the dom element of the child element for the provided component; associated with the sub id.
protected Object
HandleComponentClick(Object componentEvent)
Mouse click handler to handle column selection change, and sort
protected Object
HandleComponentKeyDown(Object componentEvent)
private Object
_handleKeyboardSort(Object event, Object sortType)
Sort this column (if sortable)
private Object
_hasColumnSelectionEventChangedSets()
check for newly selected/unselected columns
protected Object
InitDomElement(Object component, Object domElement)
Initialize the associated domElement when the peer is created.
protected static Object
InitSubclass()
private Object
_isColumnSelectionElement(Object target)
Is target the column selection input element
private Object
_isSortAnchorElement(Object target)
Is target the sort anchor element in column header
private Object
_queueColumnSelectionEvent()
Queue a column selection event.
private Object
_resolveColumns(Object th)
Resolves a mouse click event to column indexes.
Object
__selectColumn()
Package scope method to select this column


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, CreateDraggableNode, createPeerClass, createSubId, CreateSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, visitChildren


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

getDefaultDragRecognizer, getParentPeer, initiateDrag, isVisible, needsResizeNotify


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

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


Field Detail


_COL_SELECTION_INPUT_ID

private static Object _COL_SELECTION_INPUT_ID

_colSelEventSelectedColIds

private Object _colSelEventSelectedColIds

_colSelEventUnselectedColIds

private Object _colSelEventUnselectedColIds

_SORT_ANCHOR_SUBID

private static Object _SORT_ANCHOR_SUBID

_SORTED_ASCENDING

private static Object _SORTED_ASCENDING

_SORTED_DESCENDING

private static Object _SORTED_DESCENDING

_SORTED_TYPE

private static Object _SORTED_TYPE

_SUB_ID_MAP

private static Object _SUB_ID_MAP

column component publishes the following sub ids 1. [sort_indicator_ascending --> sort_indicator_ascending] - sort indicator icon for ascending 2. [sort_indicator_descending --> sort_indicator_descending] - sort indicator icon for descending 3. [filter_field --> filter_field] - filter field for this column. Applies only to the filter fields. For filter facet, use the component inside the facet 4. [header_text --> header_text] - The header text for this column 5. [filter_label --> the label for a filter field, if present (mapped programmatically)]

Constructor Detail


AdfDhtmlColumnPeer

public AdfDhtmlColumnPeer()

Renders a Table Column.

Method Detail


_clearAllColumnSelection

private Object _clearAllColumnSelection(Object target)

Clear all column selection

Parameters:
target    
Return:
Object

_clearColumnSelectionEventAddedSet

private Object _clearColumnSelectionEventAddedSet()

clear selected column client id array

Return:
Object

_clearColumnSelectionEventChangedSets

private Object _clearColumnSelectionEventChangedSets()

clear selected and unselected columns client id arrays

Return:
Object

_clearColumnSelectionEventRemovedSet

private Object _clearColumnSelectionEventRemovedSet()

clear unselected column client id array

Return:
Object

ComponentWidthChanged

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

Handle component width property change.

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

GetComponentDisplayIndex

protected Object GetComponentDisplayIndex(Object component,
                                          Object domElement)

Optimized getter implementation for the displayIndex

Parameters:
component    
domElement    
Return:
Object

_getParentTableComponent

private Object _getParentTableComponent()

Return the parent table client component

Return:
Object

_getParentTableElement

private Object _getParentTableElement(Object target)

Walk up the parent hierarchy and find the table element

Parameters:
target    
Return:
Object

_getParentTH

private Object _getParentTH(Object target)

Walk up the parent hierarchy and find a th element with a display index expando

Parameters:
target    
Return:
Object

_getParentWithAttr

private Object _getParentWithAttr(Object domElem,
                                  Object attr)

Walk up the parent hierarchy and find an element with the given attribute

Parameters:
domElem    
attr    
Return:
Object

_getParentWithId

private Object _getParentWithId(Object domElem,
                                Object id)

Walk up the parent hierarchy and find a th element with a display index expando

Parameters:
domElem    
id    
Return:
Object

_getSortAnchorElement

private Object _getSortAnchorElement()

Return the sort anchor element for this column

Return:
Object

_getSortElement

private Object _getSortElement()

Return:
Object

GetSubIdDomElement

protected Object GetSubIdDomElement(Object subElementId)

This function returns the dom element of the child element for the provided component; associated with the sub id.

Parameters:
subElementId    
Return:
Object
Overrides:
AdfRichUIPeer.getSubIdDomElement(Object, Object)

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Mouse click handler to handle column selection change, and sort

Parameters:
componentEvent    
Return:
Object

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

_handleKeyboardSort

private Object _handleKeyboardSort(Object event,
                                   Object sortType)

Sort this column (if sortable)

Parameters:
event    
sortType    
Return:
Object

_hasColumnSelectionEventChangedSets

private Object _hasColumnSelectionEventChangedSets()

check for newly selected/unselected columns

Return:
Object

InitDomElement

protected Object InitDomElement(Object component,
                                Object domElement)

Initialize the associated domElement when the peer is created. Stateless peers are not bound at the time that this method is called.

Parameters:
component    
domElement    
Return:
Object
Overrides:
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)

InitSubclass

protected static Object InitSubclass()

Return:
Object

_isColumnSelectionElement

private Object _isColumnSelectionElement(Object target)

Is target the column selection input element

Parameters:
target    
Return:
Object

_isSortAnchorElement

private Object _isSortAnchorElement(Object target)

Is target the sort anchor element in column header

Parameters:
target    
Return:
Object

_queueColumnSelectionEvent

private Object _queueColumnSelectionEvent()

Queue a column selection event. Clear out the selection changed sets

Return:
Object

_resolveColumns

private Object _resolveColumns(Object th)

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

Parameters:
th    
Return:
Object

__selectColumn

Object __selectColumn()

Package scope method to select this column

Return:
Object

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

 

Generated on 2012.03.28 02:21 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.