Class PopupStatistics

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class PopupStatistics extends WebbPopup
Popup that displays the statistics of the player.
See Also:
  • Constructor Details

    • PopupStatistics

      public PopupStatistics(UserStatsDTO statisticsData)
      Creates a new popup with the given title.
      Parameters:
      statisticsData - StatisticsData object containing the statistics of the player
  • Method Details

    • populateComponents

      protected void populateComponents(JPanel contentPane, SpringLayout layout)
      Description copied from class: WebbPopup
      Populates the components of the popup.
      Specified by:
      populateComponents in class WebbPopup
      Parameters:
      contentPane - The content pane of the popup.
      layout - The layout of the popup.