|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.actions.Action
com.sybase.uep.bobclient.actions.AlertQuestionAction
public class AlertQuestionAction
This is the question alert action class
This will popup a question alert dialog that ask the user for a response.
Action
Constructor Summary | |
---|---|
AlertQuestionAction(int messageRID,
IBOBAction onOkAction,
IBOBAction onCancelAction)
Constructor to create an alert question action |
|
AlertQuestionAction(int messageRID,
IBOBAction onOkAction,
IBOBAction onCancelAction,
boolean closeCurrentScreen)
Constructor to create an alert question action |
|
AlertQuestionAction(int messageRID,
IBOBAction onOkAction,
IBOBAction onCancelAction,
boolean closeCurrentScreen,
int okLabelRID,
int cancelLabelRID)
Constructor to create an alert question action |
|
AlertQuestionAction(java.lang.String message,
IBOBAction onOkAction,
IBOBAction onCancelAction)
Constructor to create an alert question action |
|
AlertQuestionAction(java.lang.String message,
IBOBAction onOkAction,
IBOBAction onCancelAction,
boolean closeCurrentScreen)
Constructor to create an alert question action |
|
AlertQuestionAction(java.lang.String message,
IBOBAction onOkAction,
IBOBAction onCancelAction,
boolean closeCurrentScreen,
java.lang.String okLabel,
java.lang.String cancelLabel)
Constructor to create an alert question action |
Method Summary | |
---|---|
void |
run()
(non-Javadoc) |
void |
setCloseScreenOnCancel(boolean bol)
Set the close screen cancel action |
Methods inherited from class com.sybase.uep.bobclient.actions.Action |
---|
finish, hasFailed, isProcessing, setHasFailed, setIsProcessing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlertQuestionAction(int messageRID, IBOBAction onOkAction, IBOBAction onCancelAction)
messageRID
- int
value for the localization resource ID of the message to be displayedonOkAction
- IBOBAction
action to perform the ok actiononCancelAction
- IBOBAction
action to perform the canel actionpublic AlertQuestionAction(java.lang.String message, IBOBAction onOkAction, IBOBAction onCancelAction)
message
- String
value for the question message to be displayedonOkAction
- IBOBAction
action to perform the ok actiononCancelAction
- IBOBAction
action to perform the canel actionpublic AlertQuestionAction(int messageRID, IBOBAction onOkAction, IBOBAction onCancelAction, boolean closeCurrentScreen)
messageRID
- int
value for the localization resource ID of the message to be displayedonOkAction
- IBOBAction
action to perform the ok actiononCancelAction
- IBOBAction
action to perform the canel actioncloseCurrentScreen
- true
to close the current screen, otherwise false
public AlertQuestionAction(java.lang.String message, IBOBAction onOkAction, IBOBAction onCancelAction, boolean closeCurrentScreen)
message
- String
value for the question message to be displayedonOkAction
- IBOBAction
action to perform the ok actiononCancelAction
- IBOBAction
action to perform the canel actioncloseCurrentScreen
- true
to close the current screen, otherwise false
public AlertQuestionAction(int messageRID, IBOBAction onOkAction, IBOBAction onCancelAction, boolean closeCurrentScreen, int okLabelRID, int cancelLabelRID)
messageRID
- int
value for the localization resource ID of the message to be displayedonOkAction
- IBOBAction
action to perform the ok actiononCancelAction
- IBOBAction
action to perform the canel actioncloseCurrentScreen
- true
to close the current screen, otherwise false
okLabelRID
- int
value for the localization resource ID of the ok label that goes in the alert windowcancelLabelRID
- int
value for the localization resource ID of the cancel label that goes in the alert windowpublic AlertQuestionAction(java.lang.String message, IBOBAction onOkAction, IBOBAction onCancelAction, boolean closeCurrentScreen, java.lang.String okLabel, java.lang.String cancelLabel)
message
- String
value for the question message to be displayedonOkAction
- IBOBAction
action to perform the ok actiononCancelAction
- IBOBAction
action to perform the canel actioncloseCurrentScreen
- true
to close the current screen, otherwise false
okLabel
- String
value for the ok label that goes in the alert windowcancelLabel
- String
value for the cancel label that goes in the question alert windowMethod Detail |
---|
public void setCloseScreenOnCancel(boolean bol)
bol
- true
to create a cancel action to close the dialog, otherwise false
public void run()
Runnable.run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |