com.sybase.uep.bobclient.actions
Class AlertErrorAction

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

public class AlertErrorAction
extends Action

This is the alert error action class

This will popup an alert error message dialog

Author:
tdang
See Also:
Action

Constructor Summary
AlertErrorAction(int errorMessageRID)
          Constructor to create an alert error action
AlertErrorAction(int errorMessageRID, boolean closeCurrentScreen)
          Constructor to create an alert error action
AlertErrorAction(int errorMessageRID, IBOBAction onOkAction)
          Constructor to create an alert error action
AlertErrorAction(int errorMessageRID, IBOBAction onOkAction, boolean closeCurrentScreen)
          Constructor to create an alert error action
AlertErrorAction(int errorMessageRID, IBOBAction onOkAction, boolean closeCurrentScreen, int okLabelRID)
          Constructor to create an alert error action
AlertErrorAction(java.lang.String errorMessage)
          Constructor to create an alert error action
AlertErrorAction(java.lang.String errorMessage, boolean closeCurrentScreen)
          Constructor to create an alert error action
AlertErrorAction(java.lang.String errorMessage, IBOBAction onOkAction)
          Constructor to create an alert error action
AlertErrorAction(java.lang.String errorMessage, IBOBAction onOkAction, boolean closeCurrentScreen)
          Constructor to create an alert error action
AlertErrorAction(java.lang.String errorMessage, IBOBAction onOkAction, boolean closeCurrentScreen, java.lang.String okLabel)
          Constructor to create an alert error 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

AlertErrorAction

public AlertErrorAction(int errorMessageRID)
Constructor to create an alert error action

Parameters:
errorMessageRID - int value for the localization resource ID of the error message to be displayed

AlertErrorAction

public AlertErrorAction(java.lang.String errorMessage)
Constructor to create an alert error action

Parameters:
message - String value for the error message to be displayed

AlertErrorAction

public AlertErrorAction(int errorMessageRID,
                        boolean closeCurrentScreen)
Constructor to create an alert error action

Parameters:
errorMessageRID - int value for the localization resource ID of the error message to be displayed
closeCurrentScreen - true close the current active screen, otherwise false

AlertErrorAction

public AlertErrorAction(java.lang.String errorMessage,
                        boolean closeCurrentScreen)
Constructor to create an alert error action

Parameters:
message - String value for the error message to be displayed
closeCurrentScreen - true close the current active screen, otherwise false

AlertErrorAction

public AlertErrorAction(int errorMessageRID,
                        IBOBAction onOkAction)
Constructor to create an alert error action

Parameters:
errorMessageRID - int value for the localization resource ID of the error message to be displayed
onOkAction - IBOBAction object to perform the ok action

AlertErrorAction

public AlertErrorAction(java.lang.String errorMessage,
                        IBOBAction onOkAction)
Constructor to create an alert error action

Parameters:
errorMessage - String value for the error message to be displayed
onOkAction - IBOBAction object to perform the ok action

AlertErrorAction

public AlertErrorAction(int errorMessageRID,
                        IBOBAction onOkAction,
                        boolean closeCurrentScreen)
Constructor to create an alert error action

Parameters:
errorMessageRID - int value for the localization resource ID of the error message to be displayed
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - true close the current active screen, otherwise false

AlertErrorAction

public AlertErrorAction(java.lang.String errorMessage,
                        IBOBAction onOkAction,
                        boolean closeCurrentScreen)
Constructor to create an alert error action

Parameters:
errorMessage - String value for the error message to be displayed
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - true close the current active screen, otherwise false

AlertErrorAction

public AlertErrorAction(int errorMessageRID,
                        IBOBAction onOkAction,
                        boolean closeCurrentScreen,
                        int okLabelRID)
Constructor to create an alert error action

Parameters:
errorMessageRID - int value for the localization resource ID of the error message to be displayed
onOkAction - IBOBAction object to perform the ok action
closeCurrentScreen - true close the current active screen, otherwise false
okLabelRID - String value for the localization resource ID of the ok label that goes in the alert window

AlertErrorAction

public AlertErrorAction(java.lang.String errorMessage,
                        IBOBAction onOkAction,
                        boolean closeCurrentScreen,
                        java.lang.String okLabel)
Constructor to create an alert error action

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

run

public void run()
(non-Javadoc)

See Also:
Runnable.run()