code: public void setOnfocus(java.lang.String onfocus) {
          getStateHelper().put(PropertyKeys.onfocus, onfocus);
          handleAttribute("onfocus", onfocus);
      }
docs: <p>Set the value of the <code>onfocus</code> property.</p>