API specifications of NAB framework June 21, 2006
Contents PreviousNext

Chapter 5 NAB Framework API Reference

5.2 INtkInitializer(Toolkit Initializer)

INtkInitializer defines the interface for NTK initialization processing in NAB Framework.

An instance of the implementation class of this interface is set in NtkManager, and it operates under the control of NtkManager.

Implementation example: MwtInitializer

Method name

Outline

NtkEventCallbackManager getEventCallbackManager()

Acquires NtkEventCallbackManager.

The NAB Framework user uses this EventCallbackManager through NtkManager.

Usually, processing to return NtkEventCallbackManager() is described in the implementation class.

void initialize()

Executes the NTK initialization process.

Usually, processing to initialize the presently used toolkit is described in the implementation class.

void setSyncDisplay(Display disp)

Sets an SWT display resource for synchronization with SWT.

Display getSyncDisplay()

Acquires an SWT display resource for synchronization with SWT.

boolean isInitialized()

Returns information on whether an NTK was initialized.

void kill()

Executes NTK end process.

Usually, processing to end an NTK is described in the implementation class.


Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006