|
|
@ -50,8 +50,8 @@ public class MyClipboard {
|
|
|
|
* @param clipboardEvent The {@link ClipboardEvent} to be added
|
|
|
|
* @param clipboardEvent The {@link ClipboardEvent} to be added
|
|
|
|
* @see EventManager
|
|
|
|
* @see EventManager
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void subscribe(ClipboardEvent clipboardEvent) {
|
|
|
|
public void addEventListener(ClipboardEvent clipboardEvent) {
|
|
|
|
clipboardListener.getEventManager().subscribe(clipboardEvent);
|
|
|
|
clipboardListener.getEventManager().addEventListener(clipboardEvent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -60,8 +60,8 @@ public class MyClipboard {
|
|
|
|
* @param clipboardEvent The {@link ClipboardEvent} to be removed
|
|
|
|
* @param clipboardEvent The {@link ClipboardEvent} to be removed
|
|
|
|
* @see EventManager
|
|
|
|
* @see EventManager
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void unsubscribe(ClipboardEvent clipboardEvent) {
|
|
|
|
public void removeEventListener(ClipboardEvent clipboardEvent) {
|
|
|
|
clipboardListener.getEventManager().unsubscribe(clipboardEvent);
|
|
|
|
clipboardListener.getEventManager().removeEventListener(clipboardEvent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|