Package com.orchestranetworks.ui.toolbar

# Interface ToolbarElementWithAction

All Known Subinterfaces:
  `ToolbarActionButton`, `ToolbarActionMenuItem`

public interface ToolbarElementWithAction
Defines a toolbar element on which the end user can trigger a specific action.

Since:
  5.7.1.
See Also:
  - `Action`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setAction(Action anAction)`
  Sets the action to be called when the user clicks on this toolbar element.

- ## Method Details

  - ### setAction

    void setAction(Action anAction)
    Sets the action to be called when the user clicks on this toolbar element.
    Parameters:
      `anAction` - the action to be called when the user clicks on this toolbar element.