OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlNavigationPanePeer

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.rich.AdfDhtmlNavigationPanePeer

public class AdfDhtmlNavigationPanePeer
extends AdfRichUIPeer
make AdfDhtmlNavigationPanePeer a subclass of AdfRichUIPeer



Field Summary

private static Object
_BAR_HINT
private static Object
_CHOICE_BUTTON_ID
private static Object
_CHOICE_DATA_CONTAINER_ID
private Object
_isScreenReaderMode
private static Object
_OVERFLOW_BOTH_SIDES
private static Object
_OVERFLOW_CONTENT
private static Object
_POPUP_CLOSED_TIME
private static Object
_POPUP_ID
private static Object
_POPUP_PANEL_ID
private static Object
_TAB_HEADER
private static Object
_TAB_HINT


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
AdfDhtmlNavigationPanePeer()
make AdfDhtmlNavigationPanePeer a subclass of AdfRichUIPeer


Method Summary

private Object
_addSeparators(Object children, Object index, Object afterselect)
This function will add the separator for the hint=bar
protected Object
ComponentRemoved(Object component)
Handles the removal of a component.
private Object
_createBarOverflowElement(Object element)
This function will create the overfow elements for hint=bar
private Object
_createTabOverflowElement(Object element)
This function will create the overfow elements for hint=tabs
private Object
_getActiveChildIndex(Object children)
This function will return the active child index or 0 if no active child is there for hint=bar
private Object
_getChoiceDropDownElement(Object component)
This method returns the dom element for the dropdown for hint=choice
protected Object
GetPopupAlignmentNode(Object component, Object rootNode)
Returns the node for which to aling the note help window
private Object
_getPopupContentDom(Object component)
private Object
_getTabOverflowSupport(Object subId, Object children)
protected Object
HandleComponentClick(Object componentEvent)
Eat events to prevent button press causing form submit
protected Object
HandleComponentKeyDown(Object componentEvent)
component key down event handler.
protected Object
HandleComponentKeyUp(Object componentEvent)
protected Object
HandleComponentMouseDown(Object componentEvent)
component mouse over event handler.
protected Object
HandleComponentMouseOver(Object componentEvent)
This will be required to focus the choice item in the list when mouse will be over the item to move the focus to that item.
private Object
_handleNavItemClick(Object event)
This function will handle the Tab Click Event
private Object
_handleRemoveButtonClick(Object event)
This function will handle remove button click event (from overflow)
protected Object
InitDomElement(Object component, Object domElement)
Initialize dom element
protected static Object
InitSubclass()
Initialize the peer class & event handlers
public Object
needsResizeNotify(Object component)
Override to indicate interest in resize notifications
protected Object
PopupClosed(Object component, Object contentDom, Object popupId)
Call back method called when the popup choice list is closed.
protected Object
ResizeNotify(Object oldWidth, Object oldHeight, Object newWidth, Object newHeight)
Resize notification callback - we perform geometry management here
private Object
_showChoicePopupPanel(Object component)
This method displays the popup choice list for hint=choice


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

addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, ComponentInlineStyleChanged, ComponentPropertyChanged, 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, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, Init, InitClass, initialize, isActive, isInActiveHeirarchy, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, processPushData, ProcessPushData, registerKeyStroke, replaceDomElement, ReplaceDomElement, 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


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

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


Field Detail


_BAR_HINT

private static Object _BAR_HINT

_CHOICE_BUTTON_ID

private static Object _CHOICE_BUTTON_ID

_CHOICE_DATA_CONTAINER_ID

private static Object _CHOICE_DATA_CONTAINER_ID

_isScreenReaderMode

private Object _isScreenReaderMode

_OVERFLOW_BOTH_SIDES

private static Object _OVERFLOW_BOTH_SIDES

_OVERFLOW_CONTENT

private static Object _OVERFLOW_CONTENT

_POPUP_CLOSED_TIME

private static Object _POPUP_CLOSED_TIME

_POPUP_ID

private static Object _POPUP_ID

_POPUP_PANEL_ID

private static Object _POPUP_PANEL_ID

_TAB_HEADER

private static Object _TAB_HEADER

_TAB_HINT

