| Package | Description |
|---|---|
| com.alee.utils |
This package contains various utility and utility-related classes provided by 'core' module.
|
| com.alee.utils.swing |
| Modifier and Type | Method and Description |
|---|---|
static WebTimer |
FileUtils.trackFile(File file,
SystemFileListener listener)
Starts tracking file for possible changes.
|
static WebTimer |
FileUtils.trackFile(File file,
SystemFileListener listener,
long delay)
Starts tracking file for possible changes.
|
| Modifier and Type | Method and Description |
|---|---|
WebTimer |
WebTimer.addActionListener(ActionListener listener)
Adds new action listener.
|
static WebTimer |
WebTimer.delay(long delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
long delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
String delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
WebTimer |
WebTimer.removeActionListener(ActionListener listener)
Removes an action listener.
|
static WebTimer |
WebTimer.repeat(boolean useDaemonThread,
String name,
long delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(boolean useDaemonThread,
String name,
long delay,
long initialDelay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(boolean useDaemonThread,
String name,
long delay,
long initialDelay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
WebTimer |
WebTimer.restart()
Restarts timer execution.
|
WebTimer |
WebTimer.restart(long delay)
Restarts timer execution and modifies timer delay.
|
WebTimer |
WebTimer.restart(long initialDelay,
long delay)
Restarts timer execution and modifies timer delays.
|
WebTimer |
WebTimer.restart(String delay)
Restarts timer execution and modifies timer delay.
|
WebTimer |
WebTimer.restart(String initialDelay,
String delay)
Restarts timer execution and modifies timer delays.
|
WebTimer |
WebTimer.setActionCommand(String actionCommand)
Sets action command for fired events.
|
WebTimer |
WebTimer.setCoalesce(boolean coalesce)
Sets whether each action should be fired from a separate invoke and wait call or not.
|
WebTimer |
WebTimer.setCyclesLimit(int cyclesLimit)
Sets timer cycles execution limit.
|
WebTimer |
WebTimer.setDelay(long delay)
Sets delay between timer cycles in milliseconds.
|
WebTimer |
WebTimer.setDelay(String delay)
Sets delay between timer cycles.
|
WebTimer |
WebTimer.setInitialDelay(long initialDelay)
Sets delay before the first timer cycle run in milliseconds.
|
WebTimer |
WebTimer.setInitialDelay(String initialDelay)
Sets delay before the first timer cycle run.
|
WebTimer |
WebTimer.setName(String name)
Sets internal timer thread name.
|
WebTimer |
WebTimer.setNonBlockingStop(boolean nonBlockingStop)
Sets whether or not timer should use non-blocking stop method behavior.
|
WebTimer |
WebTimer.setRepeats(boolean repeats)
Sets whether timer should repeat its cycles or not.
|
WebTimer |
WebTimer.setUseDaemonThread(boolean useDaemonThread)
Returns whether should use daemon thread instead of user one or not.
|
WebTimer |
WebTimer.setUseEventDispatchThread(boolean useEventDispatchThread)
Sets whether actions should be fired from Event Dispatch Thread or not.
|
WebTimer |
WebTimer.start()
Starts timer execution.
|
WebTimer |
WebTimer.stop()
Stops timer execution.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
TimerActionListener.timerActionPerformed(ActionEvent e,
WebTimer timer)
Simply an extended version of
actionPerformed() method. |
Copyright © 2020. All rights reserved.