Sha256: 53fad9e1506ce7b57d8400ffd813446d8a4e669130b6146a6e1982127be89ca6
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
/* PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved. Your reuse is governed by the Creative Commons Attribution 3.0 United States License */ package org.puremvc.as3.patterns.command { import org.puremvc.as3.interfaces.*; import org.puremvc.as3.patterns.observer.Notifier; /** * A base <code>ICommand</code> implementation. * * <P> * Your subclass should override the <code>execute</code> * method where your business logic will handle the <code>INotification</code>. </P> * * @see org.puremvc.as3.core.controller.Controller Controller * @see org.puremvc.as3.patterns.observer.Notification Notification * @see org.puremvc.as3.patterns.command.MacroCommand MacroCommand */ public class SimpleCommand extends Notifier implements ICommand, INotifier { /** * Fulfill the use-case initiated by the given <code>INotification</code>. * * <P> * In the Command Pattern, an application use-case typically * begins with some user action, which results in an <code>INotification</code> being broadcast, which * is handled by business logic in the <code>execute</code> method of an * <code>ICommand</code>.</P> * * @param notification the <code>INotification</code> to handle. */ public function execute( notification:INotification ) : void { } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puremvc-as3-2.0.4 | ./2.0.4/src/org/puremvc/as3/patterns/command/SimpleCommand.as |