nts(opt_eventSet);
    }
  },

  clearHighlight_(opt_eventSet) {
    this.setHighlight_();
  },

  onClicked_(clickEvent) {
    if (!this.selection_) return;

    clickEvent.stopPropagation();

    const event = new tr.model.RequestSelectionChangeEvent();
    event.selection = this.getCurrentSelection_();
    this.dispatchEvent(event);
  },

  onMouseEnter_() {
    this.setHighlight_(this.getCurrentSelection_());
  },

  onMouseLeave_() {
    this.clearHighlight_();
  }
});
</script>
