averageTime
private JLabel averageTime
endTime
private Date endTime
history
private JTextArea history
isTutorial
private boolean isTutorial
isTutorialExec
private boolean isTutorialExec
l_Password
private JLabel l_Password
l_history
private JLabel l_history
l_level
private JLabel l_level
l_username
private JLabel l_username
level
private JLabel level
losts
private JLabel losts
neededtime
private long neededtime
password
private JPasswordField password
showAverageTime
private JLabel showAverageTime
showMisses
private JLabel showMisses
showSuccessRatio
private JLabel showSuccessRatio
showSuccesses
private JLabel showSuccesses
showTries
private JLabel showTries
startTime
private Date startTime
submit
private JButton submit
successRatio
private JLabel successRatio
tries
private JLabel tries
username
private JTextField username
welcome
private JLabel welcome
wrongVertexes
private int wrongVertexes
appendHistory
public void appendHistory(String str)
correctInput
protected void correctInput(Graph g)
This function compare the user input which the
computize values. And make them visible on the
screen and in the interaction. First we compare
the distance of each node and the setted edges.
decrementLevel
public void decrementLevel()
getEndTime
public long getEndTime()
getID
public String getID()
getInteractions
public JTextArea getInteractions()
Returns the interactions.
getLevel
public int getLevel()
getMisses
public int getMisses()
Returns the showLosts.
getPassword
public String getPassword()
getShowAverageTime
public int getShowAverageTime()
Returns the showAverageTime.
getShowSuccessRatio
public int getShowSuccessRatio()
Returns the showSuccessRatio.
getStartTime
public long getStartTime()
Returns the startTime.
getTries
public int getTries()
Returns the showTries.
getWins
public int getWins()
Returns the showWins.
incrementLevel
public void incrementLevel()
Sets the actualLevel.
incrementMiss
public void incrementMiss()
Sets the showWins.
incrementSuccess
public void incrementSuccess()
Sets the showWins.
incrementTries
public void incrementTries()
Sets the showTries.
isTutorial
public boolean isTutorial()
isTutorialExec
public boolean isTutorialExec()
resetHistory
public void resetHistory()
setEndTime
public void setEndTime()
Sets the endTime.
setNeededTime
private void setNeededTime()
Sets the showAverageTime.
setStartTime
public void setStartTime()
Sets the startTime.
setTutorial
public void setTutorial(boolean b)
setTutorialExec
public void setTutorialExec(boolean isTutorialExec)
Sets the isTutorialExec.
isTutorialExec
- The isTutorialExec to set
setUserGraph
public void setUserGraph(UserGraph userGraph)
setWins
public void setWins(JLabel wins)
Sets the wins.
setWrongVertexes
public void setWrongVertexes(int wrongVertexes)
Sets the wrongVertexes.
wrongVertexes
- The wrongVertexes to set
updateSuccessRatio
private void updateSuccessRatio()
Sets the showSuccessRatio.
updateUserData
public void updateUserData(Graph graph)