|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.util.MouseInputAdapterInstaller
public class MouseInputAdapterInstaller
A Visitor class for installing a MouseInputAdapter on a container and all of its subcomponents. This class is based on the KeyListenerInstaller class.
| Constructor Summary | |
|---|---|
MouseInputAdapterInstaller()
|
|
| Method Summary | |
|---|---|
static void |
installMouseInputAdapterOnAllComponents(MouseInputAdapter m,
Container c)
Add a MouseInputAdapter to all components. |
static void |
installMouseListenerOnAllComponents(MouseListener m,
Container c)
Add a MouseListener to all components. |
static void |
installMouseMotionListenerOnAllComponents(MouseMotionListener m,
Container c)
Add a MouseMotionListener to all components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseInputAdapterInstaller()
| Method Detail |
|---|
public static void installMouseInputAdapterOnAllComponents(MouseInputAdapter m,
Container c)
m - The MouseInputAdapter to add.c - The container to which all components are given this listener
public static void installMouseListenerOnAllComponents(MouseListener m,
Container c)
m - The MouseListener to add.c - The container to which all components are given this listener
public static void installMouseMotionListenerOnAllComponents(MouseMotionListener m,
Container c)
m - The MouseMotionListener to add.c - The container to which all components are given this listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||