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

Variable Index

 o applet
 o cards
 o COPYRIGHT
 o delay
 o panels

Constructor Index

 o DealerThread(VideoPokerApplet)
This method was created in VisualAge.

Method Index

 o addCard(CardPanel, Card)
This method was created in VisualAge.
 o displayCard()
This method was created in VisualAge.
 o run()
This method was created in VisualAge.

Variables

 o COPYRIGHT
 private static final String COPYRIGHT
 o applet
 private VideoPokerApplet applet
 o delay
 private static int delay
 o panels
 private Vector panels
 o cards
 private Vector cards

Constructors

 o DealerThread
 public DealerThread(VideoPokerApplet applet)
This method was created in VisualAge.

Parameters:
applet - com.lotspiech.poker.applet.VideoPokerApplet

Methods

 o 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
 o displayCard
 private synchronized void displayCard()
This method was created in VisualAge.

 o run
 public void run()
This method was created in VisualAge.

Overrides:
run in class Thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index