JavaScript API Reference for Oracle ADF Faces
|
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.event.AdfBaseEvent
|
+--oracle.adf.view.js.event.AdfPhasedEvent
|
+--oracle.adf.view.js.event.AdfComponentEvent
|
+--oracle.adf.view.js.event.AdfDialogEvent
public class AdfDialogEvent extends AdfComponentEvent
AdfRichDialog. This event is use to communicate
actions on the pre-configured dialog buttons or actions that cancel the dialog such
as the Esc key or close icon in the title bar. This event has an outcome
property that will indicate the originator of the event.
The outcome property will be one if the following values:
OUTCOME_OK - OK button was selected. The AdfRichDialog type
must be ok or okCancel for the OK button to be visible.OUTCOME_YES - Yes button was selected. The AdfRichDialog type
must be yesNo or yesNoCancel for the Yes button to be visible.OUTCOME_NO - No button was selected. The AdfRichDialog type
must be yesNo or yesNoCancel for the No button to be visible.OUTCOME_CANCEL - Cancel button, Esc key, or close icon selected. The Cancel
button will only be visible when the type property of the AdfRichDialog is cancel,
okCancel or yesNoCancel.OUTCOME_CANCEL. This event is also
a partial submit.Field Summary |
|
|---|---|
public static Object |
|
public Object |
|
private Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public Object |
|
Fields inherited from oracle.adf.view.js.event.AdfComponentEvent |
BLUR_EVENT_TYPE, CONTEXT_MENU_EVENT_TYPE, FOCUS_EVENT_TYPE |
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 |
|
Method Summary |
|
|---|---|
protected Object |
|
public String |
|
protected void |
|
public boolean |
|
Methods inherited from oracle.adf.view.js.event.AdfComponentEvent |
queue |
Methods inherited from oracle.adf.view.js.event.AdfPhasedEvent |
getCurrentTarget, getDoesBubbles, getEventPhase, isCancelable, nextEventPhase, setCurrentTarget, toDebugString |
Methods inherited from oracle.adf.view.js.event.AdfBaseEvent |
cancel, forceFullSubmit, getClearMessages, getMaxTimeBeforePropagation, getProperties, getRoot, getShowMessages, getSource, getType, isBubblingStopped, isCanceled, IsDeleveryDiscrete, isDeliveryDiscrete, isFullSubmitForced, isImmediate, isPartial, isResponseAnnounced, isResponseExpected, IsUserInputPrevented, isValidationNeeded, noResponseExpected, preventUserInput, 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 |
Field Detail |
|---|
public static Object EVENT_TYPEpublic Object isValidationNeededpropagatesToServer()private Object _outcomepublic static Object OUTCOME_CANCELtype property of the AdfRichDialog
is cancel, okCancel or yesNoCancel. This event will not
propagates to the server for this outcome.public static Object OUTCOME_NOAdfRichDialog type
must be yesNo or yesNoCancel for the No button
to be visible.public static Object OUTCOME_OKAdfRichDialog type
must be ok or okCancel for the OK button to
be visible.public static Object OUTCOME_YESAdfRichDialog type
must be yesNo or yesNoCancel for the Yes
button to be visible.public Object setPartialConstructor Detail |
|---|
public AdfDialogEvent(AdfRichDialog source,
String outcome)AdfRichDialog. This event is use to communicate
actions on the pre-configured dialog buttons or actions that cancel the dialog such
as the Esc key or close icon in the title bar. This event has an outcome
property that will indicate the originator of the event.
The outcome property will be one if the following values:
OUTCOME_OK - OK button was selected. The AdfRichDialog type
must be ok or okCancel for the OK button to be visible.OUTCOME_YES - Yes button was selected. The AdfRichDialog type
must be yesNo or yesNoCancel for the Yes button to be visible.OUTCOME_NO - No button was selected. The AdfRichDialog type
must be yesNo or yesNoCancel for the No button to be visible.OUTCOME_CANCEL - Cancel button, Esc key, or close icon selected. The Cancel
button will only be visible when the type property of the AdfRichDialog is cancel,
okCancel or yesNoCancel.OUTCOME_CANCEL. This event is also
a partial submit.source | - | target dialog component |
outcome | - | literal constant that indicates the originator of the event |
Method Detail |
|---|
protected Object AddMarshalledProperties(Object properties)outcome event property to be sent to the server.properties |
ObjectAdfBaseEvent.AddMarshalledProperties(Object)public String getOutcome()outcome property that will indicate the originator of the event.
The outcome property will be one if the following values:
OUTCOME_OK - OK button was selected. The AdfRichDialog type
must be ok or okCancel for the OK button to be visible.OUTCOME_YES - Yes button was selected. The AdfRichDialog type
must be yesNo or yesNoCancel for the Yes button to be visible.OUTCOME_NO - No button was selected. The AdfRichDialog type
must be yesNo or yesNoCancel for the No button to be visible.OUTCOME_CANCEL - Cancel button, Esc key, or close icon selected. The Cancel
button will only be visible when the type property of the AdfRichDialog is cancel,
okCancel or yesNoCancel.String - one of 4 possible enumerations.protected void Init(AdfRichDialog source,
String outcome)source | - | target component |
outcome | - | literal constant that indicates the originator of the event |
void - nullAdfObject.Init()public boolean propagatesToServer()outcome is OUTCOME_CANCEL.boolean - null false if the outcome is OUTCOME_CANCELAdfBaseEvent.propagatesToServer()
|
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 | ||||||||