|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttvbrowser.ui.tray.TrayIcon
public class TrayIcon
A class that uses reflection to get support for Java 6 tray classes. If Java 6 isn't installed the tray simply doesn't work but the program runs normal with Java 5: Copied from WinTVCap_GUI and changed for TV-Browser.
| Constructor Summary | |
|---|---|
TrayIcon(BufferedImage icon,
String toolTip)
Creates an instance of TrayIcon. |
|
| Method Summary | |
|---|---|
void |
addMouseListener(MouseListener listener)
Adds a mouse listener to the tray icon. |
Object |
getTrayIcon()
Gets the Java 6 tray icon object. |
void |
setToolTip(String toolTip)
Sets the tooltip text of the tray icon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrayIcon(BufferedImage icon,
String toolTip)
icon - The icon image.toolTip - The tray tooltip text.| Method Detail |
|---|
public void setToolTip(String toolTip)
toolTip - The new tooltip text.public Object getTrayIcon()
public void addMouseListener(MouseListener listener)
listener - The listener to add.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||