|
||||||||||
| 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(ActionListener actionListener)
|
|
DelayedActionEvent(int delay,
ActionListener actionListener)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
The original action occured, queue it |
ActionEvent |
getActionEvent()
ActionEvent |
ActionListener |
getActionListener()
ActionListener |
int |
getDelay()
Delay |
void |
setActionEvent(ActionEvent value)
|
void |
setActionListener(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(ActionListener actionListener)
actionListener -
public DelayedActionEvent(int delay,
ActionListener actionListener)
delay - actionListener - | Method Detail |
|---|
public int getDelay()
public void setDelay(int value)
public ActionListener getActionListener()
public void setActionListener(ActionListener value)
public ActionEvent getActionEvent()
public void setActionEvent(ActionEvent value)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||