com.sas.visuals
Class ForwardedItemEvent
com.sas.visuals.ForwardedItemEvent
All Implemented Interfaces: java.io.Serializable
public class ForwardedItemEvent
ForwardedItemEvent is a sub-class of ItemEvent that
also has a sourceEvent property and an actionCommand.
The sourceEvent property allows for another event
to be forwarded using the ForwardedItemEvent.
Notes:
The sourceEvent does NOT have to be an ItemEvent.
See Also: ForwardedItemListener
,
ForwardedItemListenerList
,
ForwardedItemSource
,
Serialized Form
sourceEvt
protected java.util.EventObject sourceEvt
command
protected java.lang.String command
ForwardedItemEvent
public ForwardedItemEvent (java.awt.ItemSelectable source,
int id,
java.lang.Object item,
int stateChange,
java.lang.String cmd,
java.util.EventObject sourceEvent)
Constructor for the ForwardedItemEvent.
Parameters: source
- the object where the event originatedid
- the type of eventitem
- the item where the event occurred.stateChange
- the state change type which generated the eventcmd
- the command string for this eventsourceEvent
- the source event to be forwarded
getActionCommand
public java.lang.String getActionCommand ()
Get the command name associated with this event.
Returns: the command name associated with this event
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.