Class GalleryImage

java.lang.Object
com.example.skeddly.ui.utility.GalleryImage

public class GalleryImage extends Object
This class represents a single image in the gallery.
  • Constructor Details

    • GalleryImage

      public GalleryImage(Event event)
      Constructor for GalleryImage.
      Parameters:
      event - The event associated with this image.
  • Method Details

    • getEvent

      public Event getEvent()
      Get the event associated with this image.
      Returns:
      The event associated with this image.
    • isSelected

      public boolean isSelected()
      Check if this image is selected.
      Returns:
      True if selected, false otherwise.
    • setSelected

      public void setSelected(boolean selected)
      Set the selection status of this image.
      Parameters:
      selected - True to select, false to deselect.