Saturday, November 03, 2012

[wjihizes] Abortable UI event

A keystroke triggers a Listener to begin a user-interface computation.  We want a framework where a subsequent keystroke can abort the computation in progress and restart a new computation.  Internal state must remain consistent.

Automatic spell checker, auto complete suggestions, Google style auto search.

Far more frequent than keystrokes is "mouse cursor moved".

Most relevant when a CPU intensive UI gets run on a slow (possibly heavily loaded) computer.

No comments :