|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.ui.tray.Java6Tray
public class Java6Tray
Tray for TV-Browser on systems with Java 6 and tray support.
Method Summary | |
---|---|
void |
addLeftClickAction(java.awt.event.ActionListener listener)
Add a Left-Click-Action |
void |
addLeftDoubleClickAction(java.awt.event.ActionListener listener)
Add a Left-DoubleClick-Action |
void |
addRightClickAction(java.awt.event.ActionListener listener)
Add a Right-Click-Action |
static Java6Tray |
create()
Creates the Java 6 tray. |
java.awt.Dimension |
getTrayIconSize()
Gets the useable size for tray icon. |
boolean |
init(javax.swing.JFrame parent,
java.lang.String tooltip)
Init the System-Tray |
void |
setTrayPopUp(javax.swing.JPopupMenu trayMenu)
Add Popup to Tray-Icon |
void |
setVisible(boolean b)
Set the visibility of the TrayIcon |
boolean |
showBalloonTip(java.lang.String caption,
java.lang.String message,
java.awt.TrayIcon.MessageType messageType)
Shows a balloon tip on the TV-Browser tray icon. |
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(java.awt.event.ActionListener listener)
listener
- Action that is triggered on left clickpublic void addLeftDoubleClickAction(java.awt.event.ActionListener listener)
listener
- Action that is triggered on left doubleclickpublic void addRightClickAction(java.awt.event.ActionListener listener)
listener
- Action that is triggered on right clickpublic boolean init(javax.swing.JFrame parent, java.lang.String tooltip)
parent
- Parent-Frametooltip
- Tooltip
public void setTrayPopUp(javax.swing.JPopupMenu trayMenu)
trayMenu
- Popuppublic void setVisible(boolean b)
b
- Visibilitypublic java.awt.Dimension getTrayIconSize()
public boolean showBalloonTip(java.lang.String caption, java.lang.String message, java.awt.TrayIcon.MessageType messageType)
caption
- The caption of the displayed message.message
- The message to display in the balloon tip.messageType
- The type of the displayed balllon tip.
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |