GT Computing Home Page

GT Computing Home Page

CursorHilite Class Reference

Revision history:

  • April 8, 1998 First introduced.

A CursorHilite is an object instantiated by the Stage, that provides methods to manage any visual effect that is to follow the cursor around.

The methods exposed by this class allow you to set up the behavior of the hilite, then modify the behavior by calls to setColor(). There is usually no need to access any other methods. Take note that since the hilite is owned by the Stage you should take care to manage modifications to it via a single point. If several Actors decide to make modifications at the same time the results will be unpredictable. A good plan is to have a special Actor running as a system controller, and send modification requests to it using its messaging system.

Formal (javadoc) documentation