Class SBFRecordSheetBook

java.lang.Object
megamek.common.strategicBattleSystems.SBFRecordSheetBook
All Implemented Interfaces:
Printable

public class SBFRecordSheetBook extends Object implements Printable
This class represents a collection of Strategic BattleForce sheets. It implements Printable and can be printed using Java2D printing, see PrinterJob.
  • Constructor Details

    • SBFRecordSheetBook

      public SBFRecordSheetBook(Collection<SBFFormation> formations, @Nullable Font headerFont, @Nullable Font valueFont)
      Constructs a new collection of Strategic BattleForce sheets for the given formations. Formations must not be null. If formations is empty, a single empty record sheet (usable for manual fill-in is printed. The given fonts are used for the sheets' texts.
      Parameters:
      formations - The formations to print sheets for.
      headerFont - The font to use for headers and fixed texts. The size of the font doesn't matter
      valueFont - The font to use for formation values. The size of the font doesn't matter
    • SBFRecordSheetBook

      @Deprecated(since="0.51.0", forRemoval=true) public SBFRecordSheetBook(Collection<SBFFormation> formations)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a new collection of Strategic BattleForce sheets for the given formations. Formations must not be null. If formations is empty, a single empty record sheet (usable for manual fill-in is printed.
      Parameters:
      formations - The formations to print sheets for.
  • Method Details