user118967
user118967

Reputation: 5772

Does JavaFX have something like SWT's Actions?

I remember that SWT/JFace has a representation for actions that is independent of graphical user interface elements (such as a button or menu item). This way, when the interface changes, the underlying action model remains the same. For example, I may create an action "Find" that is detached from any particular menu or button.

I am not finding a corresponding notion in JavaFX 8. Does it have it?

Here's a page explaining SWT/JFace's Action. Note that it is different from an event, and therefore different from JavaFX's ActionEvent.

Upvotes: 0

Views: 77

Answers (1)

James_D
James_D

Reputation: 209724

There is no equivalent functionality in the core JavaFX libraries, though ControlsFX provides a similar API.

Upvotes: 4

Related Questions