|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--JavaQuest.Client.CClientRemainingTime
CClientRemainingTime thread is used to run a time it tells how long the Player is on turn
CClientFrame
,
CUtils
Field Summary | |
private double |
m_dProgressBarMultiply
to calculate the footstep of the ProgressBar |
private int |
m_iTimer
integer for the time |
private CUtils |
m_oUtil
|
private javax.swing.JProgressBar |
o_RemainingTime
reference of the ProgressBar |
Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
Constructor Summary | |
CClientRemainingTime(javax.swing.JProgressBar _RemainingTime,
CUtils _oUtil)
Constructor |
Method Summary | |
private void |
jbInit()
jbInit Component initialization |
void |
run()
run run is a thread-method |
protected void |
setValue(int _i)
setValue set the Timer to the value of the first param |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int m_iTimer
private double m_dProgressBarMultiply
private javax.swing.JProgressBar o_RemainingTime
private CUtils m_oUtil
Constructor Detail |
public CClientRemainingTime(javax.swing.JProgressBar _RemainingTime, CUtils _oUtil)
JProgressBar
- _RemainingTimeCUtils
- _oUtilMethod Detail |
private void jbInit() throws java.lang.Exception
java.lang.Exception
- Exceptionpublic void run()
run
in class java.lang.Thread
protected void setValue(int _i)
int
- _i the value of the ProgressBar reset
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |