Class HelpTextElement

  extended by adapforms.form.elements.FormElement
      extended by adapforms.form.elements.HelpTextElement

public class HelpTextElement
extends FormElement

Help text displayed inline in the form.

Henrik Gammelmark,

Constructor Summary
HelpTextElement(java.lang.String id, SimpleLabel label)
Method Summary
 HelpTextElement clone(java.lang.String id, SimpleLabel label)
          Create a clone of the element, given a new ID and label.
 java.lang.String toString()
          Used for pretty-printing the element.
Methods inherited from class adapforms.form.elements.FormElement
cloneFinalize, getElementID, getLabel, getRolesRead, getUIFlags, isRelevant, setRelevant, setRolesRead, setUIFlags, toStringHelper
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public HelpTextElement(java.lang.String id,
                       SimpleLabel label)
Method Detail


public HelpTextElement clone(java.lang.String id,
                             SimpleLabel label)
Description copied from class: FormElement
Create a clone of the element, given a new ID and label.

Important: The method should call FormElement.cloneFinalize(FormElement) before returning. This adds common parameters to the clone.

Specified by:
clone in class FormElement


public java.lang.String toString()
Description copied from class: FormElement
Used for pretty-printing the element. See Form.prettyPrintStructure().

Specified by:
toString in class FormElement