EBComponentpublic class JEditSwingTrayIcon extends JEditTrayIcon implements EBComponent
| Constructor | Description |
|---|---|
JEditSwingTrayIcon() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleMessage(EBMessage message) |
Handles a message sent on the EditBus.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, addMouseListener, addMouseMotionListener, displayMessage, getActionCommand, getActionListeners, getImage, getMouseListeners, getMouseMotionListeners, getPopupMenu, getSize, getToolTip, isImageAutoSize, removeActionListener, removeMouseListener, removeMouseMotionListener, setActionCommand, setImage, setImageAutoSize, setPopupMenu, setToolTippublic void handleMessage(EBMessage message)
EBComponentEBMessage class. Typically
this is done with one or more if blocks 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 onhandleMessage in interface EBComponentmessage - The message