@param peer the platform specific implementation for all actions for this type @param parent the parent of this menu, null if the parent is the system tray @param imageResizeUtil the utility used to resize images. This can be Tray specific because of cache requirements
(final MenuItemPeer peer, Menu parent, ImageResizeUtil imageResizeUtil)
| 190 | * @param imageResizeUtil the utility used to resize images. This can be Tray specific because of cache requirements |
| 191 | */ |
| 192 | public |
| 193 | void bind(final MenuItemPeer peer, Menu parent, ImageResizeUtil imageResizeUtil) { |
| 194 | super.bind(peer, parent, imageResizeUtil); |
| 195 | |
| 196 | realizeImageFile(); |
| 197 | |
| 198 | peer.setImage(this); |
| 199 | peer.setEnabled(this); |
| 200 | peer.setText(this); |
| 201 | peer.setCallback(this); |
| 202 | peer.setShortcut(this); |
| 203 | peer.setTooltip(this); |
| 204 | } |
| 205 | |
| 206 | protected |
| 207 | void setImageFromTray(final File imageFile) { |
nothing calls this directly
no test coverage detected