Behaviour
A vertical field manager lays out fields top to bottom in a single
column. You can build this manager with Manager.HORIZONTAL_SCROLL to
accommodate fields wider than the manager's visible frame; you
can build this manager with Manager.VERTICAL_SCROLL to accommodate
collections of fields taller than the manager's visible frame.

getPreferredHeight

public int getPreferredHeight()

Retrieves the manager's preferred height (in pixels).

This method returns the height (in pixels) required to lay out the managerís contents.
It includes the preferred heights for the controlled fields, as well as spacing between
these fields. Spacing between neighboring fields is defined by the largest of each fieldís
margins.

nextFocus

protected int nextFocus(int direction,
int axis)

Retrieves the index of the next field that should be given focus.

This method is called by the framework during a trackball focus move
operation.

The direction parameter indicates the direction in which the focus
is moving: a value of 1 indicates that the focus is moving forward
(generally down and to the right), while a value of -1 indicates that
the focus is moving backwards (generally up and to the left).

subpaint

The framework invokes this method to direct this manager to repaint
its controlled fields. This method examines the clipping rectangle
contained in the graphics context parameter to determine which controlled
fields are in the invalid region (require repainting), in order to
prevent unnecessary redraws.

Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.Java is a trademark of Oracle America Inc. in the US and other countries.Legal