|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
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.safari.AdfSafariAgent
public class AdfSafariAgent extends AdfAgent
Field Summary |
|
---|---|
private static Object |
|
private static Object |
|
private static Object |
Fields inherited from oracle.adf.view.js.agent.AdfAgent |
AGENT, 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 |
|
protected Object |
|
public Object |
|
public Object |
|
public Object |
|
public String |
|
public Number |
|
public Number |
|
public Array<AdfUIComponent> |
|
public Object |
|
public String |
|
public Object |
|
public Number |
|
protected Object |
|
protected Object |
|
public Object |
|
private Object |
|
public Object |
|
public Object |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private static Object _MODIFIER_DISPLAY_NAMES
AdfAgent._MODIFIER_DISPLAY_NAMES
private static Object _REDISTRIBUTE_BUBBLE_EVENTS
private static Object _REDISTRIBUTE_CAPTURE_EVENTS
Constructor Detail |
---|
public AdfSafariAgent(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 createDefaultLogWriter()
Object
AdfAgent.createDefaultLogWriter()
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 enableUserSelect(Object element)
element |
Object
AdfAgent.enableUserSelect(Object)
public Object execScript(Window ownerWindow,
String scriptText)
ownerWindow |
- | the DOM Window |
scriptText |
- | the script text |
Object
AdfAgent.execScript(Object, 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)
public Number getBrowserViewportScrollLeft()
Number
- returns the starting position on the canvas of the viewportAdfAgent.getBrowserViewportScrollLeft()
public Number getBrowserViewportScrollTop()
Number
- returns the top position on the canvas the viewport beginsAdfAgent.getBrowserViewportScrollTop()
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 getModifierDisplayName(Object modifier)
modifier |
Object
AdfAgent.getModifierDisplayName(Object)
public String getSessionStorageProperty(String propKey)
propKey |
- | key used to retrieve the value in storage |
String
- value of the property stored with key propKeyAdfAgent.getSessionStorageProperty(String)
public Object getWindowScrollHeight(Object domWindow)
domWindow |
Object
AdfAgent.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 Object InitClass()
Object
AdfAgent.InitClass()
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 removeSessionStorageProperty(String propKey)
propKey |
- | key used to remove the value from storage |
Object
AdfAgent.removeSessionStorageProperty(String)
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
AdfAgent.setSessionStorageProperty(String, String)
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |