|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-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.agent.AdfAgent | +--oracle.adfinternal.view.js.agent.gecko.AdfGeckoAgent
public class AdfGeckoAgent extends AdfAgent
Field Summary |
|
---|---|
private static Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
Fields inherited from oracle.adf.view.js.agent.AdfAgent |
ANDROID_OS, CAP_TOUCH_SCREEN, CAP_TOUCH_SCREEN_MULTIPLE, CAP_TOUCH_SCREEN_NONE, CAP_TOUCH_SCREEN_SINGLE, DRAG_GHOST_STYLECLASS, GECKO_PLATFORM, IE_PLATFORM, KEY_EVENTS, MAC_OS, OPERA_PLATFORM, SOLARIS_OS, UNKNOWN_OS, UNKNOWN_PLATFORM, WEBKIT_PLATFORM, WINDOWS_OS |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
public Object |
|
private Object |
|
public Object |
|
public Object |
|
public boolean |
|
public Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
private static Object |
|
public String |
|
protected Object |
|
public Array<AdfUIComponent> |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Number |
|
private Object |
|
public String |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
protected Object |
|
protected static Object |
|
public Boolean |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
private Object |
|
public Object |
|
public Object |
|
public Object |
|
private static Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public 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 |
---|
private static Object _CSS_TO_DOM_MAP
AdfAgent._CSS_TO_DOM_MAP
private static Object _FAKE_MOUSEMOVE_EVENT
private Object _ID_TO_DOM_MAP
private static Object _MOZ_USER_DEFINED
private static Object _REDISTRIBUTE_BUBBLE_EVENTS
private static Object _REDISTRIBUTE_CAPTURE_EVENTS
Constructor Detail |
---|
public AdfGeckoAgent(Object version,
Object domWindow)
version |
||
domWindow |
Method Detail |
---|
public Object addEventBubbles(Object node,
Object listener)
node |
||
listener |
Object
AdfAgent.addEventBubbles(Object, Object)
private Object _addEventListeners(Node node,
Array<String> eventTypes,
Function listener,
Boolean capture)
node |
- | Element or Document to add listener to |
eventTypes |
- | Array of DOM event types to register listener for |
listener |
- | Event listener to register on node |
capture |
- | true to add the listener using event capture |
Object
public Object addKeyEventListener(Object node,
Object listener)
node |
||
listener |
Object
AdfAgent.addKeyEventListener(Object, Object)
public Object allElementsRemoved()
Object
getElementById(Object)
elementsAdded(Object)
AdfAgent.allElementsRemoved()
public boolean atLeast(Object platform,
Object version)
platform |
||
version |
boolean
- null true
if the platform
AdfAgent.atLeast(Object, Object)
public Object cloneEvent(Object event,
Object newTarget)
event |
- | Event to base the new event on |
newTarget |
- | Optional DOM Node to retarget the event to |
Object
AdfAgent.cloneEvent(Event, HTMLElement)
private Object _copyKeyboardEvent(Object event,
Object eventType,
Object newTarget)
event |
||
eventType |
||
newTarget |
Object
AdfAgent._copyKeyboardEvent(Object, Object, Object)
protected Object CreateDefaultLogWriter(Object nativeLogWriter)
nativeLogWriter |
Object
AdfAgent.createDefaultLogWriter()
protected Object CreateNativeLogWriter()
Object
AdfAgent.CreateNativeLogWriter()
protected Object CreateUIInputEvent(Object component,
Object type,
Object nativeEvent)
component |
||
type |
||
nativeEvent |
Object
AdfAgent.CreateUIInputEvent(Object, Object, Object)
public Object disableUserSelect(Object element)
element |
Object
AdfAgent.disableUserSelect(Object)
public Object elementsAdded(Object node)
node |
- | Either element or document node that is being added |
Object
getElementById(Object)
elementsRemoved(Object)
AdfAgent.elementsAdded(Object)
public Object elementsRemoved(Object node)
node |
- | Either element or document node that is being removed |
Object
getElementById(Object)
elementsAdded(Object)
AdfAgent.elementsRemoved(Object)
public Object enableUserSelect(Object element)
element |
Object
AdfAgent.enableUserSelect(Object)
private static Object _getBoxObjectFor(Object elem)
elem |
Object
public String getBoxSizing(HTMLElement element,
CSSStyleDeclaration currentStyle)
element |
- | The element to check |
currentStyle |
- | the current style that can be optionally passed in
Default value = null
|
String
- the box sizing, either "content-box" or "border-box"AdfAgent.getBoxSizing(HTMLElement, CSSStyleDeclaration)
protected Object GetCssToDomPropertyNameMap()
Object
AdfAgent.GetCssToDomPropertyNameMap()
public Array<AdfUIComponent> getDescendantComponentsForNode(Node node,
Array<AdfUIComponent> children)
There is no guarantee about the order of the children returned. If visiting the children in a known order is required please use AdfUIComponent.visitChildren.
All descendent children are returned, visible or not. If ignoring hidden children is required please use AdfUIComponent.visitChildren.
This method is faster than AdfUIComponent.visitChildren, if the limitations above are acceptable it is preferable to use this method.
node |
- | DOM node where to start searching |
children |
- | array to store child components in. Descendent components will be added to the end of the array. This param is optional, if not passed in an array will be created. |
Array<AdfUIComponent>
- array of descendent components, may be emptyAdfAgent.getDescendantComponentsForNode(Node, Array<AdfUIComponent>)
public Object getElementById(Object id)
id |
Object
elementsRemoved(Object)
elementsAdded(Object)
AdfAgent.getElementById(Object)
public Object getElementLeft(Object element)
element |
Object
AdfAgent.getElementLeft(Object)
public Object getElementPageBounds(HTMLElement domElement)
domElement |
Object
- object with members "top", "left", "bottom", and "right"AdfAgent.getElementPageBounds(Object)
public Object getElementPosition(Object element)
element |
- | HTML element |
Object
- an object with two properties (x for the left coordinate and y for the top coordinate)AdfAgent.getElementPosition(Object)
public Object getElementTop(Object element)
element |
Object
AdfAgent.getElementTop(Object)
public Object getKeyCode(Object keyEvent)
keyEvent |
Object
AdfAgent.getKeyCode(Object)
public Object getNodeType(Object element)
element |
Object
AdfAgent.getNodeType(Object)
public Number getScrollLeft(HTMLElement element)
element |
- | The element to check |
Number
- returns the scrollLeftAdfAgent.getScrollLeft(HTMLElement)
private Object _getSessionStorageKey(Object propKey)
propKey |
Object
public String getSessionStorageProperty(String propKey)
propKey |
- | key used to retrieve the value in storage |
String
- value of the property stored with key propKeyError
when access to sessionStorage fails.AdfAgent.getSessionStorageProperty(String)
public Number getWindowClientHeight(Window domWindow)
domWindow |
Number
- nullAdfAgent.getWindowClientHeight(Window)
public Number getWindowClientWidth(Window domWindow)
domWindow |
Number
- nullAdfAgent.getWindowClientWidth(Window)
public Number getWindowScrollHeight(Window domWindow)
domWindow |
Number
- nullAdfAgent.getWindowScrollHeight(Window)
public Number getWindowScrollWidth(Window domWindow)
domWindow |
Number
- nullAdfAgent.getWindowScrollWidth(Window)
protected Object Init(Object version,
Object domWindow)
version |
||
domWindow |
Object
AdfObject.Init()
protected static Object InitClass()
Object
AdfAgent.InitClass()
public Boolean isChromeEvent(Event domEvent)
true
if the event was on the element chromedomEvent |
- | The DOM event to check the original target of |
Boolean
- null true
if the event was on the element chromeAdfAgent.isChromeEvent(Event)
public Object isElementHTML(Object element)
element |
Object
AdfAgent.isElementHTML(Object)
public Object isFunctionKey(Object keyEvent)
keyEvent |
Object
AdfAgent.isFunctionKey(Object)
public Object isLeftButtonClick(Object evt)
evt |
Object
AdfAgent.isLeftButtonClick(Object)
public Object pointInElementBounds(Object element,
Object pageX,
Object pageY)
element |
||
pageX |
||
pageY |
Object
AdfAgent.pointInElementBounds(Object, Object, Object)
public Object pointInElementOrChildBounds(HTMLElement element,
Number pageX,
Number pageY)
element |
- | The element to check |
pageX |
- | The X coordinate of the location of the point on the page |
pageY |
- | The Y coordinate of the location of the point on the page |
Object
pointInElementBounds(Object, Object, Object)
AdfAgent.pointInElementOrChildBounds(HTMLElement, Number, Number)
public Object removeEventBubbles(Object node,
Object listener)
node |
||
listener |
Object
AdfAgent.removeEventBubbles(Object, Object)
private Object _removeEventListeners(Node node,
Array<String> eventTypes,
Function listener,
Boolean capture)
node |
- | Element or Document to add listener to |
eventTypes |
- | Array of DOM event types to register listener for |
listener |
- | Event listener to deregister on element |
capture |
- | true to remove a the listener added using event capture |
Object
public Object removeIdsFromDomSubTree(HTMLElement subTreeRoot)
subTreeRoot |
- | the root of the sub tree to remove IDs from |
Object
AdfAgent.removeIdsFromDomSubTree(HTMLElement)
public Object removeKeyEventListener(Object node,
Object listener)
node |
||
listener |
Object
AdfAgent.removeKeyEventListener(Object, Object)
public Object removeSessionStorageProperty(String propKey)
propKey |
- | key used to remove the value from storage |
Object
Error
when sessionStorage access fails.AdfAgent.removeSessionStorageProperty(String)
private static Object _resetThrobber(Object event)
event |
Object
public Object setButtonTextContent(Object node,
Object newText)
node |
||
newText |
Object
AdfAgent.setButtonTextContent(Object, Object)
public Object setImageSource(Object img,
Object src)
img |
||
src |
Object
AdfAgent.setImageSource(Object, Object)
public Object setImageTooltip(Object img,
Object tooltip)
img |
- | the img element |
tooltip |
- | the image tooltip |
Object
AdfAgent.setImageTooltip(Object, Object)
public Object setScrollLeft(HTMLElement element,
Number value)
element |
- | The element to check |
value |
- | The scrollLeft |
Object
AdfAgent.setScrollLeft(HTMLElement, Number)
public Object setSessionStorageProperty(String propKey,
String propValue)
propKey |
- | this key will be used to store the key/value in storage |
propValue |
- | value to be stored. |
Object
Error
when sessionStorage access fails.AdfAgent.setSessionStorageProperty(String, String)
public Object showBusyCursor(Object ownerDocument,
Object show)
ownerDocument |
- | The document to display/hide the busy cursor on |
show |
- | boolean for displaying busy cursor or not |
Object
AdfAgent.showBusyCursor(Object, Object)
public Object slice(Object file,
Object startByte,
Object stopByte)
file |
||
startByte |
||
stopByte |
Object
AdfAgent.slice(File, Number, Number)
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |