OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adf.view.js.event
Class AdfPhasedEvent

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.event.AdfBaseEvent
               |
               +--oracle.adf.view.js.event.AdfPhasedEvent
Direct Known Subclasses:
AdfComponentEvent

public class AdfPhasedEvent
extends AdfBaseEvent
Base class for bubbling events. Other than AdfComponentEvent, almost no event should be a subclass of AdfPhasedEvent. If the event can only be fired by a component, it should be a subclass of AdfComponentEvent.


See also:
AdfComponentEvent

Field Summary

private Object
_currTarget
private Object
_eventPhase


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
AdfPhasedEvent(Object source, Object type)
Base class for bubbling events.


Method Summary

public Object
getCurrentTarget()
Returns the object whose listeners are currently being called.
public Object
getDoesBubbles()
public Object
getEventPhase()
Returns the current event delivery phase that the event is being delivered in.
protected Object
Init(Object source, Object type)
Initializes the instance.
public Object
isCancelable()
Returns true if the calling cancel() on the event will prevent the event's default action from being performed.
public Object
nextEventPhase()
Move the event into the next event phase
public Object
setCurrentTarget(Object newTarget)
public Object
toDebugString()


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

AddMarshalledProperties, cancel, 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, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString


Field Detail


_currTarget

private Object _currTarget

_eventPhase

private Object _eventPhase

Constructor Detail


AdfPhasedEvent

public AdfPhasedEvent(Object source,
                      Object type)

Base class for bubbling events. Other than AdfComponentEvent, almost no event should be a subclass of AdfPhasedEvent. If the event can only be fired by a component, it should be a subclass of AdfComponentEvent.

Parameters:
source    
type    

Method Detail


getCurrentTarget

public Object getCurrentTarget()

Returns the object whose listeners are currently being called. This will be different than the source of the event during the capture and bubble phases.

Return:
Object
Overrides:
AdfBaseEvent.getCurrentTarget()

getDoesBubbles

public Object getDoesBubbles()

Return:
Object
Overrides:
AdfBaseEvent.getDoesBubbles()

getEventPhase

public Object getEventPhase()

Returns the current event delivery phase that the event is being delivered in. One of AdfBaseEvent.CAPTURING_PHASE, AdfBaseEvent.AT_TARGET_PHASE, AdfBaseEvent.BUBBLING_PHASE.

Return:
Object
Overrides:
AdfBaseEvent.getEventPhase()

Init

protected Object Init(Object source,
                      Object type)

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

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

isCancelable

public Object isCancelable()

Returns true if the calling cancel() on the event will prevent the event's default action from being performed.

Return:
Object
Overrides:
AdfBaseEvent.isCancelable()

nextEventPhase

public Object nextEventPhase()

Move the event into the next event phase

Return:
Object

setCurrentTarget

public Object setCurrentTarget(Object newTarget)

Parameters:
newTarget    
Return:
Object

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.