Package megameklab.ui
Class PopupMessages
java.lang.Object
megameklab.ui.PopupMessages
This class contains static methods that each show a commonly used popup message, such as the "unit is invalid"
warning or common errors. The parent frame should ideally be not null.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidshowFileReadError(Component parent, String fileName) static voidshowFileReadError(Component parent, String fileName, String errorMessage) static voidshowFileWriteError(Component parent, String errorMessage) static voidshowImproperFileType(Component parent) static voidshowInvalidLocationInfo(Component parent, String equipmentName, String locationName) static voidshowLocationFullError(Component parent) static voidshowLocationFullError(Component parent, String equipmentName) static voidshowLookAndFeelError(Component parent, String errorMessage) static voidstatic voidshowNoFluffImage(Component parent) static voidshowNoMostRecentUnitError(Component parent) static voidshowSettingsImported(Component parent) static voidshowSettingsImportHelp(Component parent) static voidshowUiLoadError(Component parent) static voidshowUncaughtException(Component parent, Throwable throwable) static voidshowUnitInvalidWarning(Component parent) static voidshowUnitInvalidWarning(Component parent, String validationResult) static voidshowUnitIsValid(Component parent) static voidshowUnitSavedMessage(Component parent, megamek.common.units.Entity entity, File file) static voidshowWrongIconSize(Component parent)
-
Method Details
-
showMostRecentUnitMissingError
-
showNoMostRecentUnitError
-
showSettingsImported
-
showSettingsImportHelp
-
showUiLoadError
-
showInvalidLocationInfo
-
showFileReadError
-
showFileReadError
-
showLocationFullError
-
showLocationFullError
-
showUnitInvalidWarning
-
showUnitInvalidWarning
-
showUnitIsValid
-
showFileWriteError
-
showUnitSavedMessage
-
showLookAndFeelError
-
showUncaughtException
-
showImproperFileType
-
showNoFluffImage
-
showWrongIconSize
-