|
Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-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.ie.AdfIEAgent
public class AdfIEAgent extends AdfAgent
Field Summary |
---|
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, EDGE_PLATFORM, GECKO_PLATFORM, IE_PLATFORM, KEY_EVENTS, MAC_OS, OPERA_PLATFORM, REDISTRIBUTE_EVENTS, 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 |
|
public static void |
|
public void |
|
public boolean |
|
public void |
|
protected AdfLogWriter |
|
public HTMLElement |
|
static Float |
|
private static Array |
|
public Boolean |
|
public Object |
|
public Array<AdfUIComponent> |
|
public Float |
|
public Object |
|
public Node |
|
public Object |
|
public Node |
|
public HtmlElement |
|
public Number |
|
public Object |
|
public Object |
|
public Object |
|
private String |
|
static String |
|
public String |
|
static Boolean |
|
public Float |
|
public Float |
|
protected void |
|
protected Boolean |
|
public Boolean |
|
public Object |
|
public Boolean |
|
private static boolean |
|
public boolean |
|
public void |
|
public void |
|
public void |
|
public void |
|
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 |
---|
Constructor Detail |
---|
public AdfIEAgent(Object version,
Object domWindow)
version | ||
domWindow |
Method Detail |
---|
public Object addOption(Node element,
String label,
Object value,
boolean selected,
boolean disabled,
String description,
int index)
element | ||
label | ||
value | ||
selected | ||
disabled | ||
description | ||
index |
Object
AdfAgent.addOption(Object, Object, Object, Object, Object, Object, Object)
public static void assertBrowserMode(AdfAgent agent)
agent
to determine if the browser is a supported version. Displays an alert message
depending on the configuration settings and loggs a warning message if the browser is unsupported.agent | - | that is current |
void
- nullpublic void autoCompleteForm(Form htmlForm)
htmlForm |
void
- nullAdfAgent.autoCompleteForm(Object)
public boolean checkMouseOutEvent(Node element,
Event evt)
element | - | container node |
evt | - | event object |
boolean
- true if mouse was moved outside of the container, false otherwiseAdfAgent.checkMouseOutEvent(Object, Object)
public void clearSubtreeIds(HtmlElement element)
element |
void
- nullAdfAgent.clearSubtreeIds(Object)
protected AdfLogWriter CreateNativeLogWriter()
AdfLogWriter
- that writes to the developer tools consoleAdfAgent.CreateNativeLogWriter()
public HTMLElement elementFromPagePoint(Number pageX,
Object pageY,
HTMLElement hintElement,
Object exclusionContext,
Object exclusionCallback)
Please keep in mind that this method is inefficient when the there is no native implementation by the browser. This is because the method iterates the entire document depth first to find the element at a particular point
pageX | - | the y coordinate to test for |
pageY | ||
hintElement | - | Optional hint element to begin searching from as an
optimization. If no element is found inside the hintElement, its ancestors will be
considered. Default value = undefined |
exclusionContext | ||
exclusionCallback |
HTMLElement
- the topmost domElement at the given pointAdfAgent.elementFromPagePoint(Number, Object, HTMLElement, Object, Object)
static Float __getAgentVersion(Object userAgent)
userAgent |
Float
- IE version identified by the user agent stringAdfAgent.__getAgentVersion(Object)
private static Array _getAllChildElements(Node parentElement)
parentElement | - | to deliver children for |
Array
- all nodes under the subtree defined by the parentElementpublic Boolean getBooleanAttribute(Node element,
String attrName,
Boolean defaultValue)
element | - | target |
attrName | - | target attribute name |
defaultValue | - | optional default value |
Boolean
- attribute value as a booleanAdfAgent.getBooleanAttribute(Object, Object, Object)
public Object getComputedStyle(Node element)
element | - | to return the computed style |
Object
- computed style object for the elementAdfAgent.getComputedStyle(Object)
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)
public Float getElementLeft(Node element)
element | - | target node to return the window coordinates |
Float
- Returns the element's left side in Window coordinatesAdfAgent.getElementLeft(Object)
public Object getElementPageBounds(HTMLElement domElement)
domElement | - | target element to return coordinates on the page |
Object
- object with members "top", "left", "bottom", and "right"AdfAgent.getElementPageBounds(HTMLElement)
public Node getEventFromElement(Event nativeEvent)
nativeEvent |
Node
- associated elementAdfAgent.getEventFromElement(Object)
public Object getEventTarget(Object event)
event |
Object
AdfAgent.getEventTarget(Object)
public Node getEventToElement(Event nativeEvent)
nativeEvent |
Node
- node assocaited with the native eventAdfAgent.getEventToElement(Object)
public HtmlElement getFormElement(Form form,
String elementName)
form | - | the form |
elementName | - | the name of the form element |
HtmlElement
- nullAdfAgent.getFormElement(Object, Object)
public Number getIntAttribute(Node element,
String attrName,
Object defaultValue)
element | - | target |
attrName | - | target attribute name |
defaultValue |
Number
- attribute value as a numberAdfAgent.getIntAttribute(Object, Object, Object)
public Object getMaxConnectionsPerDomain()
Object
AdfAgent.getMaxConnectionsPerDomain()
public Object getMousePosition(Event evt)
evt | - | event object |
Object
- an object with two properties (x for the left coordinate and y for
the top coordinate)AdfAgent.getMousePosition(Object)
public Object getOverrideStyle(Node element)
element | - | for which to return the runtime style |
Object
- runtime style objectAdfAgent.getOverrideStyle(Object)
private String _getSessionStorageKey(String propKey)
propKey | - | root property key identifier |
String
- a propKey prefixed by the current protocol used. If protocol is undefined or null, it
returns propKey static String __getSpecificAgentClassName(Object userAgent,
Object version)
userAgent | ||
version |
String
- specific agent class to be instantiatedAdfAgent.__getSpecificAgentClassName(Object, Object)
public String getStyleProperty(Object style,
String propertyName)
style | - | object for an element |
propertyName | - | of the style sheet name |
String
- value of the style sheet object propertyAdfAgent.getStyleProperty(Object, Object)
static Boolean __getSupported(Object userAgent,
Object version)
userAgent | ||
version |
Boolean
- supportedAdfAgent.__getSupported(Object, Object)
public Float getWindowHeight()
Float
- returns the content height of the browser window.AdfAgent.getWindowHeight()
public Float getWindowWidth()
Float
- returns the content width of the browser window.AdfAgent.getWindowWidth()
protected void Init(Object version,
Window domWindow)
version | ||
domWindow | - | that is a associated with the singleton instance |
void
- nullAdfObject.Init()
protected Boolean IsComputedWidthAuto()
Boolean
- true if the computed style for this agent may return "auto" as a value instead
of an actual pixel size.AdfAgent.IsComputedWidthAuto()
public Boolean isDisabledOptionSupported()
Boolean
- null true
if disabled is supported on the option input tag.AdfAgent.isDisabledOptionSupported()
public Object isEqualIcon(Node firstIcon,
Node secondIcon)
firstIcon | ||
secondIcon |
Object
AdfAgent.isEqualIcon(Object, Object)
public Boolean isFunctionKey(Event keyEvent)
keyEvent |
Boolean
- null true
if the event's keycode is a function keyAdfAgent.isFunctionKey(Object)
private static boolean _isIllegalBrowserDetected(AdfAgent agent)
agent | - | that is current |
boolean
- null true
if the browser is not supportedpublic boolean pointInElementBounds(Object element,
Object pageX,
Object pageY)
element | ||
pageX | ||
pageY |
boolean
- null true
if the point defined byt the x,y coordinates is within the elementAdfAgent.pointInElementBounds(Object, Object, Object)
public void removeIdsFromDomSubTree(HTMLElement subTreeRoot)
subTreeRoot | - | the root of the sub tree to remove IDs from |
void
- nullAdfAgent.removeIdsFromDomSubTree(HTMLElement)
public void removeStyleProperty(Node element,
String styleProperty)
element | ||
styleProperty |
void
- nullAdfAgent.removeStyleProperty(Object, Object)
public void setCssFloat(Node element,
String value)
element
.element | - | target html element |
value | - | to set |
void
- nullAdfAgent.setCssFloat(Object, Object)
public void setTableRowHeight(Node row,
Number height)
row | ||
height |
void
- nullAdfAgent.setTableRowHeight(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.2.1.4.0) E81451-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |