## Uses of Interface
com.google.gwt.user.client.Command

- Packages that use Command
  Package | Description
  --- | ---
  com.google.gwt.user.client | Fundamental user-interface classes used in client-side GWT code.
  com.google.gwt.user.client.ui | Widgets, Panels, and other user-interface classes.

- - ### Uses of Command in com.google.gwt.user.client

    Methods in com.google.gwt.user.client that return Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `Command` | CommandCanceledException.`getCommand()` | Returns the `Command` which was canceled by the user as a result of a slow script warning.

    Methods in com.google.gwt.user.client with parameters of type Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | DeferredCommand.`add​(Command cmd)` | Deprecated. As of release 1.4, replaced by `DeferredCommand.addCommand(Command)`
    `static void` | DeferredCommand.`addCommand​(Command cmd)` | Deprecated. Enqueues a `Command` to be fired after all current events have been handled.
    `void` | CommandExecutor.`submit​(Command command)` | Submits a `Command` for execution.

    Constructors in com.google.gwt.user.client with parameters of type Command
    Constructor | Description
    --- | ---
    `CommandCanceledException​(Command command)` |

  - ### Uses of Command in com.google.gwt.user.client.ui

    Methods in com.google.gwt.user.client.ui that return Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `Command` | MenuItem.`getCommand()` | Deprecated. use `MenuItem.getScheduledCommand()` instead

    Methods in com.google.gwt.user.client.ui with parameters of type Command
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | MenuItem.`setCommand​(Command cmd)` | Deprecated. use `MenuItem.setScheduledCommand(ScheduledCommand)` instead