@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 CheckboxPeer peer, final Menu parent, ImageResizeUtil imageResizeUtil)
| 82 | * @param imageResizeUtil the utility used to resize images. This can be Tray specific because of cache requirements |
| 83 | */ |
| 84 | public |
| 85 | void bind(final CheckboxPeer peer, final Menu parent, ImageResizeUtil imageResizeUtil) { |
| 86 | super.bind(peer, parent, imageResizeUtil); |
| 87 | |
| 88 | peer.setEnabled(this); |
| 89 | peer.setText(this); |
| 90 | peer.setCallback(this); |
| 91 | peer.setShortcut(this); |
| 92 | peer.setChecked(this); |
| 93 | } |
| 94 | |
| 95 | /** |
| 96 | * @return true if this checkbox is selected, false if not. A checkbox's state is set BEFORE the callback is triggered. |
nothing calls this directly
no test coverage detected