|
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.Java6Tray
public class Java6Tray
Tray for TV-Browser on systems with Java 6 and tray support.
| Method Summary | |
|---|---|
void |
addLeftClickAction(ActionListener listener)
Add a Left-Click-Action |
void |
addLeftDoubleClickAction(ActionListener listener)
Add a Left-DoubleClick-Action |
void |
addRightClickAction(ActionListener listener)
Add a Right-Click-Action |
static Java6Tray |
create()
Creates the Java 6 tray. |
Dimension |
getTrayIconSize()
Gets the useable size for tray icon. |
boolean |
init(JFrame parent,
String tooltip)
Init the System-Tray |
void |
setTrayPopUp(JPopupMenu trayMenu)
Add Popup to Tray-Icon |
void |
setVisible(boolean b)
Set the visibility of the TrayIcon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Java6Tray create()
public void addLeftClickAction(ActionListener listener)
listener - Action that is triggered on left clickpublic void addLeftDoubleClickAction(ActionListener listener)
listener - Action that is triggered on left doubleclickpublic void addRightClickAction(ActionListener listener)
listener - Action that is triggered on right click
public boolean init(JFrame parent,
String tooltip)
parent - Parent-Frametooltip - Tooltip
public void setTrayPopUp(JPopupMenu trayMenu)
trayMenu - Popuppublic void setVisible(boolean b)
b - Visibilitypublic Dimension getTrayIconSize()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||