org.ourgrid.mygrid.ui.gui
Class GridPanel

java.lang.Object
  extended by org.ourgrid.mygrid.ui.gui.GridPanel
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.swing.event.TreeSelectionListener

public class GridPanel
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener, java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
GridPanel(SimpleSynchronizedGridManager simpleGridManager)
          Creates a new GridPanel
 
Method Summary
 void clean()
          Clean the table
 javax.swing.JPanel getPanel()
          Return JPanel with JScrollPane
 void refreshTree()
           
 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
 

Constructor Detail

GridPanel

public GridPanel(SimpleSynchronizedGridManager simpleGridManager)
Creates a new GridPanel

Method Detail

getPanel

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


refreshTree

public void refreshTree()

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)