Add getImage() method

main
Hammy 3 years ago
parent d7e25f8f2d
commit 6030348e5b

@ -1,5 +1,7 @@
package me.goudham.model;
import java.awt.Image;
public class MyClipboardContent<T> {
private T content;
@ -14,4 +16,8 @@ public class MyClipboardContent<T> {
public T getContent() {
return content;
}
public Image getImage() {
return (Image) content;
}
}

Loading…
Cancel
Save