Overview | Methods | Fields | This Package | All Packages
OverviewMethodsFieldsThis PackageAll Packages
DhForm.add
Adds an element into this container, following all other elements.
Syntax
public void add( DhElement element )
public void add( DhElement element**, int** insertFlag )
public void add( DhElement element**, DhElement** relativeTo**, int** insertFlag )
Parameters
element
The DhElement to add to the end of the flow of this container.
insertFlag
One of the valid and applicable DhInsertOptions insert constants. The valid values are:
- END inserts at the end of the flow or into this container. The relativeTo parameter must be null if used.
- BEGINNING inserts at the beginning of the flow or this container. The relativeTo parameter must be null if used.
- BEFORE inserts before the element referred to by the relativeTo parameter. The relativeTo parameter must not be null.
- AFTER insert after the element referred to by the relativeTo parameter. The relativeTo parameter must not be null.
relativeTo
The DhElement referred to when using the BEFORE or AFTER constants for the insertFlag parameter.
See Also remove