public void setCellOnKeyPress ( String onKeyPress ) { _cellState . registerAttribute ( AbstractHtmlState . ATTR_JAVASCRIPT , HtmlConstants . ONKEYPRESS , onKeyPress ) ; }
Sets the onKeyPress javascript event for the HTML table cell .