Class EmptyFaceProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable javax.swing.ImageIcon getImageIconForFacename​(@NotNull java.lang.String faceName, long stretch)
      Get an image from this FaceProvider.
      void reload()
      Reload faces.
      • Methods inherited from class java.lang.Object

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

      • EmptyFaceProvider

        public EmptyFaceProvider()
    • Method Detail

      • getImageIconForFacename

        @Nullable
        public @Nullable javax.swing.ImageIcon getImageIconForFacename​(@NotNull
                                                                       @NotNull java.lang.String faceName,
                                                                       long stretch)
        Description copied from interface: FaceProvider
        Get an image from this FaceProvider.
        Specified by:
        getImageIconForFacename in interface FaceProvider
        Parameters:
        faceName - face name to get image for, excluding path and ending
        Returns:
        icon for faceName
      • reload

        public void reload()
        Description copied from interface: FaceProvider
        Reload faces. This method does not really immediately reload all faces, lazy loading is allowed. But all old face information definitely is flushed, so in case the files on hard disk have changed, they will be freshly loaded from hard disk.
        Specified by:
        reload in interface FaceProvider