Add new class to send in notification events
parent
1f7b2ca85e
commit
f742b03fb9
@ -0,0 +1,24 @@
|
||||
package me.goudham.domain;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
public class OldClipboardContent {
|
||||
private String oldText;
|
||||
private BufferedImage oldImage;
|
||||
|
||||
public OldClipboardContent(String oldText) {
|
||||
this.oldText = oldText;
|
||||
}
|
||||
|
||||
public OldClipboardContent(BufferedImage oldImage) {
|
||||
this.oldImage = oldImage;
|
||||
}
|
||||
|
||||
public BufferedImage getOldImage() {
|
||||
return oldImage;
|
||||
}
|
||||
|
||||
public String getOldText() {
|
||||
return oldText;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue