Class DoShowCurrentAccountBalance

java.lang.Object
pt.tecnico.uilib.menus.Command<Account>
bank.app.account.DoShowCurrentAccountBalance

public class DoShowCurrentAccountBalance extends Command<Account>
Class representing a command for showing the balance of an account.
  • Constructor Details

    • DoShowCurrentAccountBalance

      public DoShowCurrentAccountBalance(Account receiver)
      Parameters:
      receiver -
  • Method Details

    • execute

      protected final void execute()
      Description copied from class: Command
      Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.
      Specified by:
      execute in class Command<Account>
      See Also:
      pt.tecnico.po.ui.Command#execute()