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.AdfDhtmlMasonryLayoutPeer
public class AdfDhtmlMasonryLayoutPeer extends AdfRichUIPeer
Field Summary |
|
|---|---|
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 |
|
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 Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private 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 static Number |
|
protected Object |
|
private Object |
|
public Object |
|
private Object |
|
protected HTMLElement |
|
public Object |
|
private static String |
|
private boolean |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Array |
|
private Number |
|
private Object |
|
private String |
|
public Object |
|
private Object |
|
public Object |
|
public Object |
|
private String |
|
private Object |
|
private String |
|
private boolean |
|
private boolean |
|
private Object |
|
protected Object |
|
protected static Object |
|
public Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
public Object |
|
private Object |
|
private boolean |
|
private Number |
|
private boolean |
|
protected Object |
|
private Object |
|
protected Object |
|
public Object |
|
private Object |
|
public Object |
|
private static Array |
|
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 static Object _HAS_DELETE_LISTENER_KEYprivate static Object _HAS_REORDER_LISTENER_KEYprivate static Object _MASONRY_1X1_CLASSprivate static Object _MASONRY_1X2_CLASSprivate static Object _MASONRY_1X3_CLASSprivate static Object _MASONRY_2X1_CLASSprivate static Object _MASONRY_2X2_CLASSprivate static Object _MASONRY_2X3_CLASSprivate static Object _MASONRY_3X1_CLASSprivate static Object _MASONRY_3X2_CLASSprivate static Object _MASONRY_LAYOUT_CLASSprivate static Object _MASONRY_LAYOUT_DROP_TARGET_CLASSprivate static Object _MASONRY_LAYOUT_TRANSITION_RESIZE_TO_CLASSprivate static Object _MASONRY_LAYOUT_TRANSITION_RESIZE_TO_FAST_CLASSprivate static Object _MASONRY_TRANSITION_HIDE_FROM_CLASSprivate static Object _MASONRY_TRANSITION_HIDE_TO_CLASSprivate static Object _MASONRY_TRANSITION_MOVE_TO_CLASSprivate static Object _MASONRY_TRANSITION_MOVE_TO_FAST_CLASSprivate static Object _MASONRY_TRANSITION_RESIZE_TO_CLASSprivate static Object _MASONRY_TRANSITION_SHOW_FROM_CLASSprivate static Object _MASONRY_TRANSITION_SHOW_TO_CLASSprivate Object _masonryTile1x1Classprivate Object _masonryTile1x2Classprivate Object _masonryTile1x3Classprivate Object _masonryTile2x1Classprivate Object _masonryTile2x2Classprivate Object _masonryTile2x3Classprivate Object _masonryTile3x1Classprivate Object _masonryTile3x2Classprivate Object _mlCommonprivate Object _rtlprivate Object _saveTilesOriginalOrder
Constructor Detail |
|---|
public AdfDhtmlMasonryLayoutPeer()
Method Detail |
|---|
private static Number _compareTilesOriginalOrder(Object tile1,
Object tile2)tile1 |
- | A tile. |
tile2 |
- | Another tile. |
Number - 1 if tile2 should be sorted before tile1, -1 if tile1 should be sorted before tile2, or 0 if the tile order doesn't need to changeprotected Object ComponentRemoved(AdfUIComponent component)bind on itself if it needs to access its peer state.component |
- | Component being disassociated from the peer |
ObjectAdfUIPeer.componentRemoved(AdfUIComponent)private Object _deferFunction(Function deferredFunc)deferredFunc |
- | function to defer |
Objectpublic Object deleteTile(String tileClientId)tileClientId |
- | clientId of the child to delete |
Objectprivate Object _deleteTileOriginalOrder(Object deletedTile)deletedTile |
- | Tile to delete. |
Objectprotected HTMLElement DomReplaceNotify(HTMLElement domNode)domNode |
- | the DOM element involved in the replacement |
HTMLElement - the DOM node which should be the target of a subsequent resize traversalAdfRichUIPeer.domReplaceNotify(AdfUIComponent, Object)public Object dropOnRowKey(Object dndContext,
Object proposedAction,
Object dropX,
Object dropY,
Object desiredDropIndexString,
Object dropOrientation)dndContext |
||
proposedAction |
||
dropX |
||
dropY |
||
desiredDropIndexString |
||
dropOrientation |
Objectprivate static String _encodeSelector(String selector)selector |
- | selector to encode |
String - encoded selectorprivate boolean _finishInsertTile(Object domNode)domNode |
- | div containing the inserted child tile |
boolean - true if the insert is finished processingprivate Object _fireDeleteEvents()Objectprivate Object _fireEvents(Array arEvents)arEvents |
- | array of events to fire |
Objectprivate Object _fireInsertEvents()Objectprivate Object _fireResizeEvents()Objectprivate Object _getChildAtIndex(Object parentElem,
Number index)parentElem |
- | parent element |
index |
- | index of child element |
Object - child element at the index, or null if the index is invalidprivate Array _getChildElements(Object parentElem,
Boolean excludeDropSite)parentElem |
- | parent element |
excludeDropSite |
- | true to exclude the dropsite, false to include it |
Array - array of rendered child elementsprivate Number _getChildIndex(Object parentElem,
Object childElem)parentElem |
- | parent element |
childElem |
- | child element |
Number - index of the child, or -1 if not foundprivate Object _getChildUnderPoint(Object parentElem,
Number pageX,
Number pageY)parentElem |
- | parent element |
pageX |
- | pageX coordinate |
pageY |
- | pageY coordinate |
Object - child element under the point, or null if no child found under the pointprivate String _getDisplayDropIndexFromCoordinates(AdfRichMasonryLayout masonryLayoutComponent,
HTMLElement domElem,
Number pageX,
Number pageY,
Boolean isExternalDragSource,
Object dragSourceComponent)masonryLayoutComponent |
- | the masonryLayout component to drop on |
domElem |
- | the DOM element of the masonryLayout |
pageX |
- | the current x coordinate of the mouse in page coordinates |
pageY |
- | the current y coordinate of the mouse in page coordinates |
isExternalDragSource |
- | true if the drag source is not a child |
dragSourceComponent |
String - null or the desired drop index for the current mouse positionpublic Object getDraggedSourceChildIndex(Object dragSourceComponent,
Object ignoreCachedValue)dragSourceComponent |
||
ignoreCachedValue |
Objectprivate Object _getRowKeyAndOrientationForPosition(Object pageX,
Object pageY,
Object hints,
Object isExternalDragSource,
Object dragSourceComponent)pageX |
||
pageY |
||
hints |
||
isExternalDragSource |
||
dragSourceComponent |
Objectpublic Object getRowKeyAndOrientationFromHints(Number pageX,
Number pageY,
Object hints)pageX |
- | the x position of the pointer |
pageY |
- | the y position of the pointer |
hints |
- | An object containings hints for lastRowKey, lastRowKeyBounds, lastDropOrientation etc. See AdfStampedDropTarget.HINT* for possible hints. The rowKey and dropOrientation are set on this hint object as a return values. |
Objectpublic Object getRowKeyBounds(String desiredDropIndexString)desiredDropIndexString |
- | (aka rowKey) to look for |
Object - object literal with the bounds of the desiredDropIndex if found else nullAdfAgent.getElementPageBounds(Object)private String _getSizeStyleClassName(Object elem)elem |
- | element on which the size style class is specified |
String - size style class nameprivate Object _getTileSpan(Object elem)elem |
- | child tile to get the span for |
Object - object specifying colSpan and rowSpanprivate String _getUncompressedSizeStyleClassName(Object elem)elem |
- | element on which the compressed size style class is specified |
String - uncompressed size style class nameprivate boolean _hasDeleteListener()boolean - true if a server listener is registeredprivate boolean _hasReorderListener()boolean - true if a server listener is registeredprivate Object _hideTileOnEndFunc(Object elem)elem |
- | child tile element that was hidden |
Objectprotected Object InitDomElement(AdfUIComponent component,
Object domElement)component |
- | Component that this peer will be associated with |
domElement |
- | Root DOM element of this peer |
ObjectAdfRichUIPeer.InitDomElement(AdfUIComponent, Object)protected static Object InitSubclass()Objectpublic Object insertTile(String sizeStyleClass,
Number index)sizeStyleClass |
- | style class specifying the size of the child to be inserted |
index |
- | index at which to insert |
Objectprivate Object _insertTileOriginalOrder(Object insertedTile,
Number index)insertedTile |
- | Tile to insert. |
index |
- | Index at which to insert. |
Objectprivate Object _layoutCycleOnEndFunc()Objectprivate Object _layoutCycleOnStartFunc()Objectprivate Object _layoutOnEndFunc()Objectpublic Object needsResizeNotify(AdfUIComponent component)component |
- | the component bound to this peer |
ObjectAdfUIPeer.needsResizeNotify(Object)private Object _preProcessOptimizedRender(Object domNode)domNode |
- | optimized render div |
Objectprivate boolean _processInsertTile(Object domNode)domNode |
- | div containing inserted child tile |
boolean - true if the insert is finished processing, false if notprivate Number _processOptimizedRender(Object domNode)domNode |
- | optimized render div |
Number - if non-negative, the number of milliseconds in the future to reschedule this function call, or a negative number to not rescheduleprivate boolean _processResizeTile(Object domNode)domNode |
- | div containing resized child tile |
boolean - true if the resize is finished processing, false if notprotected Object ReplaceDomElement(HTMLElement newElement,
HTMLElement oldElement)newElement |
- | the new dom element |
oldElement |
- | the old dom element |
ObjectAdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)private Object _replaceResizedTile(Object newNode)newNode |
- | newly rendered resized tile |
Objectprotected Object ResizeNotify(number oldWidth,
number oldHeight,
number newWidth,
number newHeight)oldWidth |
- | The old width of the component |
oldHeight |
- | The old height of the component |
newWidth |
- | The new width of the component |
newHeight |
- | The new height of the component |
ObjectAdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)public Object resizeTile(String tileClientId,
String styleClass)tileClientId |
- | clientId of the child to resize |
styleClass |
- | style class for the new size |
Objectprivate Object _saveTilesOriginalOrder(Array arTiles)arTiles |
- | Array of tiles. |
Objectpublic Object showDragFeedback(AdfDnDContext dndContext,
String desiredDropIndexString,
Object userAction,
String lastDesiredDropIndexString,
Number pageX,
Number pageY,
Boolean dragExit)dndContext |
- | the drag and drop context |
desiredDropIndexString |
- | of the drop target |
userAction |
||
lastDesiredDropIndexString |
- | the desired drop index from previous feedback |
pageX |
- | null or the x position of the mouse in page coordinates |
pageY |
- | null or the y position of the mouse in page coordinates |
dragExit |
- | true if the feedback is due to the drag exiting this component |
Objectprivate static Array _sortTilesOriginalOrder(Array arTiles)arTiles |
- | Array of tiles. |
Array - The given array of tiles, sorted.
|
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 | ||||||||