DhForm.remove

Overview | Methods | Fields | This Package | All Packages

DhForm.remove

Removes an element from this container.

Syntax

public int remove( DhElement element )

Parameters

element

The DhElement to remove from this container.

Return Value

Returns the original ordinal position of the removed element.

Exceptions

WFCInvalidArgumentException thrown if the element is not a child of this container.

Remarks

The element must be a direct child of this container. If you don't have the a direct handle to the parent of the element you want to remove, call the getParent method of element, and remove the element.

If the element was visible prior to this call, it will not be visible after the call.

See Also   add