Package limn.backend.spi
Interface TrayHost
public interface TrayHost
What a tray's backend asks of the toolkit and tells it. Every method is called on the UI
thread; a backend that hears of a click on another thread comes to the UI thread first.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()The user activated the icon.voidTrayPeer.isAvailable()changed.voidchoose(int id) The user chose a row.menu()Reads the application's menu now.
-
Method Details
-
choose
void choose(int id) The user chose a row.- Parameters:
id- the row's number in the readingmenu()last returned; a number that reading does not have is ignored
-
activate
void activate()The user activated the icon. Called only while the state says the icon activates. -
availabilityChanged
void availabilityChanged()TrayPeer.isAvailable()changed.