Enables, or disables the entry.
(final boolean enabled)
| 243 | * Enables, or disables the entry. |
| 244 | */ |
| 245 | public |
| 246 | void setEnabled(final boolean enabled) { |
| 247 | this.enabled = enabled; |
| 248 | |
| 249 | if (peer != null) { |
| 250 | ((MenuItemPeer) peer).setEnabled(this); |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | /** |
| 255 | * @return the text label that the menu entry has assigned |