public class ActionEvent extends Event
Eventrepresenting some type of action. This event type is widely used to represent a variety of things, such as when a
Buttonhas been fired, when a
KeyFramehas finished, and other such usages.
|Modifier and Type||Field and Description|
The only valid EventType for the ActionEvent.
|Constructor and Description|
Creates a new
Construct a new
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
ActionEventwith an event type of
ACTION_EVENT. The source and target of the event is set to
public ActionEvent(java.lang.Object source, EventTarget target)
ActionEventwith the specified event source and target. If the source or target is set to
null, it is replaced by the
NULL_SOURCE_TARGETvalue. All ActionEvent's have their type set to
source- the event source which sent the event
target- the event target to associate with the event
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.