OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

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.AdfDhtmlCommandMenuItemPeer

public class AdfDhtmlCommandMenuItemPeer
extends AdfRichUIPeer
Peer Implementation for commandMenuItem



Field Summary

private static Object
_AFR_GROUPID


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
AdfDhtmlCommandMenuItemPeer()
Peer Implementation for commandMenuItem


Method Summary

protected Object
ComponentDisabledChanged(Object component, Object domElement, Object newValue, Object oldValue)
protected Object
ComponentRemoved(Object component)
Override to handle unregistering the accelerator keystroke
protected Object
ComponentSelectedChanged(Object component, Object domElement, Object newValue, Object oldValue)
private Object
_deselectElement()
Deselects the element.
private Object
_execute()
Turns component-level clicks into Action events.
protected Object
GetAccessibleName()
Returns a human readable name for the component.
private Object
_getGroupId(Object domElement)
Get the groupId for the specified domElement.
protected Object
HandleComponentBlur(Object componentEvent)
protected Object
HandleComponentClick(Object componentEvent)
protected Object
HandleComponentFocus(Object componentEvent)
protected Object
HandleComponentKeyDown(Object componentEvent)
Component keyboard key down event handler
protected Object
HandleComponentKeyPress(Object componentEvent)
Component keyboard key press event handler
protected Object
HandleComponentKeyUp(Object componentEvent)
Component keyboard key up event handler.
protected Object
HandleComponentMouseDown(Object componentEvent)
protected Object
HandleComponentMouseOut(Object componentEvent)
protected Object
HandleComponentMouseOver(Object componentEvent)
Turns component-level clicks into Action events.
protected Object
HandleComponentMouseUp(Object componentEvent)
protected Object
Init(Object component)
Initializes the instance.
protected Object
InitDomElement(AdfUIComponent component, Object domElement)
Override to handle registering the accelerator keystroke, if any
protected static Object
InitSubclass()
private Object
_isDisabled()
private Object
_toggleRadioGroupItems()
When a radio type item is selected, the other radio items in the group are unselected.


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, 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, 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


_AFR_GROUPID

private static Object _AFR_GROUPID

Constructor Detail


AdfDhtmlCommandMenuItemPeer

public AdfDhtmlCommandMenuItemPeer()

Peer Implementation for commandMenuItem

Method Detail


ComponentDisabledChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

ComponentRemoved

protected Object ComponentRemoved(Object component)

Override to handle unregistering the accelerator keystroke

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

ComponentSelectedChanged

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

Parameters:
component    
domElement    
newValue    
oldValue    
Return:
Object

_deselectElement

private Object _deselectElement()

Deselects the element. This cannot be done only on blur itself because blur is not fired when the window does not have focus.

Return:
Object

_execute

private Object _execute()

Turns component-level clicks into Action events.

Return:
Object

GetAccessibleName

protected Object GetAccessibleName()

Returns a human readable name for the component.

Return:
Object
Overrides:
AdfRichUIPeer.getAccessibleName(Object)

_getGroupId

private Object _getGroupId(Object domElement)

Get the groupId for the specified domElement.

Parameters:
domElement    
Return:
Object

HandleComponentBlur

protected Object HandleComponentBlur(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentClick

protected Object HandleComponentClick(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentFocus

protected Object HandleComponentFocus(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentKeyDown

protected Object HandleComponentKeyDown(Object componentEvent)

Component keyboard key down event handler

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

HandleComponentKeyPress

protected Object HandleComponentKeyPress(Object componentEvent)

Component keyboard key press event handler

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

HandleComponentKeyUp

protected Object HandleComponentKeyUp(Object componentEvent)

Component keyboard key up event handler. Note that arrow keys are handled in KeyDown

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

HandleComponentMouseDown

protected Object HandleComponentMouseDown(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseOut

protected Object HandleComponentMouseOut(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseOver

protected Object HandleComponentMouseOver(Object componentEvent)

Turns component-level clicks into Action events.

Parameters:
componentEvent    
Return:
Object

HandleComponentMouseUp

protected Object HandleComponentMouseUp(Object componentEvent)

Parameters:
componentEvent    
Return:
Object

Init

protected Object Init(Object component)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
component    
Return:
Object
Overrides:
AdfObject.Init()

InitDomElement

protected Object InitDomElement(AdfUIComponent component,
                                Object domElement)

Override to handle registering the accelerator keystroke, if any

Parameters:
component  -  Component that this peer will be associated with
domElement  -  Root DOM element of this peer
Return:
Object
Overrides:
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)

InitSubclass

protected static Object InitSubclass()

Return:
Object

_isDisabled

private Object _isDisabled()

Return:
Object

_toggleRadioGroupItems

private Object _toggleRadioGroupItems()

When a radio type item is selected, the other radio items in the group are unselected.

Return:
Object

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

 

Generated on 2011.04.05 23:36 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.