Class InteractionEvent

Object
   |
   +--InteractionEvent

class InteractionEvent


This is the basic class that represents a interaction event. This class exposes main functions used to initialize and retrieve information when an interaction occurs and a command is executed.
Defined in dfDataWidget.js


Field Summary
 Object action
          
 Object name
          
 Object source
          
 Object target
          
 Object type
          
 
Constructor Summary
InteractionEvent( <Document> interactionName )
            Construct a new InteractionEvent object.
 
Method Summary
 void construct( <Document> interactionName )
           Internal Function.
 String getAction()
           Return the name of the action that has been called by the interaction.
 String getName()
           Return the name of the interaction.
 Object getSource()
           Returnsthe object that triggered the interaction.
 Object getTarget()
           Return the object for which the interaction action has been called.
 void setAction( <String> action )
           Set the action that has been called.
 void setSource( <Object> source )
           Set the object from which the interaction has been triggered.
 void setTarget( <Object> target )
           Set the object for which the interaction called the action.

Field Detail

action

Object action

name

Object name

source

Object source

target

Object target

type

Object type

Constructor Detail

InteractionEvent

InteractionEvent( <Document> interactionName )

Method Detail

construct

void construct( <Document> interactionName )

getAction

String getAction()

getName

String getName()

getSource

Object getSource()

getTarget

Object getTarget()

setAction

void setAction( <String> action )

setSource

void setSource( <Object> source )

setTarget

void setTarget( <Object> target )


Documentation generated by JSDoc on Wed Jun 18 09:59:49 2008