Package picasso.util
Class ThreadedCommand<T>
- java.lang.Object
-
- picasso.util.ThreadedCommand<T>
-
-
Constructor Summary
Constructors Constructor Description ThreadedCommand(JComponent view, Command<T> command)
Create a command that runs the given command and updates the given view over time.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(T target)
Run the command on the target or cancel it if is already running.
-
-
-
Constructor Detail
-
ThreadedCommand
public ThreadedCommand(JComponent view, Command<T> command)
Create a command that runs the given command and updates the given view over time.
-
-