All Packages Class Hierarchy This Package Previous Next Index
Class com.lotspiech.poker.applet.DealerThread
java.lang.Object
|
+----java.lang.Thread
|
+----com.lotspiech.poker.applet.DealerThread
- public class DealerThread
- extends Thread
This class runs a thread so that the dealt or drawn
cards are not immediately revealed.
Copyright 2001, 2002 by Jeffrey B. Lotspiech. This program is open source;
it is licensed under the Common Public License Version 0.5.
- Author:
- Jeffrey B. Lotspiech
-
applet
-
-
cards
-
-
COPYRIGHT
-
-
delay
-
-
panels
-
-
DealerThread(VideoPokerApplet)
- This method was created in VisualAge.
-
addCard(CardPanel, Card)
- This method was created in VisualAge.
-
displayCard()
- This method was created in VisualAge.
-
run()
- This method was created in VisualAge.
COPYRIGHT
private static final String COPYRIGHT
applet
private VideoPokerApplet applet
delay
private static int delay
panels
private Vector panels
cards
private Vector cards
DealerThread
public DealerThread(VideoPokerApplet applet)
- This method was created in VisualAge.
- Parameters:
- applet - com.lotspiech.poker.applet.VideoPokerApplet
addCard
public synchronized void addCard(CardPanel panel,
Card card)
- This method was created in VisualAge.
- Parameters:
- panel - com.lotspiech.poker.CardPanel
- card - com.lotspiech.poker.Card
displayCard
private synchronized void displayCard()
- This method was created in VisualAge.
run
public void run()
- This method was created in VisualAge.
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index