|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.EventQueue
org.tbee.swing.EventQueue
public class EventQueue
Allow for popup menu's on all textfields by default. Usage: StandardComponentPopupMenu.install();
| Nested Class Summary | |
|---|---|
static interface |
EventQueue.AWTEventListener
|
| Field Summary | |
|---|---|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
EventQueue()
|
|
| Method Summary | |
|---|---|
void |
addAWTEventListener(EventQueue.AWTEventListener l)
listen to any AWT event |
void |
addComponentMouseListener(Component c,
MouseListener l)
Listen to any mouse event that occurs within the bounds of the components, even those that normally would go to a child or parent. |
void |
addMouseListener(MouseListener l)
listen to any mouse event |
void |
addMouseMotionListener(MouseMotionListener l)
|
protected void |
dispatchEvent(AWTEvent event)
|
static EventQueue |
get()
Singleton |
Component |
getDeepestComponentAt(MouseEvent lMouseEvent)
returns the heavy weight component on which the event occured |
static void |
install()
Install this |
void |
removeAWTEventListener(EventQueue.AWTEventListener l)
|
void |
removeComponentMouseListener(Component c,
MouseListener l)
|
void |
removeMouseListener(MouseListener l)
|
void |
removeMouseMotionListener(MouseMotionListener l)
|
| Methods inherited from class java.awt.EventQueue |
|---|
getCurrentEvent, getMostRecentEventTime, getNextEvent, invokeAndWait, invokeLater, isDispatchThread, peekEvent, peekEvent, pop, postEvent, push |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SOURCECODE_VERSION
| Constructor Detail |
|---|
public EventQueue()
| Method Detail |
|---|
public static void install()
public static EventQueue get()
protected void dispatchEvent(AWTEvent event)
dispatchEvent in class EventQueuepublic void addAWTEventListener(EventQueue.AWTEventListener l)
public void removeAWTEventListener(EventQueue.AWTEventListener l)
public void addMouseListener(MouseListener l)
public void removeMouseListener(MouseListener l)
public void addComponentMouseListener(Component c,
MouseListener l)
public void removeComponentMouseListener(Component c,
MouseListener l)
public void addMouseMotionListener(MouseMotionListener l)
public void removeMouseMotionListener(MouseMotionListener l)
public Component getDeepestComponentAt(MouseEvent lMouseEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||