Class SummaryPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class SummaryPanel extends PicMap
Displays a summary info for a unit, using the same html formatting as use by the board view map tooltips. It is intended to be a tab in the UnitDisplay panel.
See Also:
  • Method Details

    • displayMek

      public void displayMek(Entity entity)
      Parameters:
      entity - The Entity to display info for
    • onResize

      public void onResize()
      Description copied from class: PicMap
      onResize() function is calling every time PicMap is resized. Have to be implemented directly to manage composition of component on resizing.
      Specified by:
      onResize in class PicMap
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class PicMap