com.sas.visuals
Class ForwardedActionEvent
com.sas.visuals.ForwardedActionEvent
All Implemented Interfaces: java.io.Serializable
public class ForwardedActionEvent
ForwardedActionEvent is a sub-class of ActionEvent that
also has a sourceEvent property. The sourceEvent property
allows for another event to be forwarded using the
ForwardedActionEvent.
Notes:
The sourceEvent does NOT have to be an ActionEvent.
See Also: ForwardedActionListener
,
ForwardedActionListenerList
,
ForwardedActionSource
,
Serialized Form
sourceEvt
protected java.util.EventObject sourceEvt
ForwardedActionEvent
public ForwardedActionEvent (java.lang.Object source,
int id,
java.lang.String command,
java.util.EventObject sourceEvent)
Constructor for the ForwardedActionEvent.
Parameters: source
- the object where the event originatedid
- the type of eventcommand
- the command string for this action eventsourceEvent
- the source event to be forwarded
ForwardedActionEvent
public ForwardedActionEvent (java.lang.Object source,
int id,
java.lang.String command,
int modifiers,
java.util.EventObject sourceEvent)
Constructor for the ForwardedActionEvent.
Parameters: source
- the object where the event originatedid
- the type of eventcommand
- the command string for this action eventmodifiers
- the modifiers held down during this actionsourceEvent
- the source event to be forwarded
getSourceEvent
public java.util.EventObject getSourceEvent ()
Get the source EventObject forwarded using this event.
Returns: the source event forwarded with this event
Copyright © 2009 SAS Institute Inc. All Rights Reserved.