|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.jcardgame.CardAdapter
public class CardAdapter
Empty implementation of callback methods called for card events.
Constructor Summary | |
---|---|
CardAdapter()
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CardAdapter()
Method Detail |
---|
public void leftPressed(Card card)
leftPressed
in interface CardListener
public void leftReleased(Card card)
leftReleased
in interface CardListener
public void leftClicked(Card card)
leftClicked
in interface CardListener
public void leftDoubleClicked(Card card)
leftDoubleClicked
in interface CardListener
public void rightPressed(Card card)
rightPressed
in interface CardListener
public void rightReleased(Card card)
rightReleased
in interface CardListener
public void rightClicked(Card card)
rightClicked
in interface CardListener
public void rightDoubleClicked(Card card)
rightDoubleClicked
in interface CardListener
public void atTarget(Card card, Location targetLocation)
atTarget
in interface CardListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |