Gecko AdfAgent AdfAgent capabilities.
Method Summary
|
public Object |
addEventBubbles(Object node, Object listener)
-
Override to reset throbber via iframe and add focus and blur as capture events
|
public Object |
addKeyEventListener(Object node, Object listener)
-
Adds key event listener to the specified element.
|
public Object |
allElementsRemoved()
-
Resets any id->element cache when all elements are removed This method should be called AFTER the elements are removed
|
public boolean |
atLeast(Object platform, Object version)
-
Overridden from the base agent to handle the fully qualifed Gecko version.
|
public Object |
cloneEvent(Object event, Object newTarget)
-
Returns a new Event Object, based on a current event, retargetted to the new target.
|
private Object |
_copyKeyboardEvent(Object event, Object eventType, Object newTarget)
|
protected Object |
CreateDefaultLogWriter(Object nativeLogWriter)
-
Creates and returns the default AdfLogWriter to use for this AdfPage.
|
protected Object |
CreateNativeLogWriter()
-
Override to return an AdfLogWriter that writes to the Gecko console
|
protected Object |
CreateUIInputEvent(Object component, Object type, Object nativeEvent)
|
public Object |
disableUserSelect(Object element)
-
Disable the user's ability to select text in this component
|
public Object |
elementsAdded(Object node)
-
Updates any id->element cache by adding the elements in the specified subtree
|
public Object |
elementsRemoved(Object node)
-
Updates any id->element cache by removing the elements in the specified subtree
|
public Object |
enableUserSelect(Object element)
-
Enable the user's ability to select text in this component
|
private static Object |
_getBoxObjectFor(Object elem)
|
public String |
getBoxSizing(HTMLElement element, CSSStyleDeclaration currentStyle)
-
Returns the box model associated with an element (http://www.w3.org/TR/css3-ui/#box-sizing)
|
protected Object |
GetCssToDomPropertyNameMap()
-
Returns the map which contains the CSS property name and it's DOM version.
|
public Object |
getElementById(Object id)
-
Cover function to allow more performant implementations of document.getElementById()
|
public Object |
getKeyCode(Object keyEvent)
-
Returns the unicode key code for the given key event.
|
public Object |
getMaxConnectionsPerDomain()
-
Gets the maximum number of simultaneous connections allowed per domain by the client
|
public Object |
getNodeType(Object element)
-
Override due to a bug in FF
|
private Object |
_getSessionStorageKey(Object propKey)
-
Returns a propKey prefixed by the current protocol used.
|
public Number |
getWindowClientHeight(Window domWindow)
-
Returns the client (or inner) height of the DOM window Object
|
public Number |
getWindowClientWidth(Window domWindow)
-
Returns the client (or inner) width of the DOM window Object
|
protected Object |
Init(Object version, Object domWindow)
-
Initializes the instance.
|
protected static Object |
InitClass()
|
public Boolean |
isChromeEvent(Event domEvent)
-
Returns true if the event was on the element chrome
|
public Object |
isDragPrepEvent(Object componentEvent)
-
Override to not start drags on scrollbars
|
public Object |
isElementHTML(Object element)
|
public Object |
isFunctionKey(Object keyEvent)
-
Returns whether the event's keycode should be considered as a function key.
|
public Object |
isLeftButtonClick(Object evt)
-
Tests whether event is a left button click event.
|
public Object |
pointInElementBounds(Object element, Object pageX, Object pageY)
-
Returns true if the specified point in page space is in the bounds of this element
|
public Object |
pointInElementOrChildBounds(HTMLElement element, Number pageX, Number pageY)
-
Returns true if the specified point in page space is in the bounds of this element or one of its non-absolute children elements.
|
public Object |
removeEventBubbles(Object node, Object listener)
-
Removes event bubbles for all of the events that the Rich client framework is interested in from the relevant element using the specified listener
|
public Object |
removeIdsFromDomSubTree(HTMLElement subTreeRoot)
-
Removes all of the ID values from every element in the given DOM sub tree.
|
public Object |
removeKeyEventListener(Object node, Object listener)
-
Remove key event listener fro the specified element.
|
private static Object |
_resetThrobber(Object event)
|
public Object |
setButtonTextContent(Object node, Object newText)
-
Override to avoid Gecko bug.
|
public Object |
setImageSource(Object img, Object src)
-
Sets the image source.
|
public Object |
setImageTooltip(Object img, Object tooltip)
-
Gecko needs the tooltip on the "title" attribute.
|
public Object |
showBusyCursor(Object ownerDocument, Object show)
-
Displays busy/default cursor.
|
public Object |
slice(Object file, Object startByte, Object stopByte)
-
For agents which support the File API, slices the File.
|