public class ModeManager
extends java.lang.Object
A manager for a set of modes and components. A mode manager handles
activation and deactivation for all modes in its set of modes. It does
this by passing the active state (true or false) to its modes, for each
of the components in its set of components. Typically, when activated,
a mode adds input event listeners to the specified components. Then,
when deactivated, such a mode removes those event listeners.