forked from dorkbox/SystemTray
Added comments
This commit is contained in:
parent
73de2c1775
commit
8713f77c46
@ -17,5 +17,12 @@ package dorkbox.util.tray;
|
|||||||
|
|
||||||
public
|
public
|
||||||
interface SystemTrayMenuAction {
|
interface SystemTrayMenuAction {
|
||||||
|
/**
|
||||||
|
* This method will ALWAYS be called in the correct context, either in the swing EDT (if it's swing based), or in a separate thread
|
||||||
|
* (GTK/AppIndicator based).
|
||||||
|
*
|
||||||
|
* @param systemTray this is the parent, system tray object
|
||||||
|
* @param menuEntry this is the menu entry that was clicked
|
||||||
|
*/
|
||||||
void onClick(SystemTray systemTray, final MenuEntry menuEntry);
|
void onClick(SystemTray systemTray, final MenuEntry menuEntry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user