Saves this image's FileInfo so it can be later retieved using getOriginalFileInfo().
(FileInfo fi)
| 1023 | /** Saves this image's FileInfo so it can be later |
| 1024 | retieved using getOriginalFileInfo(). */ |
| 1025 | public void setFileInfo(FileInfo fi) { |
| 1026 | if (fi!=null) { |
| 1027 | fi.pixels = null; |
| 1028 | if (fi.imageSaved) { |
| 1029 | notifyListeners(SAVED); |
| 1030 | fi.imageSaved = false; |
| 1031 | } |
| 1032 | } |
| 1033 | fileInfo = fi; |
| 1034 | } |
| 1035 | |
| 1036 | /** Returns the ImageWindow that is being used to display |
| 1037 | this image. Returns null if show() has not be called |
no test coverage detected