reflect changes in displayWidget method in the public method docs