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

Method bind

src/dorkbox/systemTray/Status.java:39–44  ·  view source on GitHub ↗

@param peer the platform specific implementation for all actions for this type @param parent the parent of this menu, null if the parent is the system tray @param imageResizeUtil the utility used to resize images. This can be Tray specific because of cache requirements

(final StatusPeer peer, final Menu parent, ImageResizeUtil imageResizeUtil)

Source from the content-addressed store, hash-verified

37 * @param imageResizeUtil the utility used to resize images. This can be Tray specific because of cache requirements
38 */
39 public
40 void bind(final StatusPeer peer, final Menu parent, ImageResizeUtil imageResizeUtil) {
41 super.bind(peer, parent, imageResizeUtil);
42
43 peer.setText(this);
44 }
45
46 /**
47 * @return the text label that the menu entry has assigned

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.65

Tested by

no test coverage detected