Interface ICommandable


public interface ICommandable
An interface for commandable objects, which are part of the command design pattern. The commandable object exposes its functonality as commands and events grouped into a CommandSet.

This interface is typically implemented by controllers and is used to auto generate external interfaces.

### Example ###

 
 public class MyDataController implements ICommandable, IMyDataController {
   private MyDataCommandSet _commandSet;

   public CommandSet getCommandSet() {
     if (this._commandSet == null)
       this._commandSet = new MyDataCommandSet(this);
     return this._commandSet;
   }

   ...
 }
 
 
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a command set with all supported commands and events.
  • Method Details

    • getCommandSet

      CommandSet getCommandSet()
      Gets a command set with all supported commands and events.
      Returns:
      a command set with commands and events.
      See Also: