|
MATES 3.0-rc2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mates.ui.graphical.GraphicalUserInterface
| Nested Class Summary | |
class |
GraphicalUserInterface.ScreenshotPainter
Class to encapsulate the paint method of the GUI's
TopologyVisualizer instance, for taking screenshots. |
| Constructor Summary | |
GraphicalUserInterface(java.awt.Container parent)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
exit(int status)
|
TopologyVisualizer |
getTopologyVisualizer()
Returns the topology visualizer used by the GUI. |
void |
handleEvent(Event event)
Callback function for handling an event. |
void |
processEvents()
|
void |
runExperiment(Experiment experiment)
Causes this user interface to run an experiment. |
void |
setGreetingProvider(GreetingProvider gp)
Sets the greeting provider for this user interface. |
void |
setInterruptEnabled(boolean b)
|
void |
setResetEnabled(boolean b)
|
void |
setRunEnabled(boolean b)
|
void |
setRunUntilEnabled(boolean b)
|
void |
setStepEnabled(boolean b)
|
void |
setTopologyVisualizer(TopologyVisualizer topology_visualizer)
Sets the topology visualizer to be used by the GUI. |
void |
stateChanged(javax.swing.event.ChangeEvent ce)
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
|
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent we)
|
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GraphicalUserInterface(java.awt.Container parent)
| Method Detail |
public TopologyVisualizer getTopologyVisualizer()
public void setTopologyVisualizer(TopologyVisualizer topology_visualizer)
public void setGreetingProvider(GreetingProvider gp)
UserInterface
setGreetingProvider in interface UserInterfacepublic void stateChanged(javax.swing.event.ChangeEvent ce)
stateChanged in interface javax.swing.event.ChangeListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent we)
windowClosing in interface java.awt.event.WindowListenerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic boolean exit(int status)
public void runExperiment(Experiment experiment)
UserInterface
runExperiment in interface UserInterfacepublic void handleEvent(Event event)
EventListener
handleEvent in interface EventListenerpublic void processEvents()
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged in interface javax.swing.event.TreeSelectionListenerpublic void setStepEnabled(boolean b)
public void setRunEnabled(boolean b)
public void setRunUntilEnabled(boolean b)
public void setResetEnabled(boolean b)
public void setInterruptEnabled(boolean b)
|
MATES 3.0-rc2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||