Renamed ControllerEvent to CommandEvent.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4281 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-07-20 02:14:14 +00:00
parent 19219bb1a3
commit f1f6b3bdb2
5 changed files with 33 additions and 17 deletions
@@ -4,7 +4,7 @@ import flash.events.MouseEvent;
import mx.controls.Button;
import com.threerings.events.ControllerEvent;
import com.threerings.mx.events.CommandEvent;
/**
* A command button simply dispatches a Controller command (with an optional
@@ -37,7 +37,7 @@ public class CommandButton extends Button
// stop the click event
event.stopImmediatePropagation();
// dispatch the command event
dispatchEvent(new ControllerEvent(_cmd, _arg));
dispatchEvent(new CommandEvent(_cmd, _arg));
}
}