Class JThumbnailImage<T>

Type Parameters:
T - the type of the objects that are displayed within the thumbnail.
All Implemented Interfaces:
MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class JThumbnailImage<T> extends JThumbnail<T>
A thumbnail that display an image as content.
Since:
1.0.8
Version:
"1.0.14" - b202111241200L
Author:
Julien SEINTURIER - Université de Toulon / CNRS LIS umr 7020 - github.com/jorigin/jcommon (contact@jorigin.org)
See Also:
  • Constructor Details

    • JThumbnailImage

      public JThumbnailImage(String name, int width, int height, int margin, int ID, Image image, T content)
      Create a new thumbnail that use an image as displayable content.
      Parameters:
      name - the name of the thumbnail.
      width - the width of the thumbnail.
      height - the height of the thumbnail.
      margin - the margin size of the thumbnail.
      ID - the identifier of the thumbnail.
      image - the image to display.
      content - the content of the thumbnail.
  • Method Details

    • validate

      public void validate()
      Overrides:
      validate in class JThumbnail<T>
    • refreshGUI

      protected void refreshGUI()
      Description copied from class: JThumbnail
      Refresh the Graphical User Interface (GUI) components.
      Overrides:
      refreshGUI in class JThumbnail<T>