|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
SolitaireEvent
public class SolitaireEvent
A semantic solitaire event storing both the card and the pile in which the card is stored for the card generating the event.
| Constructor Summary | |
|---|---|
SolitaireEvent(GuiCardProxy card,
java.lang.String pileID)
Construct an event from a card and pile (presumably the card is in the pile, but not enforced) |
|
| Method Summary | |
|---|---|
GuiCardProxy |
getCard()
Get card for event. |
java.lang.String |
getPileID()
Get pile ID (unique) for event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SolitaireEvent(GuiCardProxy card,
java.lang.String pileID)
card - generates the event, e.g., clicked onpileID - is unique pile id of pile in which card is stored| Method Detail |
|---|
public GuiCardProxy getCard()
public java.lang.String getPileID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||