Interface JThumbnailPanelListener<T>

Type Parameters:
T - the type of the objects that are displayed within the thumbnails.
All Superinterfaces:
EventListener

public interface JThumbnailPanelListener<T> extends EventListener
An event listener that can deal with JThumbnailPanel.
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)
  • Method Details

    • thumbnailAdded

      void thumbnailAdded(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnail has been added to the panel.
      Parameters:
      panel - the source of the event.
      thumbnail - the added thumbnail.
    • thumbnailRemoved

      void thumbnailRemoved(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnail has been removed from the panel.
      Parameters:
      panel - the source of the event.
      thumbnail - the removed thumbnail.
    • thumbnailSelected

      void thumbnailSelected(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnail has been selected within the panel.
      Parameters:
      panel - the source of the event.
      thumbnail - the selected thumbnail.
    • thumbnailSelected

      void thumbnailSelected(JThumbnailPanel<T> panel, List<JThumbnail<T>> thumbnails)
      The given thumbnails have been selected within the panel.
      Parameters:
      panel - the source of the event.
      thumbnails - the selected thumbnails.
    • thumbnailActivated

      void thumbnailActivated(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnail has been activated within the panel.
      Parameters:
      panel - the source of the event.
      thumbnail - the activated thumbnail.
    • thumbnailEntered

      void thumbnailEntered(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnails have been activated within the panel.
      Parameters:
      panel - the source of the event.
      thumbnail - the activated thumbnail.
    • thumbnailExited

      void thumbnailExited(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnail has been exited.
      Parameters:
      panel - the source of the event.
      thumbnail - the exited thumbnail.
    • thumbnailNeedRefresh

      void thumbnailNeedRefresh(JThumbnailPanel<T> panel, JThumbnail<T> thumbnail)
      The given thumbnail need to be refreshed.
      Parameters:
      panel - panel the source of the event.
      thumbnail - the thumbnail that need to be refreshed.