Class SummaryView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SummaryView extends IView
This class represents the unit weight / crit / availability summary table on the structure tab. To construct it, it needs an EntitySource as well as a list of SummaryItem that can be directly constructed in the constructor call of this view.
See Also:
  • Constructor Details

    • SummaryView

      public SummaryView(EntitySource entitySource, SummaryItem... summaryItems)
      Constructs a new summary table having the given summary items in the order they are listed.
      Parameters:
      entitySource - The EntitySource (cannot be null)
      summaryItems - The SummaryItems to show
    • SummaryView

      @Deprecated(since="0.51.0", forRemoval=true) public SummaryView(EntitySource entitySource, boolean showCrits, SummaryItem... summaryItems)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a new summary table having the given summary items in the order they are listed.
      Parameters:
      entitySource - The EntitySource (cannot be null)
      showCrits - When false, the crits column is hidden
      summaryItems - The SummaryItems to show
  • Method Details

    • refresh

      public void refresh()