Class DdeEvent

java.lang.Object
java.util.EventObject
cl.obcom.desktopfx.dde.DdeEvent
All Implemented Interfaces:
Serializable

public final class DdeEvent extends EventObject
Event dispatched when a DDE event occurs.
See Also:
  • Constructor Details

    • DdeEvent

      public DdeEvent(DdeTopic topic, String itemName)
      Constructs a new DdeEvent instance.
      Parameters:
      topic - the DDE Topic of the event.
      itemName - the name of the item.
      Throws:
      IllegalArgumentException - if an argument is null.
  • Method Details

    • getTopic

      public DdeTopic getTopic()
      Returns the DDE Topic of the event.
      Returns:
      the DDE Topic of the event.
    • getItemName

      public String getItemName()
      Returns the name of the item the event.
      Returns:
      the name of the item the event.
    • getItemData

      public String getItemData()
      Returns the data of the item of the event.
      Returns:
      the data of the item of the event.
    • setItemData

      public void setItemData(String data)
      Changes the data of the item of the event.
      Parameters:
      data - the data of the item of the event.