public class MessageDisplay extends Object implements SwingConstants
| Modifier and Type | Field and Description |
|---|---|
static String |
HOME_DIR |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
MessageDisplay() |
| Modifier and Type | Method and Description |
|---|---|
static void |
centerWindowInFrame(Window window,
Frame frame) |
static void |
clearTestError() |
static int |
displayConfirmation(String strMsg,
int iButtonsType) |
static int |
displayConfirmation(String strMsg,
int iButtonsType,
int iType,
String[] astrButtonLabels,
Point loc) |
static int |
displayConfirmation(String strMsg,
int iButtonsType,
String[] astrButtonLabels) |
static int |
displayConfirmation(String strMsg,
int iButtonsType,
String[] astrButtonLabels,
Point loc) |
static void |
displayError(String strMsg) |
static void |
displayError(Throwable e) |
static void |
displayErrorNoWrap(String strMsg) |
static void |
displayInformation(String strMsg) |
static void |
displayMessageBox(String strMsg,
int iType,
boolean bNonModalMsg) |
static void |
displayMessageBox(String strMsg,
int iType,
boolean bNonModalMsg,
boolean bWrapText) |
static void |
displayWarning(String strMsg) |
static JFrame |
getFrame() |
static Point |
getLastMessageLocation() |
static String |
getLastTestError() |
static void |
Log(Throwable t) |
static void |
showMessageNonModal(String strMsg) |
static void |
showMessageNonModal(String strMsg,
int iType) |
public static final String HOME_DIR
public static void Log(Throwable t)
public static void displayError(Throwable e)
public static void displayError(String strMsg)
public static void displayErrorNoWrap(String strMsg)
public static void displayWarning(String strMsg)
public static void displayInformation(String strMsg)
public static void displayMessageBox(String strMsg, int iType, boolean bNonModalMsg)
public static void displayMessageBox(String strMsg, int iType, boolean bNonModalMsg, boolean bWrapText)
public static String getLastTestError()
public static void clearTestError()
public static void showMessageNonModal(String strMsg)
public static void showMessageNonModal(String strMsg, int iType)
public static int displayConfirmation(String strMsg, int iButtonsType)
public static int displayConfirmation(String strMsg, int iButtonsType, String[] astrButtonLabels)
public static int displayConfirmation(String strMsg, int iButtonsType, String[] astrButtonLabels, Point loc)
public static int displayConfirmation(String strMsg, int iButtonsType, int iType, String[] astrButtonLabels, Point loc)
public static Point getLastMessageLocation()
public static JFrame getFrame()
Copyright © 2016. All rights reserved.