ActionEvent.ActionEvent

ActionEvent.ActionEvent

Class Overview | Class Members | This Package | All Packages

Syntax 1
public ActionEvent( Object source, int id, String command )
Parameters
source
the object where the event originated
id
the type of event
command
the command string for this action event
Description
Constructs an ActionEvent object with the specified source object.



Syntax 2
public ActionEvent( Object source, int id, String command, int modifiers )
Parameters
source
the object where the event originated
id
the type of event
command
the command string for this action event
modifiers
the modifiers held down during this action
Description
Constructs an ActionEvent object with the specified source object.