BiFocusManager

This singleton class handles the focus management in Bindows

This class extends BiObject and therefore all methods and fields available for BiObject are also available for BiFocusManager .

Constructor

new BiFocusManager ( )

Parameters

No parameters.

Properties

None.

Methods

NameDescription
getFirstGets the first focusable descendant component for the given component according to the tab indexes.
getLastGets the last focusable descendant component for the given component according to the tab indexes.
processKeyEventThis takes a keyboard event and in case the tab key was pressed the focus manager moves the focus to the next or previous component

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

None.

Method Details

getFirst

Gets the first focusable descendant component for the given component according to the tab indexes.

Syntax

object.getFirst ( oComponent )

Parameters

NameTypeOptionalDefaultDescripton
oComponentBiComponentParent component.

Return Type

BiComponent

getLast

Gets the last focusable descendant component for the given component according to the tab indexes.

Syntax

object.getLast ( oComponent )

Parameters

NameTypeOptionalDefaultDescripton
oComponentBiComponentParent component.

Return Type

BiComponent

processKeyEvent

This takes a keyboard event and in case the tab key was pressed the focus manager moves the focus to the next or previous component

Syntax

object.processKeyEvent ( oContainer,e )

Parameters

NameTypeOptionalDefaultDescripton
oContainerBiComponentThe focus container
eBiKeyboardEventThe keyboard event describing the event

Return Type

void