(Command cmd, ActionEvent ev)
| 2457 | /// |
| 2458 | /// - `ev`: the event to dispatch |
| 2459 | public void dispatchCommand(Command cmd, ActionEvent ev) { |
| 2460 | cmd.actionPerformed(ev); |
| 2461 | if (!ev.isConsumed()) { |
| 2462 | actionCommandImpl(cmd, ev); |
| 2463 | } |
| 2464 | } |
| 2465 | |
| 2466 | /// Invoked to allow subclasses of form to handle a command from one point |
| 2467 | /// rather than implementing many command instances |