Showing posts with label Action event class. Show all posts
Showing posts with label Action event class. Show all posts

Saturday, 1 February 2014

Event classes:The ActionEvent Class

The ActionEvent Class


An ActionEvent is generated when a button is pressed, a list item is double-clicked, or a menu item is selected.

The ActionEvent class defines four integer constants that can be used to identify any modifiers associated with an action event: 


  • ALT_MASK
  • CTRL_MASK
  • META_MASK
  • SHIFT_MASK
  • ACTION_PERFORMED