appl.parallel.gui
Class ParallelControlPanelEngine

java.lang.Object
  extended by 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
           
 
Constructor Summary
ParallelControlPanelEngine(XuluModellingPlatform xulu)
           
ParallelControlPanelEngine(XuluModellingPlatform xulu, ParallelControlPanel panel)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 ParallelControlPanel getPanel()
           
 void tableChanged(TableModelEvent e)
          Listens for user changes of the rating
 void updateResources(Vector<ComputingResourceContainer> currentResources)
           
 void valueChanged(ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final Logger LOG
Constructor Detail

ParallelControlPanelEngine

public ParallelControlPanelEngine(XuluModellingPlatform xulu)
Parameters:
xulu - the active modeling platform

ParallelControlPanelEngine

public ParallelControlPanelEngine(XuluModellingPlatform xulu,
                                  ParallelControlPanel panel)
Parameters:
xulu - the active modeling platform
panel - the panel to integrate
Method Detail

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