|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.media.sprite.PathAdapter
com.threerings.parlor.card.client.CardPanel.HandSpriteObserver
protected class CardPanel.HandSpriteObserver
Listens for interactions with cards in hand.
| Constructor Summary | |
|---|---|
protected |
CardPanel.HandSpriteObserver()
|
| 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. |
protected void |
maybeUpdateOffset(CardSprite sprite)
|
void |
pathCompleted(com.threerings.media.sprite.Sprite sprite,
com.threerings.media.util.Path path,
long when)
|
| Methods inherited from class com.threerings.media.sprite.PathAdapter |
|---|
pathCancelled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CardPanel.HandSpriteObserver()
| Method Detail |
|---|
public void pathCompleted(com.threerings.media.sprite.Sprite sprite,
com.threerings.media.util.Path path,
long when)
pathCompleted in interface com.threerings.media.sprite.PathObserverpathCompleted in class com.threerings.media.sprite.PathAdapter
public void cardSpriteClicked(CardSprite sprite,
MouseEvent me)
CardSpriteObserver
cardSpriteClicked in interface CardSpriteObserversprite - the dragged spriteme - the mouse event associated with the drag
public void cardSpriteEntered(CardSprite sprite,
MouseEvent me)
CardSpriteObserver
cardSpriteEntered in interface CardSpriteObserversprite - the entered spriteme - the mouse event associated with the entrance
public void cardSpriteExited(CardSprite sprite,
MouseEvent me)
CardSpriteObserver
cardSpriteExited in interface CardSpriteObserversprite - the exited the spriteme - the mouse event associated with the exit
public void cardSpriteDragged(CardSprite sprite,
MouseEvent me)
CardSpriteObserver
cardSpriteDragged in interface CardSpriteObserversprite - the dragged spriteme - the mouse event associated with the dragprotected void maybeUpdateOffset(CardSprite sprite)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||