JavaScript API Reference for Oracle ADF Faces
  | 
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||
org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPositionManager
public class AdfDhtmlPositionManager extends AdfObject
Field Summary | 
|
|---|---|
public static Object | 
|
public static Object | 
|
private Object | 
|
private Object | 
|
public static Object | 
|
public static Object | 
|
public static Object | 
|
public static Object | 
|
public static Object | 
|
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 Number | 
  | 
public Number | 
  | 
private Number | 
  | 
public Object | 
  | 
public Object | 
|
private Object | 
  | 
public Object | 
  | 
public AdfDhtmlPopupWindow | 
  | 
private Object | 
  | 
private Array | 
  | 
private Object | 
  | 
public Object | 
  | 
public Number | 
|
private Array | 
  | 
private Object | 
  | 
protected Object | 
  | 
protected static Object | 
  | 
private Number | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
public Boolean | 
  | 
private Object | 
  | 
private String | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Boolean | 
  | 
private Object | 
  | 
public Object | 
  | 
private Object | 
  | 
private Object | 
  | 
public Boolean | 
  | 
private Object | 
  | 
private Object | 
  | 
public Object | 
  | 
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 | 
|---|
public static Object BOTTOMpublic static Object CENTERprivate Object _elementsprivate Object _isRTLpublic static Object LEFTpublic static Object MIDDLEpublic static Object MIN_WIDTHpublic static Object RIGHTpublic static Object TOP
Constructor Detail | 
|---|
public AdfDhtmlPositionManager()
Method Detail | 
|---|
private Number _addElement(AdfAbstractFloatingElement floatingElement,
                           Array<Object> verticalBehaviors,
                           Array<Object> horizontalBehaviors,
                           Object insideBorder)floatingElement | 
- | popup element | 
verticalBehaviors | 
- | an array of two map wrapper objects | 
horizontalBehaviors | 
- | an array of two map wrapper objects | 
insideBorder | 
Number - index of the registered elementpublic Number addFloatingElement(AdfAbstractFloatingElement floatingElement,
                                 String alignmentHint)floatingElement | 
- | popup element | 
alignmentHint | 
- | determines the alignment relative to another element or x,y position | 
Number - index of the registered floatingElementprivate Number _addFloatingElement(AdfAbstractFloatingElement floatingElement,
                                   String alignmentHint)floatingElement | 
- | popup element | 
alignmentHint | 
- | determines the alignment relative to another element or x,y position | 
Number - index of the registered floatingElementpublic Object addFloatingElementByPosition(AdfAbstractFloatingElement floatingElement,
                                           Object pos)floatingElement | 
- | popup element | 
pos | 
- | (x,y) alignment coordinates | 
Objectpublic Object calculatePlacementPosition(Number elementHeight,
                                         Number elementWidth,
                                         String alignmentHint,
                                         Object alignElement,
                                         Object alignPosition)elementHeight | 
- | the height of the element | 
elementWidth | 
- | the width of the element | 
alignmentHint | 
- | determines the alignment relative to another element or x,y position | 
alignElement | 
- | the element to align by | 
alignPosition | 
- | (x,y) an x/y position to align by, can be used instead of alignElement | 
Object - position (x,y) alignment coordinatesprivate Object _convertHorizontal(Object horizontalHint)horizontalHint | 
Objectpublic Object dispose()Objectpublic AdfDhtmlPopupWindow findFloatingElement(Object childDomElement)childDomElement | 
AdfDhtmlPopupWindow - popup controller or null if not foundprivate Object _getAlignBox(Object alignElement,
                            Object alignPosition,
                            Boolean insideBorder)alignElement | 
