public void setOnFocus ( String onfocus ) { _anchorState . registerAttribute ( AbstractHtmlState . ATTR_JAVASCRIPT , HtmlConstants . ONFOCUS , onfocus ) ; }
Sets the onFocus JavaScript event for the HTML anchor .