Class JEditSwingTrayIcon
java.lang.Object
java.awt.TrayIcon
org.gjt.sp.jedit.gui.tray.JTrayIcon
org.gjt.sp.jedit.gui.tray.JEditTrayIcon
org.gjt.sp.jedit.gui.tray.JEditSwingTrayIcon
- All Implemented Interfaces:
EBComponent
- Since:
- jEdit 4.5pre1
- Author:
- Matthieu Casanova
-
Nested Class Summary
Nested classes/interfaces inherited from class TrayIcon
TrayIcon.MessageType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(EBMessage message) Handles a message sent on the EditBus.Methods inherited from class TrayIcon
addActionListener, addMouseListener, addMouseMotionListener, displayMessage, getActionCommand, getActionListeners, getImage, getMouseListeners, getMouseMotionListeners, getPopupMenu, getSize, getToolTip, isImageAutoSize, removeActionListener, removeMouseListener, removeMouseMotionListener, setActionCommand, setImage, setImageAutoSize, setPopupMenu, setToolTip
-
Constructor Details
-
JEditSwingTrayIcon
public JEditSwingTrayIcon()
-
-
Method Details
-
handleMessage
Description copied from interface:EBComponentHandles a message sent on the EditBus. This method must specify the type of responses the plugin will have for various subclasses of theEBMessageclass. Typically this is done with one or moreifblocks that test whether the message is an instance of a derived message class in which the component has an interest. For example:if(msg instanceof BufferUpdate) { // a buffer's state has changed! } else if(msg instanceof ViewUpdate) { // a view's state has changed! } // ... and so on- Specified by:
handleMessagein interfaceEBComponent- Parameters:
message- The message
-