Class DdeTopic
java.lang.Object
cl.obcom.desktopfx.dde.DdeTopic
Implements the topic level defined by the DDE protocol.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDdeListener(DdeListener listener) Adds a listener to the list of listeners of this DDE Topic.voidCopies a DDE data item link to the clipboard.getName()Returns the name of this DDE Topic.voidNotifies that one or more data items have changed.voidrelease()Release all resource of this DDE Topic.voidremoveDdeListener(DdeListener listener) Removes a listener from the list of listeners of this DDE Topic.
-
Method Details
-
getName
-
release
public void release()Release all resource of this DDE Topic. -
addDdeListener
Adds a listener to the list of listeners of this DDE Topic.- Parameters:
listener- the DDE event listener.- Throws:
NullPointerException- iflistenerisnull.
-
removeDdeListener
Removes a listener from the list of listeners of this DDE Topic.- Parameters:
listener- the DDE event listener.- Throws:
NullPointerException- iflistenerisnull.
-
copyLink
Copies a DDE data item link to the clipboard.- Parameters:
itemName- the name of the data item.- Throws:
NullPointerException- ifitemNameisnull.
-
notifyChange
public void notifyChange()Notifies that one or more data items have changed.
-