Separate events into String & Image
parent
dff0e39fc0
commit
2ec0743cf2
@ -1,7 +1,8 @@
|
|||||||
package me.goudham.listener;
|
package me.goudham.listener;
|
||||||
|
|
||||||
import me.goudham.model.MyClipboardContent;
|
import java.awt.image.BufferedImage;
|
||||||
|
|
||||||
public interface ClipboardEvent {
|
public interface ClipboardEvent {
|
||||||
<T> void onCopy(MyClipboardContent<T> copiedContent);
|
void onCopyString(String stringContent);
|
||||||
|
void onCopyImage(BufferedImage imageContent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue