createColumn (View - Java)

Creates a new column.

Note: This method is new with Release 6.5.

Defined in

View

Syntax

public ViewColumn createColumn()
    throws NotesException
public ViewColumn createColumn(int position)
    throws NotesException
public ViewColumn createColumn(int position, String columntitle)
    throws NotesException
public ViewColumn createColumn(int position, String columntitle, String formula)
    throws NotesException

Parameters

int position

The position of the new column. Defaults to the last column.

String columntitle

The column title.

String formula

The column formula. "@DocNumber" is the default.

Return value

ViewColumn

A ViewColumn object. The new column.

Usage

Positioning is 1-based. This differs from the vector returned by Columns, which is 0-based.

Example