Interface Control.ActionCommand

Enclosing interface:
Control
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Control.ActionCommand
A command interface, allowing Controls based on ActionEvents.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(ActionEvent actionEvent)
    Executes the command task.
  • Method Details

    • execute

      void execute(ActionEvent actionEvent) throws Exception
      Executes the command task.
      Parameters:
      actionEvent - the action event
      Throws:
      Exception - in case of an exception