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

Method setTitlebarStyle

macos/java/WindowMac.java:137–143  ·  view source on GitHub ↗
(WindowMacTitlebarStyle titlebarStyle)

Source from the content-addressed store, hash-verified

135 }
136
137 @NotNull @Contract("_, -> this")
138 public WindowMac setTitlebarStyle(WindowMacTitlebarStyle titlebarStyle) {
139 assert _onUIThread() : "Should be run on UI thread";
140 _nSetTitlebarStyle(titlebarStyle.ordinal());
141 accept(new EventWindowResize(this));
142 return this;
143 }
144
145 @NotNull @Contract("_, _ -> this")
146 public WindowMac setTrafficLightPosition(int left, int top) {

Callers 1

setTitleStyleMethod · 0.80

Calls 3

_nSetTitlebarStyleMethod · 0.95
_onUIThreadMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected