MCPcopy Create free account
hub / github.com/HumbleUI/JWM / setVisible

Method setVisible

shared/java/Window.java:276–281  ·  view source on GitHub ↗

Set window visibility. If passed `true`, the window will be visible for the user. If passed `false`, the window and its menu icon will be invisible for the user. Window visibility might be useful, if you want to fully configure window and display only final result to the us

(boolean isVisible)

Source from the content-addressed store, hash-verified

274 * @return this
275 */
276 @NotNull @Contract("-> this")
277 public Window setVisible(boolean isVisible) {
278 if (isVisible)
279 accept(EventWindowScreenChange.INSTANCE);
280 return this;
281 }
282
283 /**
284 * Sets window opacity [0.0, 1.0]. If the opacity is outside the range,

Callers 1

mainMethod · 0.95

Calls 1

acceptMethod · 0.95

Tested by

no test coverage detected