|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.puremvc.java.patterns.observer.Notifier
org.puremvc.java.patterns.command.SimpleCommand
public class SimpleCommand
A base ICommand implementation.
Your subclass should override the execute method where your
business logic will handle the INotification.
Controller,
Notification,
MacroCommand| Field Summary |
|---|
| Fields inherited from class org.puremvc.java.patterns.observer.Notifier |
|---|
facade |
| Constructor Summary | |
|---|---|
SimpleCommand()
|
|
| Method Summary | |
|---|---|
void |
execute(INotification notification)
Fulfill the use-case initiated by the given INotification. |
| Methods inherited from class org.puremvc.java.patterns.observer.Notifier |
|---|
sendNotification, sendNotification, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.puremvc.java.interfaces.INotifier |
|---|
sendNotification, sendNotification, sendNotification |
| Constructor Detail |
|---|
public SimpleCommand()
| Method Detail |
|---|
public void execute(INotification notification)
INotification.
In the Command Pattern, an application use-case typically begins with
some user action, which results in an INotification being
broadcast, which is handled by business logic in the execute
method of an ICommand.
execute in interface ICommandnotification - the INotification to handle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||