Sets the width and the height of the display This method needs to be implemented in subclasses
void setDisplaySize(int width, int height);