Interface SwipeDeck.SwipeListener

Enclosing class:
SwipeDeck

public static interface SwipeDeck.SwipeListener
Told when a card leaves the deck.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cardSwiped(Component card, int direction)
    A card was swiped away.
  • Method Details

    • cardSwiped

      void cardSwiped(Component card, int direction)

      A card was swiped away.

      Parameters
      • card: the card that left

      • direction: #LEFT, #RIGHT or #UP