B4J Programming Press on the image to return to the main documentation page.

jSystemTray

List of types:

SystemTray
TrayIcon

SystemTray


Events:

None

Members:


  AddTrayIcon (TrayIcon As TrayIcon)

  Initialize

  RemoveTrayIcon (TrayIcon As TrayIcon)

  Supported As Boolean [read only]

Members description:

AddTrayIcon (TrayIcon As TrayIcon)
Adds a tray icon to the system tray.
Initialize
Initializes the system tray.
RemoveTrayIcon (TrayIcon As TrayIcon)
Removes a tray icon from the system tray.
Supported As Boolean [read only]
Tests whether the system tray is supported.

TrayIcon


Events:

DoubleClick
MenuClick (Text As String)
Click

Members:


  Initialize (EventName As String, Image As javafx.scene.image.Image, MenuItems As List)

  IsInitialized As Boolean

  SetImage (Image As javafx.scene.image.Image)

  ToolTip As String

Members description:

Initialize (EventName As String, Image As javafx.scene.image.Image, MenuItems As List)
Initializes the tray icon.
EventName - Sets the subs that will handle the events.
Image - Icon image.
MenuItems - A list of strings that will show as a popup menu when the user right clicks on the icon.
IsInitialized As Boolean
SetImage (Image As javafx.scene.image.Image)
Sets the icon image.
ToolTip As String
Gets or sets the icon tooltip.
Top