|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.swing.DelayedActionEvent
public class DelayedActionEvent
Catch an ActionEvent and hold until until a time expires and then continue executing it. Or when a new event comes in before the time expires, replace the event and restart the timer.
| Constructor Summary | |
|---|---|
DelayedActionEvent(java.awt.event.ActionListener actionListener)
|
|
DelayedActionEvent(int delay,
java.awt.event.ActionListener actionListener)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
The original action occured, queue it |
java.awt.event.ActionEvent |
getActionEvent()
ActionEvent |
java.awt.event.ActionListener |
getActionListener()
ActionListener |
int |
getDelay()
Delay |
void |
setActionEvent(java.awt.event.ActionEvent value)
|
void |
setActionListener(java.awt.event.ActionListener value)
|
void |
setDelay(int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelayedActionEvent(java.awt.event.ActionListener actionListener)
actionListener -
public DelayedActionEvent(int delay,
java.awt.event.ActionListener actionListener)
delay - actionListener - | Method Detail |
|---|
public int getDelay()
public void setDelay(int value)
public java.awt.event.ActionListener getActionListener()
public void setActionListener(java.awt.event.ActionListener value)
public java.awt.event.ActionEvent getActionEvent()
public void setActionEvent(java.awt.event.ActionEvent value)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||