Method
importData
(Object data, Component component)
Source from the content-addressed store, hash-verified
| 94 | public class VideoFrame extends JFrame implements FileDropHandler.FileImporter { |
| 95 | |
| 96 | @SuppressWarnings("unchecked") |
| 97 | @Override |
| 98 | public boolean importData(Object data, Component component) { |
| 99 | if (data instanceof List) { |
| 100 | loadVideo(((List<File>) data).get(0)); |
| 101 | return true; |
| 102 | } |
| 103 | if (data instanceof URL) { |
| 104 | |
| 105 | return true; |
| 106 | } |
| 107 | return false; |
| 108 | } |
| 109 | |
| 110 | } |
| 111 | private VideoFrame main; |
Callers
nothing calls this directly
Tested by
no test coverage detected