setKeyPress

public InputOption setKeyPress(KeyPress keyPress)

Sets the field 'keyPress'.