getChild (ViewNavigator - Java)

Returns the first child of an entry in a view navigator.

Defined in

ViewNavigator

Syntax

public ViewEntry getChild()
    throws NotesException
public ViewEntry getChild(ViewEntry entry)
    throws NotesException

Parameters

ViewEntry entry

An entry in the view. Defaults to the current entry. Cannot be null.

Return value

ViewEntry

The first child of the current or specified entry. Returns null if there are no children.

Usage

This method moves the current pointer to the retrieved entry unless the return value is null.

A child of a category entry can be a category or document entry.

Example