public abstract class IsisTray extends Object implements SimulationServiceListener, PropertyChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
to use log facility, just put in your code: log.info(\"...\");
|
protected static ImageIcon |
TRAY_IMAGE_START
Running icon.
|
protected static ImageIcon |
TRAY_IMAGE_STOP
Non running icon.
|
| Constructor and Description |
|---|
IsisTray() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearJobDone(SimulationService simService)
Previent que le simulation service a vide ca liste de simulation faites.
|
static IsisTray |
getInstance()
Factory method to get instance.
|
void |
propertyChange(PropertyChangeEvent evt) |
abstract void |
setImage(ImageIcon image)
Change image.
|
abstract void |
setToolTip(String text)
Change tooltip.
|
void |
simulationStart(SimulationService simService,
SimulationJob job)
Notify start of simulation.
|
void |
simulationStop(SimulationService simService,
SimulationJob job)
Notify end of simulation.
|
protected static final org.apache.commons.logging.Log log
protected static final ImageIcon TRAY_IMAGE_STOP
protected static final ImageIcon TRAY_IMAGE_START
public abstract void setImage(ImageIcon image)
image - new imagepublic abstract void setToolTip(String text)
text - new tooltippublic static IsisTray getInstance()
SystemTray.isSupported()public void simulationStart(SimulationService simService, SimulationJob job)
SimulationServiceListenersimulationStart in interface SimulationServiceListenersimService - le simulation service qui a lance la simulationjob - job that responsible to simulationpublic void simulationStop(SimulationService simService, SimulationJob job)
SimulationServiceListenersimulationStop in interface SimulationServiceListenersimService - le simulation service qui a arrete la simulationjob - job that responsible to simulationpublic void clearJobDone(SimulationService simService)
SimulationServiceListenerclearJobDone in interface SimulationServiceListenersimService - le simulation service dont la liste des jobs finis
a ete videpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 1999–2013 CodeLutin. All rights reserved.