JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
| 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 |
|
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 |
|
Method Summary |
|
|---|---|
protected Object |
|
protected Object |
|
private Object |
|
public AdfUIComponent |
|
protected Number |
|
protected Number |
|
private HTMLElement |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
private static Object |
|
protected Object |
|
protected static Object |
|
private Object |
|
private Object |
|
public Object |
|
public Object |
|
protected Object |
|
private Object |
|
private Object |
|
public Object |
|
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 |
|---|
private Object _childContainersprivate Object _isOverflowSupportedprivate Object _overflowContainer
Constructor Detail |
|---|
public AdfDhtmlMenuBarPeer()
Method Detail |
|---|
protected 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)protected Object ComponentRemoved(AdfUIComponent component)component |
- | The component that was removed. |
ObjectAdfUIPeer.componentRemoved(AdfUIComponent)private Object _createOverflowElement(Object element)element |
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.protected Number GetPreferredWidth()Number - The preferred width.private HTMLElement _getStretchElement()HTMLElement - The elementprivate Object _handleArrowKeys(Object keyCode,
Object componentEvent)keyCode |
||
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 |
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 _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 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 _unStretch()Objectpublic Object updateScrollIconsState()Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||