Package cl.obcom.desktopfx.dde
Class DdeEvent
java.lang.Object
java.util.EventObject
cl.obcom.desktopfx.dde.DdeEvent
- All Implemented Interfaces:
Serializable
Event dispatched when a DDE event occurs.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data of the item of the event.Returns the name of the item the event.getTopic()
Returns the DDE Topic of the event.void
setItemData
(String data) Changes the data of the item of the event.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
DdeEvent
Constructs a newDdeEvent
instance.- Parameters:
topic
- the DDE Topic of the event.itemName
- the name of the item.- Throws:
IllegalArgumentException
- if an argument isnull
.
-
-
Method Details
-
getTopic
Returns the DDE Topic of the event.- Returns:
- the DDE Topic of the event.
-
getItemName
Returns the name of the item the event.- Returns:
- the name of the item the event.
-
getItemData
Returns the data of the item of the event.- Returns:
- the data of the item of the event.
-
setItemData
Changes the data of the item of the event.- Parameters:
data
- the data of the item of the event.
-