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

Method setChecked

src/dorkbox/systemTray/Checkbox.java:108–115  ·  view source on GitHub ↗

Sets the checked on/off status for this entry @param isChecked true to show the checkbox, false to hide it

(boolean isChecked)

Source from the content-addressed store, hash-verified

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

Callers 1

CheckboxMethod · 0.95

Calls 1

setCheckedMethod · 0.65

Tested by

no test coverage detected