|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.0.0) E17489-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 static 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 |
|
private Object |
|
protected Object |
|
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 |
|
protected Object |
|
private 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 _childContainers
private Object _isOverflowSupported
private Object _overflowContainer
private static Object _sOpenedPopups
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 |
Object
AdfRichUIPeer.ChildVisibilityChanged(Object, Object, Object)
private Object _closeAllPopups()
Object
protected Object ComponentRemoved(AdfUIComponent component)
component |
- | The component that was removed. |
Object
AdfUIPeer.componentRemoved(AdfUIComponent)
private Object _createOverflowElement(Object element)
element |
Object
private 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 |
Object
public 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 |
||
componentEvent |
Object
private Object _handleArrowKeysForMenuModel(Object keyCode,
Object componentEvent)
keyCode |
- | the keyCode |
componentEvent |
- | the component event |
Object
protected Object HandleComponentBlur(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentClick(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentFocus(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentKeyDown(Object componentEvent)
componentEvent |
- | the component event invoked by key down |
Object
protected Object HandleComponentKeyPress(Object componentEvent)
componentEvent |
- | the component event invoked by key press |
Object
protected Object HandleComponentKeyUp(Object componentEvent)
componentEvent |
- | the component event invoked by key up |
Object
protected Object HandleComponentMouseOut(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentMouseOver(Object componentEvent)
componentEvent |
Object
private static Object _handleMenuBarItemAccessKeys(Object component,
Object componentEvent)
component |
- | the menuBar component |
componentEvent |
- | the key up component event |
Object
protected Object InitDomElement(Object component,
Object domElement)
component |
||
domElement |
Object
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)
protected static Object InitSubclass()
Object
private 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 |
Object
private Object _isPopupOpen(Object componentId)
componentId |
- | the clientId of a component Returns true if the popup corresponding to "componentId" is open |
Object
private Object _moveHighlightToNextBarItem(Object componentEvent)
componentEvent |
Object
private Object _moveHighlightToPreviousBarItem(Object componentEvent)
componentEvent |
Object
public 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 |
Object
AdfRichUIPeer.needsChildVisibilityChanges(AdfUIComponent)
public Object needsResizeNotify(Object component)
component |
Object
AdfUIPeer.needsResizeNotify(Object)
protected Object PopupClosed(Object component,
Object contentDom,
Object popupId)
component |
||
contentDom |
||
popupId |
Object
AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)
protected Object ResizeNotify(Object oldWidth,
Object oldHeight,
Object newWidth,
Object newHeight)
oldWidth |
||
oldHeight |
||
newWidth |
||
newHeight |
Object
AdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)
private Object _reStretch()
Object
private Object _showPopup(Object componentEvent,
Object focusOnFirstElement)
componentEvent |
- | the component event |
focusOnFirstElement |
Object
private Object _unStretch()
Object
public Object updateScrollIconsState()
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.0.0) E17489-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |