Added comments

This commit is contained in:
nathan 2015-11-09 19:45:11 +01:00
parent 73de2c1775
commit 8713f77c46

View File

@ -17,5 +17,12 @@ package dorkbox.util.tray;
public
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);
}