|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkawigi.widget.ProblemTimingInfo
public class ProblemTimingInfo
This class is used to persist data about timing on a specific problem that you've opened. This persistence allows KawigiEdit to show correct timing info for a problem that you closed and reopened, as long as you didn't exit the contest applet in between.
| Constructor Summary | |
|---|---|
ProblemTimingInfo(double points,
long startTime,
int problemID)
Constructs a new ProblemTimingInfo object and initializes variables. |
|
| Method Summary | |
|---|---|
double |
currentScore()
Returns the score on the current problem if it were submitted right now. |
double |
getPoints()
Returns the point value for this problem. |
int |
getProblemID()
Returns the unique ProblemID of this problem from TopCoder. |
long |
getStartTime()
Returns the time that this problem was opened. |
void |
setContestLength(int minutes)
Sets the length of the contest. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProblemTimingInfo(double points,
long startTime,
int problemID)
| Method Detail |
|---|
public double getPoints()
public int getProblemID()
public long getStartTime()
public void setContestLength(int minutes)
public double currentScore()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||