|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.cmd.swing.SwingCommandProcessor
public class SwingCommandProcessor
A command processor implementation that supports commands targetted to the AWT event thread or a set of background threads.
| Constructor Summary | |
|---|---|
SwingCommandProcessor()
Creates a new command processor implementation that can execute commands that are coordinated with the swing thread. |
|
| Method Summary | |
|---|---|
Result |
execute(Command cmd)
Executes the specified command using the ViewEnvironment implementation. |
Result |
execute(Command cmd,
boolean wait)
Executes the specified command using the ViewEnvironment implementation. |
protected Result |
executeViewCommand(ViewCommand cmd,
boolean wait)
Internal command used to process view command implementations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingCommandProcessor()
| Method Detail |
|---|
public Result execute(Command cmd)
execute in interface CommandProcessorcmd - The command to invoke.
public Result execute(Command cmd,
boolean wait)
cmd - The command to invoke.wait - If true, the command will be run synchronously.
protected Result executeViewCommand(ViewCommand cmd,
boolean wait)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||