Sets the checked on/off status for this entry @param isChecked true to show the checkbox, false to hide it
(boolean isChecked)
| 106 | * @param isChecked true to show the checkbox, false to hide it |
| 107 | */ |
| 108 | public |
| 109 | void setChecked(boolean isChecked) { |
| 110 | this.isChecked = isChecked; |
| 111 | |
| 112 | if (peer != null) { |
| 113 | ((CheckboxPeer) peer).setChecked(this); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Gets the callback assigned to this menu entry |