An abstract base class for concrete gesture-recognizer classes.