public class AwtGatewayTray extends Object implements DavGatewayTrayInterface
| Modifier and Type | Field and Description |
|---|---|
protected static BufferedImage |
activeImage |
protected static ArrayList<Image> |
frameIcons |
protected static BufferedImage |
image |
protected static BufferedImage |
inactiveImage |
protected static String |
TRAY_ACTIVE_PNG |
protected static String |
TRAY_INACTIVE_PNG |
protected static String |
TRAY_PNG |
protected static String |
TRAY128_ACTIVE_PNG |
protected static String |
TRAY128_INACTIVE_PNG |
protected static String |
TRAY128_PNG |
| Modifier | Constructor and Description |
|---|---|
protected |
AwtGatewayTray() |
| Modifier and Type | Method and Description |
|---|---|
void |
about()
Open about window
|
protected void |
createAndShowGUI() |
void |
displayMessage(String message,
org.apache.log4j.Level level)
Display balloon message for log level.
|
void |
dispose()
destroy frames
|
List<Image> |
getFrameIcons()
Return AWT Image icon for frame title.
|
void |
inactiveIcon()
Set tray icon to inactive (network down)
|
void |
init()
Create tray icon and register frame listeners.
|
boolean |
isActive()
Check if current tray status is inactive (network down).
|
protected void |
loadIcons() |
void |
preferences()
Open settings window
|
void |
resetIcon()
Set tray icon to inactive (network down)
|
void |
switchIcon()
Switch tray icon between active and standby icon.
|
protected static final String TRAY_PNG
protected static final String TRAY_ACTIVE_PNG
protected static final String TRAY_INACTIVE_PNG
protected static final String TRAY128_PNG
protected static final String TRAY128_ACTIVE_PNG
protected static final String TRAY128_INACTIVE_PNG
protected static BufferedImage image
protected static BufferedImage activeImage
protected static BufferedImage inactiveImage
public List<Image> getFrameIcons()
getFrameIcons in interface DavGatewayTrayInterfacepublic void switchIcon()
switchIcon in interface DavGatewayTrayInterfacepublic void resetIcon()
resetIcon in interface DavGatewayTrayInterfacepublic void inactiveIcon()
inactiveIcon in interface DavGatewayTrayInterfacepublic boolean isActive()
isActive in interface DavGatewayTrayInterfacepublic void displayMessage(String message, org.apache.log4j.Level level)
displayMessage in interface DavGatewayTrayInterfacemessage - text messagelevel - log levelpublic void about()
public void preferences()
public void init()
init in interface DavGatewayTrayInterfacepublic void dispose()
DavGatewayTrayInterfacedispose in interface DavGatewayTrayInterfaceprotected void loadIcons()
protected void createAndShowGUI()
Copyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.