setMouseMoveTime

setMouseMoveTime(time: Integer);

The setMouseMoveTime method of the Application class enables you to dynamically set the current mouse move time for presentation clients. This style of mouse operation is transparent to most application operations and achieves a significant reduction of the number of events that are sent.

If your application is not running in JADE thin client mode, this method does nothing.

By default, in JADE thin client mode, mouseMove and dragOver events are discarded when moving the mouse within the same window if the time since the execution of the last move event is less than the mouse move time defined for the current application, unless the mouse comes to rest. (The mouse comes to rest if no mouseMove events are received for the minimum of the specified mouse move time or the default value of 200 milliseconds.)

If the user moves the mouse slowly enough, the same results are achieved as those when running your application in standard fat client mode.

In JADE thin client mode, no mouseMove events are sent to the application server if there is no mouseMove event defined for that window.

The first mouseMove event received after left-clicking a control in thin client mode immediately generates a mouseMove event call to the application server (when that control has logic defined for that event). The mouseMove time processing then starts with the next mouseMove event that is received.

A user can set the mouseMove time for all applications run on a presentation client by using the MouseMoveTime parameter in the [JadeThinClient] section of the JADE initialization file. Use the Application class getMouseMoveTime method to return the current mouse move time.