OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.event
Class AdfDomUIInputEvent

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.event.AdfBaseEvent
               |
               +--oracle.adf.view.js.event.AdfPhasedEvent
                     |
                     +--oracle.adf.view.js.event.AdfComponentEvent
                           |
                           +--oracle.adf.view.js.event.AdfUIInputEvent
                                 |
                                 +--oracle.adf.view.js.event.AdfDomUIInputEvent
Direct Known Subclasses:
AdfComponentTouchEvent, AdfGeckoUIInputEvent, AdfIEUIInputEvent, AdfSafariUIInputEvent

public class AdfDomUIInputEvent
extends AdfUIInputEvent
AdfAdfUIInputEvents subclass for standard DOM implementations



Field Summary

protected Object
Event


Fields inherited from oracle.adf.view.js.event.AdfUIInputEvent

BLUR_EVENT_TYPE, CLICK_EVENT_TYPE, CONTEXT_MENU_EVENT_TYPE, DOUBLE_CLICK_EVENT_TYPE, FOCUS_EVENT_TYPE, KEY_DOWN_EVENT_TYPE, KEY_PRESS_EVENT_TYPE, KEY_UP_EVENT_TYPE, LEFT_BUTTON_FLAG, MIDDLE_BUTTON_FLAG, MOUSE_DOWN_EVENT_TYPE, MOUSE_IN_EVENT_TYPE, MOUSE_MOVE_EVENT_TYPE, MOUSE_OUT_EVENT_TYPE, MOUSE_UP_EVENT_TYPE, RIGHT_BUTTON_FLAG


Fields inherited from oracle.adf.view.js.event.AdfBaseEvent

AT_TARGET_PHASE, BUBBLING_PHASE, CAPTURING_PHASE


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDomUIInputEvent(Object sourceComponent, Object type, Object event)
AdfAdfUIInputEvents subclass for standard DOM implementations


Method Summary

public Object
cancel()
Implement cancel() on an input event by preventing the default behavior.
public AdfDomUIInputEvent
clone()
Implement clone, since it is unsafe to hang onto AdfDomAdfAdfUIInputEvents because DOM AdfAgents reuse the underlying native event objects
public Object
getButtons()
Returns mask of buttons clicked
public Object
getClientX()
public Object
getClientY()
public Object
getDoesBubbles()
public Object
getKeyCode()
Returns key code for key events
public Object
getKeyModifiers()
Returns mask of AdfKeyStroke kyeboard modifiers for this event
public Object
getNativeEvent()
Returns the Native DOM event object that caused this event.
public Object
getNativeEventTarget()
Convenience funtion returning the Native DOM Object that is the target of the native event.
public Object
getOffsetX()
public Object
getOffsetY()
public Object
getPageX()
public Object
getPageY()
public Object
getScreenX()
public Object
getScreenY()
protected Object
GetSourceDomElement()
Returns the root DOM elenent for the source component
protected Object
Init(Object source, Object type, Object event)
Initializes the instance.
public Object
toDebugString()


Methods inherited from oracle.adf.view.js.event.AdfUIInputEvent

getKeyStroke, isLeftButtonPressed, isRightButtonPressed


Methods inherited from oracle.adf.view.js.event.AdfComponentEvent

queue


Methods inherited from oracle.adf.view.js.event.AdfPhasedEvent

getCurrentTarget, getEventPhase, isCancelable, nextEventPhase, setCurrentTarget


Methods inherited from oracle.adf.view.js.event.AdfBaseEvent

AddMarshalledProperties, forceFullSubmit, getClearMessages, getProperties, getRoot, getShowMessages, getSource, getType, isBubblingStopped, isCanceled, IsDeleveryDiscrete, isFullSubmitForced, isImmediate, isPartial, isResponseAnnounced, isResponseExpected, IsUserInputPrevented, isValidationNeeded, noResponseExpected, preventUserInput, propagatesToServer, setPartial, setRoot, stopBubbling


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString


Field Detail


Event

protected Object Event

Constructor Detail


AdfDomUIInputEvent

public AdfDomUIInputEvent(Object sourceComponent,
                          Object type,
                          Object event)

AdfAdfUIInputEvents subclass for standard DOM implementations

Parameters:
sourceComponent    
type    
event    

Method Detail


cancel

public Object cancel()

Implement cancel() on an input event by preventing the default behavior.

Return:
Object
Overrides:
AdfBaseEvent.cancel()

clone

public AdfDomUIInputEvent clone()

Implement clone, since it is unsafe to hang onto AdfDomAdfAdfUIInputEvents because DOM AdfAgents reuse the underlying native event objects

Return:
AdfDomUIInputEvent - The cloned event object
Overrides:
AdfObject.clone()

getButtons

public Object getButtons()

Returns mask of buttons clicked

Return:
Object
Overrides:
AdfUIInputEvent.getButtons()

getClientX

public Object getClientX()

Return:
Object
Overrides:
AdfUIInputEvent.getClientX()

getClientY

public Object getClientY()

Return:
Object
Overrides:
AdfUIInputEvent.getClientY()

getDoesBubbles

public Object getDoesBubbles()

Return:
Object
Overrides:
AdfBaseEvent.getDoesBubbles()

getKeyCode

public Object getKeyCode()

Returns key code for key events

Return:
Object
Overrides:
AdfUIInputEvent.getKeyCode()

getKeyModifiers

public Object getKeyModifiers()

Returns mask of AdfKeyStroke kyeboard modifiers for this event

Return:
Object
Overrides:
AdfUIInputEvent.getKeyModifiers()

getNativeEvent

public Object getNativeEvent()

Returns the Native DOM event object that caused this event.

Return:
Object - The native DOM event object

getNativeEventTarget

public Object getNativeEventTarget()

Convenience funtion returning the Native DOM Object that is the target of the native event.

Return:
Object - The Native DOM Object

getOffsetX

public Object getOffsetX()

Return:
Object
Overrides:
AdfUIInputEvent.getOffsetX()

getOffsetY

public Object getOffsetY()

Return:
Object
Overrides:
AdfUIInputEvent.getOffsetY()

getPageX

public Object getPageX()

Return:
Object
Overrides:
AdfUIInputEvent.getPageX()

getPageY

public Object getPageY()

Return:
Object
Overrides:
AdfUIInputEvent.getPageY()

getScreenX

public Object getScreenX()

Return:
Object
Overrides:
AdfUIInputEvent.getScreenX()

getScreenY

public Object getScreenY()

Return:
Object
Overrides:
AdfUIInputEvent.getScreenY()

GetSourceDomElement

protected Object GetSourceDomElement()

Returns the root DOM elenent for the source component

Return:
Object

Init

protected Object Init(Object source,
                      Object type,
                      Object event)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
source    
type    
event    
Return:
Object
Overrides:
AdfObject.Init()

toDebugString

public Object toDebugString()

Return:
Object
Overrides:
AdfObject.toDebugString()

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2011.10.24 21:45 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.