public class FrameGatewayTray extends Object implements DavGatewayTrayInterface
Modifier | Constructor and Description |
---|---|
protected |
FrameGatewayTray() |
Modifier and Type | Method and Description |
---|---|
void |
about()
Open about window
|
protected void |
buildMenu() |
protected void |
createAndShowGUI() |
void |
displayMessage(String message,
org.apache.log4j.Level level)
Log and display balloon message according to 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).
|
void |
preferences()
Open settings window
|
void |
resetIcon()
Set tray icon to inactive (network down)
|
void |
switchIcon()
Switch tray icon between active and standby icon.
|
public List<Image> getFrameIcons()
getFrameIcons
in interface DavGatewayTrayInterface
public void switchIcon()
switchIcon
in interface DavGatewayTrayInterface
public void resetIcon()
resetIcon
in interface DavGatewayTrayInterface
public void inactiveIcon()
inactiveIcon
in interface DavGatewayTrayInterface
public boolean isActive()
isActive
in interface DavGatewayTrayInterface
public void displayMessage(String message, org.apache.log4j.Level level)
displayMessage
in interface DavGatewayTrayInterface
message
- text messagelevel
- log levelpublic void about()
public void preferences()
public void init()
init
in interface DavGatewayTrayInterface
public void dispose()
DavGatewayTrayInterface
dispose
in interface DavGatewayTrayInterface
protected void buildMenu()
protected void createAndShowGUI()
Copyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.