Class FlightPathNotice
java.lang.Object
megamek.client.ui.dialogs.phaseDisplay.SimpleNagNotice
megamek.client.ui.dialogs.phaseDisplay.FlightPathNotice
- See Also:
-
Field Summary
Fields inherited from class megamek.client.ui.dialogs.phaseDisplay.SimpleNagNotice
clientGui, contentPanel, initialized -
Constructor Summary
ConstructorsConstructorDescriptionFlightPathNotice(ClientGUI clientGui) Creates a dialog telling the player to select a ground board flight path for an aero on an atmospheric board. -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringmessage()Override this method to provide the (localized) message to show in the notice.protected StringThis method may be overridden to provide a non-empty and unique key String for the Client Preferences.protected Stringtitle()Override this method to provide the (localized) title for the notice dialog.Methods inherited from class megamek.client.ui.dialogs.phaseDisplay.SimpleNagNotice
getWidth, initialize, show
-
Constructor Details
-
FlightPathNotice
Creates a dialog telling the player to select a ground board flight path for an aero on an atmospheric board.
-
-
Method Details
-
message
Description copied from class:SimpleNagNoticeOverride this method to provide the (localized) message to show in the notice. The message will be shown as HTML and HTML and BODY tags will be added. Therefore, HTML tags can be used in the message, but it should not include HTML, HEAD or BODY tags.- Specified by:
messagein classSimpleNagNotice- Returns:
- A message to show in the dialog.
-
title
Description copied from class:SimpleNagNoticeOverride this method to provide the (localized) title for the notice dialog.- Specified by:
titlein classSimpleNagNotice- Returns:
- A title for the dialog
-
preferenceKey
Description copied from class:SimpleNagNoticeThis method may be overridden to provide a non-empty and unique key String for the Client Preferences. When this is done, a "Don't show again" checkbox will be shown and the result will be stored in the Client Preferences using the given key. When this is done and the checkbox is activated, this notice will no longer be shown when show() is called.- Overrides:
preferenceKeyin classSimpleNagNotice- Returns:
- A key to store a "Don't show again" value in the Client Preferences
-