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

Method setRepresentedFilename

macos/java/WindowMac.java:98–103  ·  view source on GitHub ↗

Adds the system icon for the specified file next to the window title (and allows viewing the parent directories). @param filename A path to a file @return this

(@NotNull String filename)

Source from the content-addressed store, hash-verified

96 * @return this
97 */
98 @NotNull @Contract("-> this")
99 public Window setRepresentedFilename(@NotNull String filename) {
100 assert _onUIThread() : "Should be run on UI thread";
101 _nSetRepresentedFilename(filename);
102 return this;
103 }
104
105 @Override
106 public Window setIcon(File icon) {

Callers 1

ExampleMethod · 0.80

Calls 2

_onUIThreadMethod · 0.45

Tested by

no test coverage detected