Class DdeTopic

java.lang.Object
cl.obcom.desktopfx.dde.DdeTopic

public final class DdeTopic extends Object
Implements the topic level defined by the DDE protocol.
  • Method Details

    • getName

      public String getName()
      Returns the name of this DDE Topic.
      Returns:
      the name of this DDE Topic.
    • release

      public void release()
      Release all resource of this DDE Topic.
    • addDdeListener

      public void addDdeListener(DdeListener listener)
      Adds a listener to the list of listeners of this DDE Topic.
      Parameters:
      listener - the DDE event listener.
      Throws:
      NullPointerException - if listener is null.
    • removeDdeListener

      public void removeDdeListener(DdeListener listener)
      Removes a listener from the list of listeners of this DDE Topic.
      Parameters:
      listener - the DDE event listener.
      Throws:
      NullPointerException - if listener is null.
    • copyLink

      public void copyLink(String itemName)
      Copies a DDE data item link to the clipboard.
      Parameters:
      itemName - the name of the data item.
      Throws:
      NullPointerException - if itemName is null.
    • notifyChange

      public void notifyChange()
      Notifies that one or more data items have changed.