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 static Object
_SORT_ANCHOR_SUBID
private static Object
_SORTED_ASCENDING
private static Object
_SORTED_DESCENDING
private static Object
_SORTED_TYPE


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

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


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlColumnPeer()
Renders a Table Column.


Method Summary

private Object
_clearAllColumnSelection(Object target)
Clear all column selection
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
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)
protected Object
InitDomElement(Object component, Object domElement)
Initialize the associated domElement when the peer is created.
protected static Object
InitSubclass()
private Object
_isColumnSelection(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
_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, 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, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, 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

_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

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

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

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

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

_isColumnSelection

private Object _isColumnSelection(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

_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 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.