|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.parameterdatabase.DatabaseTable
Field Summary | |
protected LinkedList |
tableModelListeners
The list of TableModelListeners. |
Constructor Summary | |
DatabaseTable(ParameterDatabase database)
Create a new table to view the parameters in the database. |
|
DatabaseTable(ParameterDatabase database,
boolean local)
Create a new table to view the parameters in the database. |
Method Summary | |
void |
addTableModelListener(TableModelListener listener)
|
void |
databaseUpdated()
This is called when any parameter of the database is changed. |
void |
fireTableChanged()
|
Class |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
|
String |
getColumnName(int columnIndex)
|
JComponent |
getForm()
Return a reference to the JComponent which contains the table. |
int |
getRowCount()
|
Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
void |
removeTableModelListener(TableModelListener listener)
|
void |
setKeyObject(Object key)
Set the object used to search the parameter database. |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LinkedList tableModelListeners
Constructor Detail |
public DatabaseTable(ParameterDatabase database)
public DatabaseTable(ParameterDatabase database, boolean local)
Method Detail |
public JComponent getForm()
public void setKeyObject(Object key)
public void databaseUpdated()
databaseUpdated
in interface DatabaseListener
public void fireTableChanged()
public void addTableModelListener(TableModelListener listener)
addTableModelListener
in interface TableModel
public void removeTableModelListener(TableModelListener listener)
removeTableModelListener
in interface TableModel
public Class getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
public int getRowCount()
getRowCount
in interface TableModel
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |