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.AdfDhtmlPanelSpringboardPeer
public class AdfDhtmlPanelSpringboardPeer extends AdfRichUIPeer
Field Summary |
|
|---|---|
private Object |
|
private Object |
|
private static Object |
|
private Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static 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 Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
public Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected HTMLElement |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Array |
|
private Object |
|
private Object |
|
public Object |
|
private Object |
|
private Array<Object> |
|
private Object |
|
private Object |
|
private Object |
|
private Array<Object> |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
private Object |
|
protected static Object |
|
private Object |
|
private Boolean |
|
private static Object |
|
private Object |
|
private Object |
|
public Object |
|
protected Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private AdfDisclosureEvent |
|
private Object |
|
private Object |
|
protected Object |
|
protected void |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
private 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 _bodyCanvasDivprivate Object _bodyViewportDivprivate static Object _BUSY_CLASSprivate Object _cBeltContainerprivate Object _cBeltContentprivate static Object _CLICKABLE_TAB_ITEMprivate static Object _CONVEYOR_BELT_CONTAINER_IDprivate static Object _CONVEYOR_BELT_CONTENT_IDprivate static Object _END_CONVEYOR_BELT_INDICATORprivate Object _endCBeltIprivate static Object _EXPANDO_CANVAS_ATTRIBUTEprivate static Object _EXPANDO_DISCLOSED_TAB_IDprivate static Object _EXPANDO_ROWKEY_ATTRIBUTEprivate static Object _FLOW_STYLECLASSprivate static Object _GRID_CLASSprivate Object _headerDivprivate Object _isScreenReaderModeprivate static Object _OPT_RND_IDprivate Object _optRndIdprivate static Object _SCROLL_CLASSprivate static Object _SELECTED_CLASSprivate static Object _SELECTED_POINTER_DIVprivate Object _selectedPointerDivprivate Object _shiftFieldprivate static Object _START_CONVEYOR_BELT_INDICATORprivate Object _startCBeltIprivate static Object _STRIP_CLASSprivate static Object _SUB_ID_BODY_DIVprivate static Object _SUB_ID_ITEMS_DIVprivate static Object _TAB_BODY_Aprivate static Object _TAB_BODY_Bprivate static Object _TAB_BODY_Cprivate static Object _TAB_BODY_CANVASprivate static Object _TAB_BODY_VIEWPORTprivate static Object _TAB_HEADERprivate static Object _TAB_SUB_ID_ABOVEprivate static Object _TAB_SUB_ID_ICON
Constructor Detail |
|---|
public AdfDhtmlPanelSpringboardPeer()
Method Detail |
|---|
private Object _afterToGridAnimationFinal()Objectprivate Object _afterToStripAnimationFinal()Objectprivate Object _animateBodyCanvas(Object oldDisclosedClientId,
Object clickedElement)oldDisclosedClientId |
||
clickedElement |
Objectprivate Object _animateBodyCanvasCallback(Object slideAnimDuration,
Object animationItemArray)slideAnimDuration |
||
animationItemArray |
Objectprivate Object _animateFromGridToStrip(Object iconElems,
int newWidth)iconElems |
||
newWidth |
- | the width of the panelSpringboard. This width is used to calculate the absolute positions of each item in strip layout. |
Objectprivate Object _animateFromStripToGrid(Object iconElems,
int newWidth,
Object newHeight)iconElems |
||
newWidth |
- | the width of the panelSpringboard. This width is used to calculate the absolute positions of each item in grid layout. |
newHeight |
Objectprivate Object _animateSelectedPointerDiv(Object position)position |
Objectprivate Object _attemptToShowAsMuchElementsAsPossible(Object iconElems)iconElems |
Objectprivate Object _bodyCanvasAnimationComplete(Object context)context |
Objectprivate Object _bringDisclosedElementIntoView(Object selectedElementPosition,
Object iconElems)selectedElementPosition |
||
iconElems |
Objectprivate Object _changeSelected(String tabClientId,
Boolean isSelected)tabClientId |
- | the client id of the showDetailItem component |
isSelected |
- | if the tab is now in a a selected state |
Objectprotected Object ComponentDisplayModeChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)component |
||
domElement |
||
newValue |
||
oldValue |
Objectpublic Object componentRemoved(Object component)component |
ObjectAdfUIPeer.componentRemoved(AdfUIComponent)private Object _determineComponentToSwipeTo(Object iconElems,
Object disclosedItemIndex,
Object swipeNext)iconElems |
||
disclosedItemIndex |
||
swipeNext |
Objectprivate Object _determineGridLayout(Object numItems)numItems |
Objectprivate Object _discloseClickedComponent(Object component,
Object clickedComponent,
Object clickedElement)component |
||
clickedComponent |
||
clickedElement |
Objectprivate Object _discloseItem(Object clickedId)clickedId |
Objectprivate Object _displayIcon(Object target,
Object component,
Object icon)target |
||
component |
||
icon |
Objectprotected HTMLElement DomReplaceNotify(HTMLElement domNode)Simply returning the node that is passed into DomReplaceNotify (as opposed to the root or null) is typical. However, when AdfDhtmlPanelSpringboardPeer is doing optimized rendering (PPR replaces pieces of the component, not the entire component - needed for body sliding animation) the domNode param is a hidden div which temporarily holds newly introduced content before it is re-parented elsewhere; see ReplaceDomElement. By the time we do the resize notify traversal, the domNode used for optimized rendering will be empty. In this case, we should be returning the root dom which contains the newly replaced content.
domNode |
- | the DOM element involved in the replacement. Note: In the optimized render case, this will be empty by the time we call the subsequent resize notify traversal, so we do not return this. |
HTMLElement - the DOM node which should be the target of a subsequent resize notify traversal. This will be the domNode pass in if not an optimized render, else it will be the root dom node.ReplaceDomElement(HTMLElement, HTMLElement)AdfRichUIPeer.domReplaceNotify(AdfUIComponent, Object)private Object _duringToGridAnimation()Objectprivate Object _duringToStripAnimation()Objectprivate Object _findChildFromSubId(Object target,
Object subId1,
Object subId2)target |
||
subId1 |
||
subId2 |
Objectprivate Object _getCanvasDiv(Object position)position |
Objectprivate Object _getCBeltItemShiftValues(Object movePrevious,
Object iconElems)movePrevious |
||
iconElems |
Objectprivate Object _getCBeltNavWidth()Objectprivate Array _getChildElements(ADFDomElement childContainer)childContainer |
- | the container of the children |
Array - array of child elementsprivate Object _getCompleteItemWidth()Objectprivate Object _getComponentFromItem(Object item,
Object rootDom)item |
||
rootDom |
Objectpublic Object getContainerId(Object aligningElement)aligningElement |
Objectprivate Object _getDisclosedItemIndex(Object iconElems)iconElems |
Objectprivate Array<Object> _getGridItemPositions(iconElems iconElems,
int newWidth,
int newHeight)iconElems |
- | to position. |
newWidth |
- | the width of the panelSpringboard. This width is used to calculate the absolute positions of each item in grid layout. |
newHeight |
- | the height of the panelSpringboard. This height is used to calculate the absolute positions of each item in grid layout. |
Array<Object> - items an array of items whose properties are:
private Object _getOldDisclosedChildComponent(Object component)component |
Objectprivate Object _getRowKeyElementFromDomElement(Object domElement,
Object rootDomElement)domElement |
||
rootDomElement |
Objectprivate Object _getRowKeyFromDomElement(Object currElement)currElement |
Objectprivate Array<Object> _getStripItemPositions(iconElems iconElems,
int newWidth,
Object ignoreNewWidthForOverflow)iconElems |
- | to position |
newWidth |
- | the width of the panelSpringboard. This width is used to calculate the absolute positions of each item in strip layout. |
ignoreNewWidthForOverflow |
Array<Object> - items an array of items in the icon strip whose properties are:
private Object _handleBodyTouchEnd(Object event)event |
Objectprivate Object _handleBodyTouchMove(Object event)event |
Objectprivate Object _handleBodyTouchStart(Object event)event |
Objectprotected Object HandleComponentClick(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentMouseDown(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentMouseOut(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentMouseOver(Object componentEvent)componentEvent |
Objectprotected Object HandleComponentMouseUp(Object componentEvent)componentEvent |
Objectprivate Object _handleIcon(Object componentEvent,
Object isHover,
Object isDepressed)componentEvent |
||
isHover |
||
isDepressed |
Objectprivate Object _hasSubIdInId(Object target,
Object subId1,
Object subId2)target |
||
subId1 |
||
subId2 |
Objectprivate Object _hideCBelt()Objectprivate Object _initBodySwiping(Object agent,
Object bodyElement)agent |
||
bodyElement |
Objectprotected Object InitDomElement(Object component,
Object domElement)component |
||
domElement |
ObjectAdfRichUIPeer.InitDomElement(AdfUIComponent, Object)private Object _initialPositionCanvasDivs(Object newWidth)newWidth |
Objectprotected static Object InitSubclass()Objectprivate Object _isCBeltActivated()Objectprivate Boolean _isOptimizedRenderTarget(HTMLElement domNode)domNode |
- | the domNode that we will check to see if it is the optimized render target. |
Boolean - true if domNode is an optimized render target.private static Object _isRTL()Objectprivate Object _maintainCBeltDisplay(Object newWidth)newWidth |
- | would be passed if there existed a change in the width [i.e. onResize, otherwise the current width would be used] |
Objectprivate Object _moveDom(Object sourceElement,
Object targetElement)sourceElement |
||
targetElement |
Objectpublic Object needsResizeNotify(Object component)component |
ObjectAdfUIPeer.needsResizeNotify(Object)protected Object NewTabSelected(Object component)component |
Objectprivate Object _positionElementIntoOverflow(Object newWidth,
Object iconElems,
Object selectedElementPosition,
Object selectedPosition)newWidth |
||
iconElems |
||
selectedElementPosition |
||
selectedPosition |
Objectprivate Object _positionGridMode(Object iconElems,
Object newWidth,
Object newHeight)iconElems |
- | the icon items that will be positioned in a grid |
newWidth |
- | the width of the panelSpringboard component |
newHeight |
- | the height of the panelSpringboard component |
Objectprivate Object _positionStripMode(Object iconElems,
Object newWidth)iconElems |
- | the icon items that will be positioned in strip mode |
newWidth |
- | the width of the panelSpringboard component. This is used to calculate the positions of each icon item. |
Objectprivate Object _prepareCanvasSideForSlide(Object domElement,
Object showDetailItemElement,
Object position)domElement |
||
showDetailItemElement |
||
position |
Objectprivate Object _processCbeltTab(Object event)event |
Objectprivate AdfDisclosureEvent _queueClientDisclosureChanges(AdfRichShowDetailItem oldDisclosed,
AdfRichShowDetailItem newDisclosed)oldDisclosed |
- | the panel that was disclosed |
newDisclosed |
- | the panel that the user wants to become disclosed |
AdfDisclosureEvent - event queuedprivate Object _rearrangeCanvasDivs(Object selectedCanvas)selectedCanvas |
- | . There are three canvas divs, left, middle, right. One of them will contain the selected item's content. This is the selectedCanvas div. |
Objectprivate Object _removeBusy(Object rootElement)rootElement |
Objectprotected Object ReplaceDomElement(HTMLElement newElement,
HTMLElement oldElement)newElement |
- | the new dom element |
oldElement |
- | the old dom element |
ObjectAdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)protected void ResizeNotify(Number oldWidth,
Number oldHeight,
Number newWidth,
Number newHeight)oldWidth |
- | the last known width |
oldHeight |
- | the last known height |
newWidth |
- | the new width |
newHeight |
- | the new height |
void - nullAdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)private Object _selectedPointerAnimationComplete(Object context)context |
Objectprivate Object _setBeltContentHeight(Object iconElement)iconElement |
Objectprivate Object _setBusy(HTMLElement rootElement,
HTMLElement bodyCanvasDiv)rootElement |
- | the root dom element of the component |
bodyCanvasDiv |
- | the body-canvas dom element that holds the body div where we will put the busy style (this is only needed in stretch mode) |
Objectprivate Object _setOldDisclosedChild(Object newDisclosedId)newDisclosedId |
Objectprivate Object _setSelectedPointerPosition()Objectprivate Object _setToNormalIcon(Object iconElems)iconElems |
Objectprivate Object _shiftConveyor(Object movePrevious)movePrevious |
Objectprivate Object _shiftHelper(Object properties)properties |
Objectprivate Object _swipeBody(Object swipeNext)swipeNext |
Objectprotected Object TabReselected(Object component)component |
Objectprivate Object _unregisterBodySwiping()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 | ||||||||