Class FlightPathNotice

java.lang.Object
megamek.client.ui.dialogs.phaseDisplay.SimpleNagNotice
megamek.client.ui.dialogs.phaseDisplay.FlightPathNotice

public class FlightPathNotice extends SimpleNagNotice
See Also:
  • Constructor Details

    • FlightPathNotice

      public FlightPathNotice(ClientGUI clientGui)
      Creates a dialog telling the player to select a ground board flight path for an aero on an atmospheric board.
  • Method Details

    • message

      protected String message()
      Description copied from class: SimpleNagNotice
      Override 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:
      message in class SimpleNagNotice
      Returns:
      A message to show in the dialog.
    • title

      protected String title()
      Description copied from class: SimpleNagNotice
      Override this method to provide the (localized) title for the notice dialog.
      Specified by:
      title in class SimpleNagNotice
      Returns:
      A title for the dialog
    • preferenceKey

      protected String preferenceKey()
      Description copied from class: SimpleNagNotice
      This 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:
      preferenceKey in class SimpleNagNotice
      Returns:
      A key to store a "Don't show again" value in the Client Preferences