Class FaceImages


  • public class FaceImages
    extends java.lang.Object
    Consists of three ImageIcons representing a Face.
    • Constructor Summary

      Constructors 
      Constructor Description
      FaceImages​(@NotNull javax.swing.ImageIcon originalImageIcon, @NotNull javax.swing.ImageIcon scaledImageIcon, @NotNull javax.swing.ImageIcon magicMapImageIcon)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull javax.swing.ImageIcon getMagicMapImageIcon()
      Returns the ImageIcon scaled for the magic map view.
      @NotNull javax.swing.ImageIcon getOriginalImageIcon()
      Returns the ImageIcon as sent by the Crossfire server.
      @NotNull javax.swing.ImageIcon getScaledImageIcon()
      Returns the ImageIcon scaled for the map view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FaceImages

        public FaceImages​(@NotNull
                          @NotNull javax.swing.ImageIcon originalImageIcon,
                          @NotNull
                          @NotNull javax.swing.ImageIcon scaledImageIcon,
                          @NotNull
                          @NotNull javax.swing.ImageIcon magicMapImageIcon)
        Creates a new instance.
        Parameters:
        originalImageIcon - the image icon as sent by the Crossfire server
        scaledImageIcon - the image icon scaled for the map view
        magicMapImageIcon - the image icon scaled for the magic map view
    • Method Detail

      • getOriginalImageIcon

        @NotNull
        public @NotNull javax.swing.ImageIcon getOriginalImageIcon()
        Returns the ImageIcon as sent by the Crossfire server.
        Returns:
        the image icon
      • getScaledImageIcon

        @NotNull
        public @NotNull javax.swing.ImageIcon getScaledImageIcon()
        Returns the ImageIcon scaled for the map view.
        Returns:
        the image icon
      • getMagicMapImageIcon

        @NotNull
        public @NotNull javax.swing.ImageIcon getMagicMapImageIcon()
        Returns the ImageIcon scaled for the magic map view.
        Returns:
        the image icon