|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.awt.ModeManager
public class ModeManager
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.
| Constructor Summary | |
|---|---|
ModeManager()
Constructs a mode manager with an empty set of modes. |
|
| Method Summary | |
|---|---|
void |
add(java.awt.Component c)
Adds the specified component. |
void |
remove(java.awt.Component c)
Removes the specified component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModeManager()
| Method Detail |
|---|
public void add(java.awt.Component c)
c - the component.public void remove(java.awt.Component c)
c - the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||