Interface SwipeDeck.SwipeListener
- Enclosing class:
SwipeDeck
public static interface SwipeDeck.SwipeListener
Told when a card leaves the deck.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcardSwiped(Component card, int direction) A card was swiped away.
-
Method Details
-
cardSwiped
A card was swiped away.
Parameters
-
card: the card that left -
direction:#LEFT,#RIGHTor#UP
-
-