You are creating a method named myFunction, that is designed to be used with the filterFunction property of an ArrayCollection. Which method signature should you use?
You have created a Button inside a VBox container, which is a child of the application. The Application start tag has this click event handler:
What is the value for the currentTarget property of the event object?
You want to handle the click event of a Button control. The id property of the Button is set to myButton. You are dispatching the event object to a custom handler method with this call to the addEventListener() method:
myButton.addEventListener(MouseEvent.CLICK, clickHandler);
You want to be able to determine whether the user held down the Alt, Shift or Ctrl keys when clicking the
Button. Which is the correct signature of the clickHandler()method?