Interface FacesProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @NotNull javax.swing.ImageIcon getImageIcon​(int faceNum, boolean @Nullable [] isUnknownImage)
      Returns the face for a face ID.
      int getSize()
      Returns the size of faces in pixels.
    • Method Detail

      • getSize

        int getSize()
        Returns the size of faces in pixels.
        Returns:
        the size in pixels
      • getImageIcon

        @NotNull
        @NotNull javax.swing.ImageIcon getImageIcon​(int faceNum,
                                                    boolean @Nullable [] isUnknownImage)
        Returns the face for a face ID. This function returns immediately even if the face is not loaded. A not loaded face will be updated as soon as loading has finished.
        Parameters:
        faceNum - the face ID
        isUnknownImage - returns whether the returned face is the "unknown" face; ignored if null
        Returns:
        the face, or the "unknown" face if the face is not loaded