org.ourgrid.peer.ui.gui
Class GumPanel

java.lang.Object
  extended by org.ourgrid.peer.ui.gui.GumPanel
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.TreeSelectionListener

public class GumPanel
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener, java.awt.event.ActionListener

This class generate the GuMP Manager, it has a instance of PeerUIServices to obtain informations to create table.
Implements the abstract methods of AbstractTableModel to instantiate JTable.


Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void clean()
          Clean the table
static GumPanel getInstance()
          Static method for get instance of this class
 javax.swing.JPanel getPanel()
          Return JPanel with JScrollPane
 void refreshTree()
          Get List of GuMs and put in table
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GumPanel getInstance()
Static method for get instance of this class


getPanel

public javax.swing.JPanel getPanel()
Return JPanel with JScrollPane


refreshTree

public void refreshTree()
Get List of GuMs and put in table


clean

public void clean()
Clean the table


valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
See Also:
TreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener