An abstract base class for creating a refresh control.