ch.aplu.jcardgame
Interface CardListener

All Known Implementing Classes:
CardAdapter

public interface CardListener

Declaration of callback methods called for card events.


Method Summary
 void atTarget(Card card, Location targetLocation)
          Triggered when a card arrives a the target after a card transfer.
 void leftClicked(Card card)
          Triggered when a card is left clicked.
 void leftDoubleClicked(Card card)
          Triggered when a card is left double-clicked.
 void leftPressed(Card card)
          Triggered when a card is left pressed.
 void leftReleased(Card card)
          Triggered when a card is left released.
 void rightClicked(Card card)
          Triggered when a card is right clicked.
 void rightDoubleClicked(Card card)
          Triggered when a card is right double-clicked.
 void rightPressed(Card card)
          Triggered when a card is right pressed.
 void rightReleased(Card card)
          Triggered when a card is right released.
 

Method Detail

leftPressed

void leftPressed(Card card)
Triggered when a card is left pressed.


leftReleased

void leftReleased(Card card)
Triggered when a card is left released.


leftClicked

void leftClicked(Card card)
Triggered when a card is left clicked.


leftDoubleClicked

void leftDoubleClicked(Card card)
Triggered when a card is left double-clicked.


rightPressed

void rightPressed(Card card)
Triggered when a card is right pressed.


rightReleased

void rightReleased(Card card)
Triggered when a card is right released.


rightClicked

void rightClicked(Card card)
Triggered when a card is right clicked.


rightDoubleClicked

void rightDoubleClicked(Card card)
Triggered when a card is right double-clicked.


atTarget

void atTarget(Card card,
              Location targetLocation)
Triggered when a card arrives a the target after a card transfer.