Use separate events for String & Image
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…
Reference in New Issue