JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1) E52772-01 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||
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.AdfDhtmlMenuBarPeer
public class AdfDhtmlMenuBarPeer extends AdfRichUIPeer
Field Summary |
|
|---|---|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private static Object |
|
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 |
|
Method Summary |
|
|---|---|
private boolean |
|
protected Object |
|
private Object |
|
protected Object |
|
protected Object |
|
public String |
|
private Object |
|
private Object |
|
private Object |
|
public AdfUIComponent |
|
protected Number |
|
private HTMLElement |
|
private HTMLElement |
|
protected Number |
|
private HTMLElement |
|
private Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
private static Object |
|
protected Object |
|
protected static Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
public Object |
|
public Object |
|
protected Object |
|
Object |
|
public Object |
|
protected Object |
|
private Object |
|
private Object |
|
protected Object |
|
private Object |
|
private Object |
|
public Object |
|
Methods inherited from oracle.adf.view.js.base.AdfUIPeer |
getDefaultDragRecognizer, getParentPeer, Init, initiateDrag, isVisible |
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 |
|---|
private Object _activeDescendantprivate Object _childContainersprivate Object _isOverflowSupportedprivate Object _overflowContainerprivate static Object _sOpenedPopups
Constructor Detail |
|---|
public AdfDhtmlMenuBarPeer()
Method Detail |
|---|
private boolean _canMoveFocus()boolean - can we move focusprotected Object ChildVisibilityChanged(Object childComponent,
Object childDomElement,
Object childVisible)needsChildVisibilityChanges to return true. The peer can use the child's component, domElement, and new visibility parameters to determine whether it needs to handle the visibility change rather than letting the default implementation of hiding or showing the child. If the peer will handle the change (often by marking itself as needing to be redrawn, it should perform whatever work is necessary and return true from this method.
Overrides of this method should be aware that when this method is called, the child component's peer may no longer be bound to the child component (for example, if both the child and parent component peers are the same instance).
Overrides of this method should use the childDomElement parameter to determine whether the passed in childComponent is actually a direct descendant of the parent component.
childComponent |
||
childDomElement |
||
childVisible |
ObjectAdfRichUIPeer.ChildVisibilityChanged(Object, Object, Object)private Object _closeAllPopups()Objectprotected Object ComponentRemoved(AdfUIComponent component)component |
- | The component that was removed. |
ObjectAdfUIPeer.componentRemoved(AdfUIComponent)protected Object ConvertClientIdToLocator(AdfUIComponent component,
Object childComponent,
String descComponentClientId,
Array<Array<Object>> replaceArray)The peer is not bound when this method is called
component |
- | The train component for this peer |
childComponent |
||
descComponentClientId |
- | The clientId of the component that the absolute scoped id is being generated for |
replaceArray |
- | Array of key-value array in format [<index>, <item>] to either skip or skip and fix the parent id fragment with the item value |
ObjectAdfRichUIPeer.ConvertClientIdToLocator(Object, Object, Object, Object)public String convertLocatorToClientId(AdfUIComponent component,
Number index)component |
||
index |
String - the client id fragment in the format: clientId + ":" + stamped indexAdfUIPeer.convertLocatorToClientId(Object, Object)private Object _createOverflowElement(Object element)element |
Objectprivate Object _createPopupHints(Object alignElement,
Object eventSource,
Object focusOnFirstElement)alignElement |
- | the HTML element to which popup is aligned |
eventSource |
- | the source of event |
focusOnFirstElement |
Object - hints for the popupprivate Object _dismissPopups(Object eventSource)eventSource |
- | the source of event |
Objectpublic AdfUIComponent getDescendantComponents(AdfUIComponent component,
Array<AdfUIComponent> children)component |
- | this component |
children |
- | array to store child components in. Descendent components will be added to the end of the array. This param is optional, if not passed in an array will be created. |
AdfUIComponent - array of child components, may be emptyAdfUIPeer.getDescendantComponents(AdfUIComponent, Array<AdfUIComponent>)protected Number GetMinimumWidth()Number - The minimum width.private HTMLElement _getPopupContainerElement(Object component)component |
- | the navigation component used in menuModel implementation |
HTMLElement - The elementprivate HTMLElement _getPopupElement(Object componentEvent)componentEvent |
HTMLElement - The elementprotected Number GetPreferredWidth()Number - The preferred width.private HTMLElement _getStretchElement()HTMLElement - The elementprivate Object _handleArrowKeys(Object keyCode,
Object componentEvent)keyCode |
- | the keyCode |
componentEvent |
- | the component event |
Objectprivate Object _handleArrowKeysForMenuModel(Object keyCode,
Object componentEvent)keyCode |
- | the keyCode |
componentEvent |
- | the component event |
Objectprotected Object HandleComponentBlur(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentClick(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentFocus(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentKeyDown(Object componentEvent)componentEvent |
- | the component event invoked by key down |
Objectprotected Object HandleComponentKeyPress(Object componentEvent)componentEvent |
- | the component event invoked by key press |
Objectprotected Object HandleComponentKeyUp(Object componentEvent)componentEvent |
- | the component event invoked by key up |
Objectprotected Object HandleComponentMouseOut(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentMouseOver(Object componentEvent)componentEvent |
Objectprivate static Object _handleMenuBarItemAccessKeys(Object component,
Object componentEvent)component |
- | the menuBar component |
componentEvent |
- | the key up component event |
Objectprotected Object InitDomElement(Object component,
Object domElement)component |
||
domElement |
ObjectAdfRichUIPeer.InitDomElement(AdfUIComponent, Object)protected static Object InitSubclass()Objectprivate Object _isInOpenedTree(Object navComponent,
Object eventSource)navComponent |
- | commandNavigationItem whose corresponding popup is open |
eventSource |
- | the source of event Returns true if the popup falls inside the current event source component hierarchy |
Objectprivate Object _isPopupOpen(Object componentId)componentId |
- | the clientId of a component |
Objectprivate Object _moveHighlightToNextBarItem(Object componentEvent)componentEvent |
Objectprivate Object _moveHighlightToPreviousBarItem(Object componentEvent)componentEvent |
Objectpublic Object needsChildVisibilityChanges(Object component)true, the peer's ChildVisibilityChanged method will be called.
The peer is not bound when this method is called. Peers with complicated logic to determine whether they need to be informed of child visibility changes should return true from this method and place their logic inside of their ChildVisibilityChanged override.
component |
ObjectAdfRichUIPeer.needsChildVisibilityChanges(AdfUIComponent)public Object needsResizeNotify(Object component)component |
ObjectAdfUIPeer.needsResizeNotify(Object)protected Object PopupClosed(Object component,
Object contentDom,
Object popupId)component |
||
contentDom |
||
popupId |
ObjectAdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)Object __preferredSizeChangeNotify(AdfUIComponent component)component |
- | the associated component (not necessarily bound) identified as having a preferred size change. |
Objectpublic Object resetActiveDescendant()Objectprotected Object ResizeNotify(Object oldWidth,
Object oldHeight,
Object newWidth,
Object newHeight)oldWidth |
||
oldHeight |
||
newWidth |
||
newHeight |
ObjectAdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)private Object _reStretch()Objectprivate Object _showPopup(Object componentEvent,
Object focusOnFirstElement)componentEvent |
- | the component event |
focusOnFirstElement |
Objectprotected Object SimulateMouseOnDescendant(AdfUIComponent targetComponent,
HTMLElement domElement,
Object mouseEvent)targetComponent |
- | the component receiving the mouseEvent. |
domElement |
- | the particular dom element receiving the mouseEvent |
mouseEvent |
- | javascript object containing a sparse set of mouse event name value pairs. |
ObjectAdfRichUIPeer.SimulateMouseOnDescendant(AdfUIComponent, HTMLElement, Object)private Object _unStretch()Objectprivate Object _updateActiveDescendant(HTMLElement newActiveDescendant)newActiveDescendant |
- | The new child element to set as the active descendant. Cannot be null. |
Objectpublic Object updateScrollIconsState()Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1) E52772-01 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||