soc.client
Class SOCPlayerInterface.SOCPITextDisplaysLargerTask

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

private class SOCPlayerInterface.SOCPITextDisplaysLargerTask
extends java.util.TimerTask

For 6-player board, make the text displays larger/smaller when mouse enters/exits them. Wait 200 ms first, to avoid flicker in case of several related SOCPlayerInterface.mouseExited(MouseEvent)/SOCPlayerInterface.mouseEntered(MouseEvent) events (such as moving mouse from SOCPlayerInterface.textDisplay to SOCPlayerInterface.chatDisplay).

Used only when SOCPlayerInterface.is6player true.

Delay was 100 ms in 1.1.08, increased to 200 ms in 1.1.09.

Since:
1.1.08
Author:
Jeremy D Monin

Constructor Summary
private SOCPlayerInterface.SOCPITextDisplaysLargerTask()
           
 
Method Summary
 void run()
          Called when timer fires; see class javadoc for actions taken.
 
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
 

Constructor Detail

SOCPlayerInterface.SOCPITextDisplaysLargerTask

private SOCPlayerInterface.SOCPITextDisplaysLargerTask()
Method Detail

run

public void run()
Called when timer fires; see class javadoc for actions taken.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask