Example #1
0
  public void clear() {

    for (int i = 0; i < Model.getPlaces(); i++) {

      codepanel.setGuess(i, null);
    }
    markpanel.set(null);
  }
Example #2
0
  public void activate(boolean isActive) {

    if (isActive) {

      setBackground(Color.DARK_GRAY);
    } else {

      setBackground(Color.LIGHT_GRAY);
    }
    codepanel.activate(isActive);
  }
Example #3
0
  public void setAnswer(AnswerCode answer, View.EntryType visibility) {

    codepanel.set(answer, visibility);
  }
Example #4
0
  public void setGuess(int colId, CodeColour col) {

    codepanel.setGuess(colId, col);
  }
Example #5
0
  public void setCode(ColourCode colcode) {

    codepanel.set(colcode);
  }