IController class

The interface definition for a PureMVC MultiCore Controller.

In PureMVC, an IController implementor follows the 'Command and Controller' strategy, and assumes these responsibilities:

See INotification, ICommand

Implementers

Constructors

IController()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
multitonKey String
This IController's Multiton Key
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

executeCommand(INotification note) → void
Execute the ICommand previously registered as the handler for INotifications with the given notification's name. [...]
hasCommand(String noteName) bool
Check if an ICommand is registered for a given INotification name with the IController. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerCommand(String notificationName, Function commandFactory) → void
Register an INotification to ICommand mapping with the IController. [...]
removeCommand(String noteName) → void
Remove a previously registered INotification to ICommand mapping from the IController. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited