public void setColorByProperty(String property, Color color) {
      switch (property) {
        case LINE_NUMBER_COLOR:
          this.lineNumberColor = color;
          break;
        case LINE_NUMBER_PANEL_COLOR:
          this.lineNumberPanelColor = color;
          break;
        case WHITESPACE_COLOR:
          this.whitespaceColor = color;
          break;
        case LINE_HIGHLIGHT_COLOR:
          this.lineHighlightColor = color;
          break;
        case MATCHING_CHAR_COLOR:
          this.matchingCharColor = color;
          break;
        case NO_MATCHING_CHAR_COLOR:
          this.noMatchingCharColor = color;
          break;
        case BACKGROUND_COLOR:
          this.backgroundColor = color;
          break;
        case DEFAULT_FONT_COLOR:
          this.defaultFontColor = color;
          break;
      }
    }