Specifies the new text to set for a menu entry @param text the new text to set
(final String text)
| 169 | * @param text the new text to set |
| 170 | */ |
| 171 | public |
| 172 | void setText(final String text) { |
| 173 | this.text = text; |
| 174 | |
| 175 | if (peer != null) { |
| 176 | ((CheckboxPeer) peer).setText(this); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * Gets the shortcut key for this menu entry (Mnemonic) which is what menu entry uses to be "selected" via the keyboard while the |