- | the element to align by | 
alignPosition | 
||
insideBorder | 
- | if true, position is inside any border, not just inside the element | 
Object - position coordinates for the floatingElement (top, bottom, right, left, width, height)private Array _getBehavior(Array preference)preference | 
- | alignment position preferences | 
Array - an array of behaviors grouped in pairs of twoprivate Object _getBox(AdfAbstractFloatingElement floatingElement)floatingElement | 
- | popup element | 
Object - position coordinates of the floatingElement (top, bottom, right, left, width, height)public Object getComputedBehavior(Number index)index | 
- | of the registered element | 
Object - horizontal and vertical validated positionspublic Number getElementCount()Number - the total number of floating elements managedprivate Array _getHintBehavior(String alignmentHint)alignmentHint | 
- | determines the alignment relative to another element or x,y position | 
Array - behavior objects that contains [verticalBehavior and horizontalBehavior variablesprivate Object _getNewPosition(Object horizontalBehavior,
                               Object verticalBehavior,
                               Object box,
                               Object alignBox)horizontalBehavior | 
||
verticalBehavior | 
||
box | 
- | coordinates of the floatingElement (top, bottom, right, left, width, height) | 
alignBox | 
- | coordinates of the alignment element or align position (top, bottom, right, left, width, height) | 
Object - position that has an [x] and [y] valueprotected Object Init()ObjectAdfObject.Init()protected static Object InitClass()Objectprivate Number _inversePosition(Number position)position | 
- | alignment coordinate | 
Number - opposite positionprivate Boolean _isFloatingElementGreaterThanWindow(AdfDhtmlPopupWindow floatingElement)floatingElement | 
- | managed by position | 
Boolean - true if the floating element is larger than the primary window in width or heightprivate Boolean _isOutsideScrollView(HTMLElement element)element | 
- | alignment element | 
Boolean - returns true if the alignment element is outside the view portpublic Boolean managesElement(Object element)element | 
- | floating element | 
Boolean - true if the element is registered with zOrderManager.private Object _positionElement(AdfAbstractFloatingElement floatingElement,
                                Object computedBehavior,
                                Boolean alignElementIsManaged,
                                Object box,
                                Object alignBox)floatingElement | 
- | popup element | 
computedBehavior | 
- | horizontal and vertical validated positions | 
alignElementIsManaged | 
- | true if managed by the page's zOrderManager | 
box | 
- | coordinates of the floatingElement (top, bottom, right, left, width, height) | 
alignBox | 
- | coordinates of the alignment element or align position (top, bottom, right, left, width, height) | 
Objectprivate String _positionToString(Number position)position | 
- | alignment coordinate | 
String - token describing the positionprivate Boolean _preferBottomBottomCondition(Object box,
                                             Object alignBox)_preferTopTopCondition.box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
Boolean - null true if rule is valid_preferTopTopCondition(Object, Object, Boolean)private Boolean _preferBottomTopCondition(Object box,
                                          Object alignBox,
                                          Boolean inverse)box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
inverse | 
- | flip-flop the vertical rule | 
Boolean - null true if rule is validprivate Boolean _preferLeftLeftCondition(Object box,
                                         Object alignBox,
                                         Boolean inverse)box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
inverse | 
- | flip-flop the horizontal rule | 
Boolean - null true if rule is validprivate Boolean _preferLeftRightCondition(Object box,
                                          Object alignBox)box | 
- | positions of the floating element | 
alignBox | 
Boolean - null true if rule is valid_preferRightLeftCondition(Object, Object, Boolean)private Boolean _preferRightLeftCondition(Object box,
                                          Object alignBox,
                                          Boolean inverse)box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
inverse | 
- | flip-flop the horizontal rule | 
Boolean - null true if rule is validprivate Boolean _preferRightRightCondition(Object box,
                                           Object alignBox)box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
Boolean - null true if rule is valid_preferLeftLeftCondition(Object, Object, Boolean)private Boolean _preferTopBottomCondition(Object box,
                                          Object alignBox)box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
Boolean - null true if rule is valid_preferBottomTopCondition(Object, Object, Boolean)private Boolean _preferTopTopCondition(Object box,
                                       Object alignBox,
                                       Boolean inverse)box | 
- | positions of the floating element | 
alignBox | 
- | positions of the aligning element | 
inverse | 
- | flip-flop the vertical rule | 
Boolean - null true if rule is validprivate Object _registerEventHanders()Objectpublic Object removeElement(Number index)index | 
- | of the registered floatElement | 
Objectprivate Object _repostionOnScroll(Object evt)evt | 
- | dom event | 
Objectprivate Object _repostionOnScrollTimeout()Objectpublic Boolean resizeFloatingElement(HTMLElement childDomElement)childDomElement | 
- | child dom element, PPR'ed element, used to locate a floating element | 
Boolean - true if the childElement could be used to locate the owning floating element; otherwise, a false return value indicates the childElement could not be found in an open floating element.private Object _selectBehavior(Array behaviors,
                               Object box,
                               Object alignBox)behaviors | 
- | floating elements alignment preferences | 
box | 
- | coordinates of the floatingElement (top, bottom, right, left, width, height) | 
alignBox | 
- | coordinates of the alignment element or align position (top, bottom, right, left, width, height) | 
Object - behavior that matches the alignment condiationsprivate Object _unregisterEventHanders()Objectpublic Object validatePosition(Number index)index | 
- | of a registered floating element | 
Object
  | 
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||