# JavaScript API Reference for Oracle ADF Faces

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

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

# oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlGoMenuItemPeer

## Warning:

- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.

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

    public class AdfDhtmlGoMenuItemPeer
    extends AdfRichUIPeer

Peer Implementation for goMenuItem

## Field Summary
`private Object` | `_enterKeyDown`
`private Object` | `_spaceKeyDown`

### 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` | `AdfDhtmlGoMenuItemPeer()` Peer Implementation for goMenuItem

## 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` | `ComponentVisibleChanged(Object component, Object domElement, Object newValue, Object oldValue)` Override for extra visible state change handling.
`private Object` | `_deselectElement()` Deselects the element.
`private Object` | `_execute()` Turns component-level clicks into Action events.
`protected Object` | `GetComponentText(Object component, Object domElement)` Optimized getter for text property
`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` | `HandleComponentKeyUp(Object componentEvent)` Component keyboard key up event handler.
`protected Object` | `HandleComponentMouseDown(Object componentEvent)`
`protected Object` | `HandleComponentMouseOut(Object componentEvent)`
`protected Object` | `HandleComponentMouseOver(Object componentEvent)` Mouse over handler.
`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()`
`Object` | `__preferredSizeChangeNotify(AdfUIComponent component)` Notification that the components preferred size has changed.

### Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, BindToComponent, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, ClearDragSourceState, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, domReplaceNotify, DomReplaceNotify, focus, Focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, GetBestMatchSubId, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDomRootNodes, GetDomRootNodes, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, GetElementToReplaceWithSVG, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, GetInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetReadyState, GetRichResourceURL, getSubIdDomElement, GetSubIdDomElement, hideAllPopups, hidePopup, InitClass, initialize, isAbsoluteLocatorCacheable, isActive, isBusy, isComponentContainedByElement, isInActiveHeirarchy, isInlineSVGIcon, isPopupVisible, messageNotify, MessageNotify, messageShow, MessageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, PopupClosed, processPushData, ProcessPushData, registerADSAccessibility, RegisterADSAccessibility, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, ResizeNotify, scrollIntoView, ScrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, UpdateMessageType, 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, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString`

## Field Detail

### _enterKeyDown

`private Object _enterKeyDown`

### _spaceKeyDown

`private Object _spaceKeyDown`

## Constructor Detail

### AdfDhtmlGoMenuItemPeer

`public AdfDhtmlGoMenuItemPeer()`
  Peer Implementation for goMenuItem

## 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)`

### ComponentVisibleChanged

`protected Object ComponentVisibleChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)`
  Override for extra visible state change handling.
  Parameters:

    `component` |  |
    `domElement` |  |
    `newValue` |  |
    `oldValue` |  |

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.ComponentVisibleChanged(Object, Object, Object, 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`

### GetComponentText

`protected Object GetComponentText(Object component,
Object domElement)`
  Optimized getter for text property
  Parameters:

    `component` |  |
    `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`

### 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)`
  Mouse over handler.
  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`

### __preferredSizeChangeNotify

`Object __preferredSizeChangeNotify(AdfUIComponent component)`
  Notification that the components preferred size has changed. This is needed for menuBars that use cached size values, and need to be notified when sizes change due to delayed image delivery. This is a temporary method and fix for bug 12801770, to be replaced by er 9491549 fix.
  Parameters:

    `component` | - | the associated component (not necessarily bound) identified as having a preferred size change.

  Return:
    `Object`

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.