|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.worker.GlassPaneInterceptor
public class GlassPaneInterceptor
An interceptor that can be applied to standard ActionCommands to
lookup and activate the current GlassPaneStrategy. This class is intended
for use when using libraries like Foxtrot or other threading mechanisms rather than
using the SwingWorkerCommand directly.
The interceptor will pass the command as the source parameter to
the GlassPaneStrategy.
CommandContainer.setGlassPaneStrategy(GlassPaneStrategy)| Constructor Summary | |
|---|---|
GlassPaneInterceptor()
|
|
| Method Summary | |
|---|---|
void |
afterExecute(ActionCommand command)
Dectivates the current GlassPaneStrategy passing the command
as the source parameter. |
boolean |
beforeExecute(ActionCommand command)
Activates the current GlassPaneStrategy passing the command
as the source parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlassPaneInterceptor()
| Method Detail |
|---|
public boolean beforeExecute(ActionCommand command)
GlassPaneStrategy passing the command
as the source parameter.
beforeExecute in interface ActionCommandInterceptorcommand - the command being intercepted.
true.public void afterExecute(ActionCommand command)
GlassPaneStrategy passing the command
as the source parameter.
afterExecute in interface ActionCommandInterceptorcommand - the command being intercepted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||