private static Object _TAB_HINT

Constructor Detail


AdfDhtmlNavigationPanePeer

public AdfDhtmlNavigationPanePeer()

make AdfDhtmlNavigationPanePeer a subclass of AdfRichUIPeer

Method Detail


_addSeparators

private Object _addSeparators(Object children,
                              Object index,
                              Object afterselect)

This function will add the separator for the hint=bar

Parameters:
children    
index    
afterselect    
Return:
Object

ComponentRemoved

protected Object ComponentRemoved(Object component)

Handles the removal of a component.

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.componentRemoved(AdfUIComponent)

_createBarOverflowElement

private Object _createBarOverflowElement(Object element)

This function will create the overfow elements for hint=bar

Parameters:
element    
Return:
Object

_createTabOverflowElement

private Object _createTabOverflowElement(Object element)

This function will create the overfow elements for hint=tabs

Parameters:
element    
Return:
Object

_getActiveChildIndex

private Object _getActiveChildIndex(Object children)

This function will return the active child index or 0 if no active child is there for hint=bar

Parameters:
children    
Return:
Object

_getChoiceDropDownElement

private Object _getChoiceDropDownElement(Object component)

This method returns the dom element for the dropdown for hint=choice

Parameters:
component    
Return:
Object - the DOM element of the drop down icon

GetPopupAlignmentNode

protected Object GetPopupAlignmentNode(Object component,
                                       Object rootNode)

Returns the node for which to aling the note help window

Parameters:
component    
rootNode    
Return:
Object

_getPopupContentDom

private Object _getPopupContentDom(Object component)

Parameters:
component    
Return:
Object

_getTabOverflowSupport

private Object _getTabOverflowSupport(Object subId,
                                      Object children)

Parameters:
subId    
children    
Return:
Object

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Eat events to prevent button press causing form submit

Parameters:
componentEvent    
Return:
Object

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

component key down event handler.

Parameters:
componentEvent  -  the component event invoked by key down
Return:
Object

HandleComponentKeyUp

protected Object HandleComponentKeyUp(Object componentEvent)

Parameters:
componentEvent  -  Key Up event Implements keyboard handling for the peer, e.g. Esc cancels the dialog
Return:
Object

HandleComponentMouseDown

protected Object HandleComponentMouseDown(Object componentEvent)

component mouse over event handler.

Parameters:
componentEvent  -  the component event invoked by mouse over
Return:
Object

HandleComponentMouseOver

protected Object HandleComponentMouseOver(Object componentEvent)

This will be required to focus the choice item in the list when mouse will be over the item to move the focus to that item.

Parameters:
componentEvent  -  the component event invoked by mouse over
Return:
Object

_handleNavItemClick

private Object _handleNavItemClick(Object event)

This function will handle the Tab Click Event

Parameters:
event    
Return:
Object

_handleRemoveButtonClick

private Object _handleRemoveButtonClick(Object event)

This function will handle remove button click event (from overflow)

Parameters:
event  -  the event
Return:
Object

InitDomElement

protected Object InitDomElement(Object component,
                                Object domElement)

Initialize dom element

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

InitSubclass

protected static Object InitSubclass()

Initialize the peer class & event handlers

Return:
Object

needsResizeNotify

public Object needsResizeNotify(Object component)

Override to indicate interest in resize notifications

Parameters:
component    
Return:
Object
Overrides:
AdfUIPeer.needsResizeNotify(Object)

PopupClosed

protected Object PopupClosed(Object component,
                             Object contentDom,
                             Object popupId)

Call back method called when the popup choice list is closed. This is used to do clean up after close

Parameters:
component    
contentDom    
popupId    
Return:
Object
Overrides:
AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)

ResizeNotify

protected Object ResizeNotify(Object oldWidth,
                              Object oldHeight,
                              Object newWidth,
                              Object newHeight)

Resize notification callback - we perform geometry management here

Parameters:
oldWidth    
oldHeight    
newWidth    
newHeight    
Return:
Object
Overrides:
AdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)

_showChoicePopupPanel

private Object _showChoicePopupPanel(Object component)

This method displays the popup choice list for hint=choice

Parameters:
component    
Return:
Object

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

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.