
Public Types | |
| enum | ConnectionStatus { Connected, png, Connecting, png, Disconnected, png, down, tooltip = new ImageIcon(this.getClass().getResource(iconName))tooltip, tooltip = new ImageIcon(this.getClass().getResource(iconName))tooltip } |
Public Member Functions | |
| ConnectionWidget (AlarmPanel panel) | |
| void | setConnectionState (ConnectionStatus state) |
| Override void | actionPerformed (ActionEvent e) |
Package Types | |
Private Member Functions | |
| void | initialize () |
Private Attributes | |
| JPopupMenu | popMenu |
| JMenuItem | reconnectMI |
| ConnectionStatus | currentState |
| AlarmPanel | alarmPanel |
The widget shows a popup menu to allow the reconnection
|
|
The possible states of the connection of the category client
|
|
|
Constructor |
|
|
|
|
|
Init the GUI |
|
|
Set the icon and the tooltip of the connection label.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8