JavaScript API Reference for Oracle ADF Faces
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
Methods inherited from oracle.adf.view.js.event.AdfBaseEvent
|
AddMarshalledProperties, cancel, forceFullSubmit, getClearMessages, getMaxTimeBeforePropagation, getProperties, getRoot, getShowMessages, getSource, getType, isBubblingStopped, isCanceled, IsDeleveryDiscrete, isDeliveryDiscrete, isFullSubmitForced, isImmediate, isPartial, isResponseAnnounced, isResponseExpected, IsUserInputPrevented, isValidationNeeded, noResponseExpected, preventUserInput, propagatesToServer, setPartial, setRoot, setSource, stopBubbling |
Methods inherited from oracle.adf.view.js.base.AdfObject
|
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString |
private Object _currTarget
private Object _eventPhase
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:
-
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()
public Object getDoesBubbles()
- Return:
Object
- Overrides:
AdfBaseEvent.getDoesBubbles()
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()
protected Object Init(Object source,
Object type)
Initializes the instance. Subclasses of AdfObject must call their superclass' Init
- Parameters:
-
- Return:
Object
- Overrides:
AdfObject.Init()
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()
public Object nextEventPhase()
Move the event into the next event phase
- Return:
Object
public Object setCurrentTarget(Object newTarget)
- Parameters:
-
- Return:
Object
public Object toDebugString()
- Return:
Object
- Overrides:
AdfObject.toDebugString()
Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.