code: @Override
  	public void addText(String text)
  	{
  		if (selectingText)
  			deleteSelectedText();
  
  		final StringBuilder oldText = this.password;
  		final String oldValue = oldText.toString();
  		String newValue = oldText.insert(this.cursor.index, text).toString();
  
  		if (this.filterFunction != null)
  			newValue = this.filterFunction.apply(newValue);
  
  		if (!fireEvent(new ComponentEvent.ValueChange<>(this, oldValue, newValue)))
  			return;
  
  		this.password = new StringBuilder(newValue);
  		this.updateText();
  		this.cursor.jumpBy(text.length());
  	}
docs: Adds the text.
  
  @param text the text