|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.2.0) E17489-03 |
||||||||
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, 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, getProperties, getRoot, getShowMessages, getSource, getType, isBubblingStopped, isCanceled, IsDeleveryDiscrete, isFullSubmitForced, isImmediate, isPartial, isResponseAnnounced, isResponseExpected, IsUserInputPrevented, isValidationNeeded, noResponseExpected, preventUserInput, 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 |
---|
public static Object EVENT_TYPE
public Object isValidationNeeded
propagatesToServer()
private Object _outcome
public static Object OUTCOME_CANCEL
type
property of the AdfRichDialog
is cancel
, okCancel
or yesNoCancel
. This event will not propagates to the server for this outcome
.public static Object OUTCOME_NO
AdfRichDialog
type
must be yesNo
or yesNoCancel
for the No button to be visible.public static Object OUTCOME_OK
AdfRichDialog
type
must be ok
or okCancel
for the OK button to be visible.public static Object OUTCOME_YES
AdfRichDialog
type
must be yesNo
or yesNoCancel
for the Yes button to be visible.public Object setPartial
Constructor 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 |
Object
AdfBaseEvent.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_CANCEL
AdfBaseEvent.propagatesToServer()
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.2.0) E17489-03 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |