public void setDirection(Direction direction) {
   textBox.setDirection(direction);
 }