|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CardSpriteObserver
Observer interface for (draggable) card sprites.
| Method Summary | |
|---|---|
void |
cardSpriteClicked(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user clicked a card sprite. |
void |
cardSpriteDragged(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user dragged a card sprite to a new location. |
void |
cardSpriteEntered(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user moved the mouse pointer onto a card sprite. |
void |
cardSpriteExited(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user moved the mouse pointer off of a card sprite. |
| Method Detail |
|---|
void cardSpriteClicked(CardSprite sprite,
MouseEvent me)
sprite - the dragged spriteme - the mouse event associated with the drag
void cardSpriteEntered(CardSprite sprite,
MouseEvent me)
sprite - the entered spriteme - the mouse event associated with the entrance
void cardSpriteExited(CardSprite sprite,
MouseEvent me)
sprite - the exited the spriteme - the mouse event associated with the exit
void cardSpriteDragged(CardSprite sprite,
MouseEvent me)
sprite - the dragged spriteme - the mouse event associated with the drag
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||