|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.3) E80085-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 Object |
|
private Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private 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 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 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 |
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 |
|
protected 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 Object |
|
private Array<Object> |
|
protected HTMLElement |
|
private Object |
|
private Object |
|
private Object |
|
protected 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 Object |
|
private Boolean |
|
private static Object |
|
private 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 |
|
private 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 _bodyCanvasDiv
private Object _bodyViewportDiv
private static Object _BUSY_CLASS
private Object _cBeltContainer
private Object _cBeltContent
private Object _cBeltMoving
private Object _cBeltNavWidth
private Object _cBeltShift
private static Object _CLICKABLE_TAB_ITEM
private static Object _CONVEYOR_BELT_CONTAINER_ID
private static Object _CONVEYOR_BELT_CONTENT_ID
private Object _conveyorSlideAnimationDuration
private Object _currCBeltIndex
private static Object _DISABLED_CLASS
private static Object _END_CONVEYOR_BELT_INDICATOR
private Object _endCBeltI
private static Object _EXPANDO_CANVAS_ATTRIBUTE
private static Object _EXPANDO_DISCLOSED_TAB_ID
private static Object _EXPANDO_ROWKEY_ATTRIBUTE
private static Object _FLOW_STYLECLASS
private static Object _GRID_CLASS
private Object _headerDiv
private Object _hideSelectedPointer
private Object _initialDisplay
private static Object _OPT_RND_ID
private Object _optRndId
private static Object _SCROLL_CLASS
private static Object _SELECTED_CLASS
private static Object _SELECTED_POINTER_DIV
private Object _selectedPointerDiv
private Object _shiftField
private static Object _START_CONVEYOR_BELT_INDICATOR
private Object _startCBeltI
private static Object _STRIP_CLASS
private static Object _SUB_ID_BODY_DIV
private static Object _SUB_ID_ITEMS_DIV
private static Object _SUB_ID_MAP
private static Object _SWIPE_THRESHOLD
private Object _swipeMovingPosition
private Object _swipeStartPosition
private static Object _TAB_BODY_A
private static Object _TAB_BODY_B
private static Object _TAB_BODY_C
private static Object _TAB_BODY_CANVAS
private static Object _TAB_BODY_VIEWPORT
private static Object _TAB_HEADER
private static Object _TAB_SUB_ID_ABOVE
private static Object _TAB_SUB_ID_ICON
Constructor Detail |
---|
public AdfDhtmlPanelSpringboardPeer()
Method Detail |
---|
private Object _afterToGridAnimationFinal()
Object
private Object _afterToStripAnimationFinal()
Object
private Object _animateBodyCanvas(Object oldDisclosedClientId,
Object clickedElement)
oldDisclosedClientId |
||
clickedElement |
Object
private Object _animateBodyCanvasCallback(Object slideAnimDuration,
Object animationItemArray)
slideAnimDuration |
||
animationItemArray |
Object
private 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. |
Object
private 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 |
Object
private Object _animateSelectedPointerDiv(Object position)
position |
Object
private Object _attemptToShowAsMuchElementsAsPossible(Object iconElems)
iconElems |
Object
private Object _bodyCanvasAnimationComplete(Object context)
context |
Object
private Object _bringDisclosedElementIntoView(Object selectedElementPosition,
Object iconElems)
selectedElementPosition |
||
iconElems |
Object
private 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 |
Object
protected Object ComponentDisplayModeChanged(Object component,
Object domElement,
Object newValue,
Object oldValue)
component |
||
domElement |
||
newValue |
||
oldValue |
Object
public Object componentRemoved(Object component)
component |
Object
AdfUIPeer.componentRemoved(AdfUIComponent)
private Object _determineComponentToSwipeTo(Object iconElems,
Object disclosedItemIndex,
Object swipeNext)
iconElems |
||
disclosedItemIndex |
||
swipeNext |
Object
private Object _determineGridLayout(Object numItems)
numItems |
Object
private Object _discloseClickedComponent(Object component,
Object clickedComponent,
Object clickedElement)
component |
||
clickedComponent |
||
clickedElement |
Object
private Object _discloseItem(Object clickedId)
clickedId |
Object
private Object _displayIcon(Object target,
Object component,
Object icon)
target |
||
component |
||
icon |
Object
protected 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()
Object
private Object _duringToStripAnimation()
Object
private Object _findChildFromSubId(Object target,
Object subId1,
Object subId2)
target |
||
subId1 |
||
subId2 |
Object
protected Object GetBestMatchSubId(Object domElement)
domElement |
Object
AdfRichUIPeer.GetSubIdDomElement(Object)
AdfRichUIPeer.GetBestMatchSubId(Object)
private Object _getCanvasDiv(Object position)
position |
Object
private Object _getCBeltItemShiftValues(Object movePrevious,
Object iconElems)
movePrevious |
||
iconElems |
Object
private Object _getCBeltNavWidth()
Object
private Array _getChildElements(ADFDomElement childContainer)
childContainer |
- | the container of the children |
Array
- array of child elementsprivate Object _getCompleteItemWidth()
Object
private Object _getComponentFromItem(Object item,
Object rootDom)
item |
||
rootDom |
Object
public Object getContainerId(Object aligningElement)
aligningElement |
Object
private Object _getDisclosedItemIndex(Object iconElems)
iconElems |
Object
private 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 _getHeaderDivDisclosedElement(Object elementSubId)
elementSubId |
Object
private Object _getOldDisclosedChildComponent(Object component)
component |
Object
private Object _getRowKeyElementFromDomElement(Object domElement,
Object rootDomElement)
domElement |
||
rootDomElement |
Object
private Object _getRowKeyFromDomElement(Object currElement)
currElement |
Object
private 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:
protected HTMLElement GetSubIdDomElement(Object subElementId)
subElementId |
HTMLElement
- the DOM within the component related to scopedIdAdfRichUIPeer.getSubIdDomElement(Object, Object)
private Object _handleBodyTouchEnd(Object event)
event |
Object
private Object _handleBodyTouchMove(Object event)
event |
Object
private Object _handleBodyTouchStart(Object event)
event |
Object
protected Object HandleComponentClick(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentKeyUp(Object componentEvent)
componentEvent |
- | the component event invoked by key up |
Object
protected Object HandleComponentMouseDown(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentMouseOut(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentMouseOver(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentMouseUp(Object componentEvent)
componentEvent |
Object
private Object _handleIcon(Object componentEvent,
Object isHover,
Object isDepressed)
componentEvent |
||
isHover |
||
isDepressed |
Object
private Object _hasSubIdInId(Object target,
Object subId1,
Object subId2)
target |
||
subId1 |
||
subId2 |
Object
private Object _hideCBelt()
Object
private Object _initBodySwiping(Object agent,
Object bodyElement)
agent |
||
bodyElement |
Object
protected Object InitDomElement(Object component,
Object domElement)
component |
||
domElement |
Object
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)
private Object _initialPositionCanvasDivs(Object newWidth)
newWidth |
Object
protected static Object InitSubclass()
Object
private Object _isAnimationInProgress()
Object
private Object _isCBeltActivated()
Object
private 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()
Object
private Object _isTabLink(Object element)
element |
Object
private 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] |
Object
private Object _moveDom(Object sourceElement,
Object targetElement)
sourceElement |
||
targetElement |
Object
public Object needsResizeNotify(Object component)
component |
Object
AdfUIPeer.needsResizeNotify(Object)
protected Object NewTabSelected(Object component)
component |
Object
private Object _positionElementIntoOverflow(Object newWidth,
Object iconElems,
Object selectedElementPosition,
Object selectedPosition)
newWidth |
||
iconElems |
||
selectedElementPosition |
||
selectedPosition |
Object
private 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 |
Object
private 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. |
Object
private Object _prepareCanvasSideForSlide(Object domElement,
Object showDetailItemElement,
Object position)
domElement |
||
showDetailItemElement |
||
position |
Object
private Object _processCbeltTab(Object event)
event |
Object
private 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. |
Object
private Object _removeBusy(Object rootElement)
rootElement |
Object
protected Object ReplaceDomElement(HTMLElement newElement,
HTMLElement oldElement)
newElement |
- | the new dom element |
oldElement |
- | the old dom element |
Object
AdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)
private Object _resetBodySwipePositions()
Object
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 |
Object
private Object _setBeltContentHeight(Object iconElement)
iconElement |
Object
private 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) |
Object
private Object _setItemsToNonSelectedState(Object iconElems)
iconElems |
Object
private Object _setOldDisclosedChild(Object newDisclosedId)
newDisclosedId |
Object
private Object _setSelectedPointerPosition()
Object
private Object _shiftConveyor(Object movePrevious)
movePrevious |
Object
private Object _shiftHelper(Object properties)
properties |
Object
private Object _swipeBody(Object swipeNext)
swipeNext |
Object
protected Object TabReselected(Object component)
component |
Object
private Object _unregisterBodySwiping()
Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.3) E80085-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |