Class OriginalFacesProvider

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

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

      • OriginalFacesProvider

        public OriginalFacesProvider​(@NotNull
                                     @NotNull FacesManager facesManager)
        Creates a new instance.
        Parameters:
        facesManager - the faces manager to query
    • Method Detail

      • getSize

        public int getSize()
        Description copied from interface: FacesProvider
        Returns the size of faces in pixels.
        Specified by:
        getSize in interface FacesProvider
        Returns:
        the size in pixels
      • getImageIcon

        @NotNull
        public @NotNull javax.swing.ImageIcon getImageIcon​(int faceNum,
                                                           boolean @Nullable [] isUnknownImage)
        Description copied from interface: FacesProvider
        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.
        Specified by:
        getImageIcon in interface FacesProvider
        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