FileDocCategorySizeDatePackage
IWonEvent.javaAPI DocExample741Tue Dec 12 18:58:42 GMT 2000bingo.player

IWonEvent

public class IWonEvent extends AWTEvent
Event posted when the user claims to win a game.

Fields Summary
private CardWindow
cardWindow
private static int
IWONEVENT_ID
Constructors Summary
public IWonEvent(Object source, CardWindow cardWindow)

    //private static int IWONEVENT_ID = 0;

         
	super(source, IWONEVENT_ID); 
	this.cardWindow = cardWindow;
    
Methods Summary
public CardgetCard()

	if (Player.DEBUG) {
	    System.out.println("IWonEvent getCard method called");
	}
	return cardWindow.getCard();
    
public CardWindowgetCardWindow()

	if (Player.DEBUG) {
	    System.out.println("IWonEvent getCardWindow method called");
	}
	return cardWindow;