public class AgentGUITrayIcon extends java.lang.Object implements java.awt.event.ActionListener, AwbTrayIcon
AgentGUITrayDialog
Modifier and Type | Class and Description |
---|---|
static class |
AgentGUITrayIcon.TrayUsage |
Constructor and Description |
---|
AgentGUITrayIcon()
Constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
AgentGUITrayDialog |
getAgentGUITrayDialog()
Returns the AgentGUITrayDialog.
|
AgentGUITrayDialog |
getAgentGUITrayDialog(boolean createIfNotAvailable)
Returns the AgentGUITrayDialog.
|
AgentGUITrayPopUp |
getAgentGUITrayPopUp()
Returns the AgentGUITrayPopUp.
|
java.awt.Image |
getImageGreen()
Gets the green image of the Agent.GUI TrayIcon.
|
javax.swing.ImageIcon |
getImageIconGreen()
Gets the green image icon of the Agent.GUI TrayIcon.
|
javax.swing.ImageIcon |
getImageIconRed()
Gets the red image icon of the Agent.GUI TrayIcon
|
java.awt.Image |
getImageRed()
Gets the red image of the Agent.GUI TrayIcon.
|
java.awt.TrayIcon |
getTrayIcon()
Returns the current TrayIcon.
|
java.awt.TrayIcon |
getTrayIcon(boolean createIfNotAvailable)
Returns or creates the TrayIcon.
|
AgentGUITrayIcon.TrayUsage |
getTrayIconUsage()
Gets the tray icon usage.
|
void |
refreshView()
Refreshes the appearance of the tray icon.
|
void |
remove()
Removes the tray icon out off the system tray.
|
public AgentGUITrayIcon.TrayUsage getTrayIconUsage()
public AgentGUITrayPopUp getAgentGUITrayPopUp()
public void refreshView()
AwbTrayIcon
refreshView
in interface AwbTrayIcon
public AgentGUITrayDialog getAgentGUITrayDialog()
public AgentGUITrayDialog getAgentGUITrayDialog(boolean createIfNotAvailable)
createIfNotAvailable
- set true, if you want that an instance should automatically be createdpublic java.awt.TrayIcon getTrayIcon()
public java.awt.TrayIcon getTrayIcon(boolean createIfNotAvailable)
createIfNotAvailable
- the create if not availablepublic javax.swing.ImageIcon getImageIconRed()
public java.awt.Image getImageRed()
public javax.swing.ImageIcon getImageIconGreen()
public java.awt.Image getImageGreen()
public void remove()
remove
in interface AwbTrayIcon
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener