MCPcopy Create free account
hub / github.com/dorkbox/SystemTray / setText

Method setText

src/dorkbox/systemTray/Checkbox.java:171–178  ·  view source on GitHub ↗

Specifies the new text to set for a menu entry @param text the new text to set

(final String text)

Source from the content-addressed store, hash-verified

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

Callers 1

CheckboxMethod · 0.95

Calls 1

setTextMethod · 0.65

Tested by

no test coverage detected