Finished implementing the text widget base class.