Use separate events for String & Image

main
Hammy 3 years ago
parent 1751661183
commit 751a3f592f

@ -1,7 +1,8 @@
package me.goudham.listener; package me.goudham.listener;
import me.goudham.model.MyClipboardContent; import java.awt.Image;
public interface ClipboardEvent { public interface ClipboardEvent {
<T> void onCopy(MyClipboardContent<T> copiedContent); void onCopyString(String stringContent);
void onCopyImage(Image imageContent);
} }

Loading…
Cancel
Save