appl.parallel.gui
Class ParallelControlPanelEngine
java.lang.Object
appl.parallel.gui.ParallelControlPanelEngine
- All Implemented Interfaces:
- ResourceChangeListener, ActionListener, EventListener, ListSelectionListener, TableModelListener
public class ParallelControlPanelEngine
- extends Object
- implements ActionListener, ListSelectionListener, TableModelListener, ResourceChangeListener
This class controls the ParallelControlPanel
.
- Author:
- Dominik Appl
Field Summary |
protected Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected final Logger LOG
ParallelControlPanelEngine
public ParallelControlPanelEngine(XuluModellingPlatform xulu)
- Parameters:
xulu
- the active modeling platform
ParallelControlPanelEngine
public ParallelControlPanelEngine(XuluModellingPlatform xulu,
ParallelControlPanel panel)
- Parameters:
xulu
- the active modeling platformpanel
- the panel to integrate
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
valueChanged
public void valueChanged(ListSelectionEvent e)
- Specified by:
valueChanged
in interface ListSelectionListener
tableChanged
public void tableChanged(TableModelEvent e)
- Listens for user changes of the rating
- Specified by:
tableChanged
in interface TableModelListener
- See Also:
TableModelListener.tableChanged(javax.swing.event.TableModelEvent)
getPanel
public ParallelControlPanel getPanel()
- Returns:
- the panel
updateResources
public void updateResources(Vector<ComputingResourceContainer> currentResources)
- Specified by:
updateResources
in interface ResourceChangeListener
- Parameters:
currentResources
- the current active remote resources