/** * Set the head element which is the label associated with this list. This method should be called * before any other elements have been added to the list. * * @param key (Required) Key to the i18n catalogue to translate the content into the language * preferred by the user. */ public void setHead(Message key) throws WingException { Head head = setHead(); head.addContent(key); }
/** * Set the head element which is the label associated with this list. This method should be called * before any other elements have been added to the list. * * @param characters (Required) Untranslated character data to be included as the list's head. */ public void setHead(String characters) throws WingException { Head head = setHead(); head.addContent(characters); }