Class StorySplash

java.lang.Object
megamek.common.icons.AbstractIcon
mekhq.campaign.storyArc.StorySplash
All Implemented Interfaces:
Serializable

public class StorySplash extends megamek.common.icons.AbstractIcon
Extension of AbstractIcon to handle splash images associated with a StoryDialog
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class megamek.common.icons.AbstractIcon

    DEFAULT_ICON_FILENAME, filename, ROOT_CATEGORY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    StorySplash(String category, String filename)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    void
    writeToXML(PrintWriter pw, int indent)
     

    Methods inherited from class megamek.common.icons.AbstractIcon

    equals, getCategory, getFilename, getImage, getImage, getImage, getImage, getImageIcon, getImageIcon, hasDefaultCategory, hasDefaultFilename, hashCode, isDefault, isScaled, parseNode, parseNodes, scaleAndCenter, setCategory, setFilename, toString, writeBodyToXML, writeToXML

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • StorySplash

      public StorySplash()
    • StorySplash

      public StorySplash(@Nullable String category, @Nullable String filename)
  • Method Details

    • getBaseImage

      public Image getBaseImage()
      Specified by:
      getBaseImage in class megamek.common.icons.AbstractIcon
    • writeToXML

      public void writeToXML(PrintWriter pw, int indent)
      Specified by:
      writeToXML in class megamek.common.icons.AbstractIcon
    • parseFromXML

      public static StorySplash parseFromXML(Node wn)
    • clone

      public StorySplash clone()
      Overrides:
      clone in class Object