soc.client
Class SOCHandPanel.HandPanelAutoRollTask

java.lang.Object
  extended by java.util.TimerTask
      extended by soc.client.SOCHandPanel.HandPanelAutoRollTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SOCHandPanel

protected class SOCHandPanel.HandPanelAutoRollTask
extends java.util.TimerTask

Used for countdown before auto-roll of the current player. Updates on-screen countdown, fires auto-roll at 0.

Author:
Jeremy D Monin
See Also:
SOCHandPanel.AUTOROLL_TIME, SOCHandPanel.autoRollSetupTimer()

Field Summary
(package private)  int timeRemain
           
 
Constructor Summary
protected SOCHandPanel.HandPanelAutoRollTask()
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeRemain

int timeRemain
Constructor Detail

SOCHandPanel.HandPanelAutoRollTask

protected SOCHandPanel.HandPanelAutoRollTask()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask