|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.TrayIcon
org.lyra.Interface.LyraTrayIcon
public class LyraTrayIcon
Class which will create a self-sustained TrayIcon component which can be used to have basic control and display information on Lyra when minimised. This class has no visual editor mode due to the lack of visual editors which supports this feature.
Nested Class Summary | |
---|---|
private class |
LyraTrayIcon.Interact
The code separation from the user interface. |
private class |
LyraTrayIcon.PopupLyra
Creates the popup menu structure necessary to display along with the system tray icon. |
Nested classes/interfaces inherited from class java.awt.TrayIcon |
---|
java.awt.TrayIcon.MessageType |
Field Summary | |
---|---|
private java.awt.Window |
Compact
|
private Playback |
Control
|
private Status |
Information
|
private LyraTrayIcon.Interact |
Interface
|
private java.util.Map<java.lang.String,java.lang.String> |
Lang
|
private static LyraTrayIcon |
myTray
|
private java.awt.Window |
Organiser
|
private LyraTrayIcon.PopupLyra |
Popup
|
Constructor Summary | |
---|---|
private |
LyraTrayIcon(java.awt.Image image,
Status information,
Playback control,
Updater watcher,
java.util.Map<java.lang.String,java.lang.String> lang,
java.awt.Window organiser)
Creates an instance TrayIcon with the specified image. |
Method Summary | |
---|---|
static LyraTrayIcon |
getTrayIcon(java.awt.Image image,
Status information,
Playback control,
Updater watcher,
java.util.Map<java.lang.String,java.lang.String> lang,
java.awt.Window organiser)
Creates a TrayIcon with the specified image. |
static boolean |
isInstanced()
Do we have an instance created? |
static void |
setCompact(java.awt.Window compact)
Permit the application to track both windows. |
Methods inherited from class java.awt.TrayIcon |
---|
addActionListener, addMouseListener, addMouseMotionListener, displayMessage, getActionCommand, getActionListeners, getImage, getMouseListeners, getMouseMotionListeners, getPopupMenu, getSize, getToolTip, isImageAutoSize, removeActionListener, removeMouseListener, removeMouseMotionListener, setActionCommand, setImage, setImageAutoSize, setPopupMenu, setToolTip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static LyraTrayIcon myTray
private Status Information
private Playback Control
private java.util.Map<java.lang.String,java.lang.String> Lang
private java.awt.Window Organiser
private java.awt.Window Compact
private LyraTrayIcon.Interact Interface
private LyraTrayIcon.PopupLyra Popup
Constructor Detail |
---|
private LyraTrayIcon(java.awt.Image image, Status information, Playback control, Updater watcher, java.util.Map<java.lang.String,java.lang.String> lang, java.awt.Window organiser)
image
- The Image to be used.information
- State and status information for playback and modes.control
- Playback control instance.watcher
- Updater instance to receive changes in player state.lang
- Language elements.organiser
- Window to revert to when going back to the player/organiser panel.Method Detail |
---|
public static LyraTrayIcon getTrayIcon(java.awt.Image image, Status information, Playback control, Updater watcher, java.util.Map<java.lang.String,java.lang.String> lang, java.awt.Window organiser)
image
- The Image to be used.information
- State and status information for playback and modes.control
- Playback control instance.watcher
- Updater instance to receive changes in player state.lang
- Language elements.organiser
- Window to revert to when going back to the player/organiser panel.
public static void setCompact(java.awt.Window compact)
compact
- Compact window instance.public static boolean isInstanced()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |