FileDocCategorySizeDatePackage
GenericTable.javaAPI DocGlassfish v2 API3423Fri May 04 22:34:56 BST 2007com.sun.enterprise.tools.common.ui

GenericTable

public abstract class GenericTable extends JPanel
author
bnevins
version
1.0 Generic Panel & Model for getting tables of strings from user

Fields Summary
private JTable
theTable
private GenericTableModel
theModel
Constructors Summary
public GenericTable()

	
Methods Summary
protected javax.swing.JTablegetJTable()

		return theTable;
	
protected GenericTableModelgetModel()

		return theModel;
	
public java.lang.ObjectgetPropertyValue()

		return saveData();
	
public abstract java.lang.ObjectsaveData()

public voidsetGenericTableInfo(GenericTableInfo gti)

		Reporter.assertIt(gti); //NOI18N
		theModel = new GenericTableModel(gti);
		theTable = new JTable(theModel);
		add(new JScrollPane(theTable));
		//setViewportView(new JTable(new GenericTableModel(gti)));