|
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.AdfDhtmlMasonryLayoutPeer
public class AdfDhtmlMasonryLayoutPeer extends AdfRichUIPeer
Field Summary |
|
---|---|
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 |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private Object |
|
private 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 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 |
|
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 Object _compressedMasonryTileSizeClasses
private static Object _HAS_DELETE_LISTENER_KEY
private static Object _HAS_REORDER_LISTENER_KEY
private static Object _MASONRY_LAYOUT_CLASS
private static Object _MASONRY_LAYOUT_DROP_TARGET_CLASS
private static Object _MASONRY_LAYOUT_TRANSITION_RESIZE_TO_CLASS
private static Object _MASONRY_LAYOUT_TRANSITION_RESIZE_TO_FAST_CLASS
private static Object _MASONRY_TILE_SIZE_CLASS_STEM
private static Object _MASONRY_TRANSITION_HIDE_FROM_CLASS
private static Object _MASONRY_TRANSITION_HIDE_TO_CLASS
private static Object _MASONRY_TRANSITION_MOVE_TO_CLASS
private static Object _MASONRY_TRANSITION_MOVE_TO_FAST_CLASS
private static Object _MASONRY_TRANSITION_RESIZE_TO_CLASS
private static Object _MASONRY_TRANSITION_SHOW_FROM_CLASS
private static Object _MASONRY_TRANSITION_SHOW_TO_CLASS
private static Object _MAX_TILE_COL_SPAN
private static Object _MAX_TILE_ROW_SPAN
private Object _mlCommon
private Object _rtl
private Object _saveTilesOriginalOrder
private static Object _UNCOMPRESSED_MASONRY_TILE_SIZE_CLASSES
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 |
Object
AdfUIPeer.componentRemoved(AdfUIComponent)
private Object _deferFunction(Function deferredFunc)
deferredFunc |
- | function to defer |
Object
public Object deleteTile(String tileClientId)
tileClientId |
- | clientId of the child to delete |
Object
private Object _deleteTileOriginalOrder(Object deletedTile)
deletedTile |
- | Tile to delete. |
Object
protected 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 |
Object
private 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()
Object
private Object _fireEvents(Array arEvents)
arEvents |
- | array of events to fire |
Object
private Object _fireInsertEvents()
Object
private Object _fireResizeEvents()
Object
private 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 |
Object
private Object _getRowKeyAndOrientationForPosition(Object pageX,
Object pageY,
Object hints,
Object isExternalDragSource,
Object dragSourceComponent)
pageX |
||
pageY |
||
hints |
||
isExternalDragSource |
||
dragSourceComponent |
Object
public 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. |
Object
public Object getRowKeyBounds(String desiredDropIndexString)
desiredDropIndexString |
- | (aka rowKey) to look for |
Object
- object literal with the bounds of the desiredDropIndex if found else nullAdfAgent.getElementPageBounds(HTMLElement)
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 |
Object
protected Object InitDomElement(AdfUIComponent component,
Object domElement)
component |
- | Component that this peer will be associated with |
domElement |
- | Root DOM element of this peer |
Object
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)
protected static Object InitSubclass()
Object
public Object insertTile(String sizeStyleClass,
Number index)
sizeStyleClass |
- | style class specifying the size of the child to be inserted |
index |
- | index at which to insert |
Object
private Object _insertTileOriginalOrder(Object insertedTile,
Number index)
insertedTile |
- | Tile to insert. |
index |
- | Index at which to insert. |
Object
private Object _isExternalDragSource(Object dragSourceComponent)
dragSourceComponent |
Object
private Object _layoutCycleOnEndFunc()
Object
private Object _layoutCycleOnStartFunc()
Object
private Object _layoutOnEndFunc()
Object
public Object needsResizeNotify(AdfUIComponent component)
component |
- | the component bound to this peer |
Object
AdfUIPeer.needsResizeNotify(Object)
private Object _preProcessOptimizedRender(Object domNode)
domNode |
- | optimized render div |
Object
private 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 |
Object
AdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)
private Object _replaceResizedTile(Object newNode)
newNode |
- | newly rendered resized tile |
Object
protected 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 |
Object
AdfUIPeer.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 |
Object
private Object _saveTilesOriginalOrder(Array arTiles)
arTiles |
- | Array of tiles. |
Object
public 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 |
Object
private 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.3) E80085-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |