public class ListenerUtil
extends java.lang.Object
Constructor and Description |
---|
ListenerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addClickListener(java.awt.Component component,
ClickListener l) |
static void |
addFocusListener(java.awt.Component component,
java.awt.event.FocusListener l) |
static void |
addKeyListener(java.awt.Component component,
java.awt.event.KeyListener l) |
static void |
addMouseListener(java.awt.Component component,
java.awt.event.MouseListener l) |
static void |
addMouseMotionListener(java.awt.Component component,
java.awt.event.MouseMotionListener l) |
static void |
removeClickListener(java.awt.Component component,
ClickListener l) |
static void |
removeFocusListener(java.awt.Component component,
java.awt.event.FocusListener l) |
static void |
removeKeyListener(java.awt.Component component,
java.awt.event.KeyListener l) |
static void |
removeMouseListener(java.awt.Component component,
java.awt.event.MouseListener l) |
static void |
removeMouseMotionListener(java.awt.Component component,
java.awt.event.MouseMotionListener l) |
public static void addFocusListener(java.awt.Component component, java.awt.event.FocusListener l)
public static void removeFocusListener(java.awt.Component component, java.awt.event.FocusListener l)
public static void addMouseListener(java.awt.Component component, java.awt.event.MouseListener l)
public static void removeMouseListener(java.awt.Component component, java.awt.event.MouseListener l)
public static void addClickListener(java.awt.Component component, ClickListener l)
public static void removeClickListener(java.awt.Component component, ClickListener l)
public static void addMouseMotionListener(java.awt.Component component, java.awt.event.MouseMotionListener l)
public static void removeMouseMotionListener(java.awt.Component component, java.awt.event.MouseMotionListener l)
public static void addKeyListener(java.awt.Component component, java.awt.event.KeyListener l)
public static void removeKeyListener(java.awt.Component component, java.awt.event.KeyListener l)