|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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 |
Object action
Object name
Object source
Object target
Object type
| Constructor Detail |
InteractionEvent( <Document> interactionName )
interactionName - . The interaction event definition.
| Method Detail |
void construct( <Document> interactionName )
interactionName - . The interaction event definition.
String getAction()
String getName()
Object getSource()
Object getTarget()
void setAction( <String> action )
action - . The name of the action.
void setSource( <Object> source )
source - . The object that represents the source of the interaction.
void setTarget( <Object> target )
target - . The object that represents the target of the interaction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||