Interface MenuItemCommand

All Known Implementing Classes:
MenuItemCommands.BeanCommand

public interface MenuItemCommand
Represents a command that can be associated with a menu item, providing a description and the logic to be executed when the command is run.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the description of this command.
    void
    run()
    Executes the logic associated with this command.
  • Method Details

    • getDescription

      String getDescription()
      Returns the description of this command.
      Returns:
      description of this command
    • run

      void run()
      Executes the logic associated with this command.