com.sybase.uep.bobclient.actions
Class AlertAction

java.lang.Object
  extended by com.sybase.uep.bobclient.actions.Action
      extended by com.sybase.uep.bobclient.actions.AlertAction
All Implemented Interfaces:
IBOBAction, java.lang.Runnable

public class AlertAction
extends Action

This is the alert action class

This will popup an alert informational message dialog

Author:
tdang
See Also:
Action

Constructor Summary
AlertAction(int messageRID)
          Constructor to create an alert action
AlertAction(int messageRID, boolean closeCurrentScreen)
          Constructor to create an alert action
AlertAction(int messageRID, IBOBAction onOkAction)
          Constructor to create an alert action
AlertAction(int messageRID, IBOBAction onOkAction, boolean closeCurrentScreen)
          Constructor to create an alert action
AlertAction(int messageRID, IBOBAction onOkAction, boolean closeCurrentScreen, int okLabelRID)
          Constructor to create an alert action
AlertAction(java.lang.String message)
          Constructor to create an alert action
AlertAction(java.lang.String message, boolean closeCurrentScreen)
          Constructor to create an alert action
AlertAction(java.lang.String message, IBOBAction onOkAction)
          Constructor to create an alert action
AlertAction(java.lang.String message, IBOBAction onOkAction, boolean closeCurrentScreen)
          Constructor to create an alert action
AlertAction(java.lang.String message, IBOBAction onOkAction, boolean closeCurrentScreen, java.lang.String okLabel)
          Constructor to create an alert action
 
Method Summary
 void run()
          (non-Javadoc)
 
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

AlertAction

public AlertAction(int messageRID)
Constructor to create an alert action

Parameters:
messageRID - int value for the localization resource ID of the informational message in the alert

AlertAction

public AlertAction(java.lang.String message)
Constructor to create an alert action

Parameters:
message - String value for the informational message in the alert

AlertAction

public AlertAction(int messageRID,
                   boolean closeCurrentScreen)
Constructor to create an alert action

Parameters:
messageRID - int value for the localization resource ID of the informational message in the alert
closeCurrentScreen - true to close the current screen, otherwise false

AlertAction

public AlertAction(java.lang.String message,
                   boolean closeCurrentScreen)
Constructor to create an alert action

Parameters:
message - String value for the informational message in the alert
closeCurrentScreen - true to close the current screen, otherwise false

AlertAction

public AlertAction(int messageRID,
                   IBOBAction onOkAction)
Constructor to create an alert action

Parameters:
messageRID - int value for the localization resource ID of the informational message in the alert
onOkAction - IBOBAction object to perform the ok action

AlertAction

public AlertAction(java.lang.String message,
                   IBOBAction onOkAction)
Constructor to create an alert action

Parameters:
message - String value for the informational message in the alert
onOkAction - IBOBAction object to perform the ok action

AlertAction

public AlertAction(int messageRID,
                   IBOBAction onOkAction,
                   boolean closeCurrentScreen)
Constructor to create an alert action

Parameters:
messageRID - String value for the localization resource ID of the informational message in the alert
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - true close the current screen, otherwise false

AlertAction

public AlertAction(java.lang.String message,
                   IBOBAction onOkAction,
                   boolean closeCurrentScreen)
Constructor to create an alert action

Parameters:
message - String value for the informational message in the alert
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - true close the current screen, otherwise false

AlertAction

public AlertAction(int messageRID,
                   IBOBAction onOkAction,
                   boolean closeCurrentScreen,
                   int okLabelRID)
Constructor to create an alert action

Parameters:
messageRID - int value for the localization resource ID of the informational message in the alert
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - if true close the current screen, otherwise false
okLabelRID - int value for the localization resource ID of the ok label that goes in the alert window

AlertAction

public AlertAction(java.lang.String message,
                   IBOBAction onOkAction,
                   boolean closeCurrentScreen,
                   java.lang.String okLabel)
Constructor to create an alert action

Parameters:
message - String value for the informational message in the alert
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - if true close the current screen, otherwise false
okLabel - String value of the ok label that goes in the alert window
Method Detail

run

public void run()
(non-Javadoc)

See Also:
Runnable.run()