|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.display.DataTable.DefaultDataTableModel
protected static class DataTable.DefaultDataTableModel
Constructor Summary | |
---|---|
protected |
DataTable.DefaultDataTableModel()
|
Method Summary | |
---|---|
void |
add(javax.swing.table.TableModel tableModel)
Method add |
void |
addTableModelListener(javax.swing.event.TableModelListener l)
Method addTableModelListener |
void |
clear()
Method clear |
java.lang.Class<?> |
getColumnClass(int columnIndex)
Method getColumnClass |
int |
getColumnCount()
Method getColumnCount |
java.lang.String |
getColumnName(int columnIndex)
Method getColumnName |
int |
getRowCount()
Method getRowCount |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Method getValueAt |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Method isCellEditable |
boolean |
isRowNumberVisible()
Method isRowNumberVisible |
void |
remove(javax.swing.table.TableModel tableModel)
Method remove |
void |
removeTableModelListener(javax.swing.event.TableModelListener l)
Method removeTableModelListener |
void |
setColumnVisible(javax.swing.table.TableModel tableModel,
int columnIndex,
boolean b)
Method setColumnVisible |
void |
setRowNumberVisible(boolean _rowNumberVisible)
Method setRowNumberVisible |
void |
setStride(javax.swing.table.TableModel tableModel,
int stride)
Method setStride |
void |
setValueAt(java.lang.Object value,
int rowIndex,
int columnIndex)
Method setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DataTable.DefaultDataTableModel()
Method Detail |
---|
public void setColumnVisible(javax.swing.table.TableModel tableModel, int columnIndex, boolean b)
setColumnVisible
in interface DataTableModel
tableModel
- columnIndex
- b
- public void setStride(javax.swing.table.TableModel tableModel, int stride)
setStride
in interface DataTableModel
tableModel
- stride
- public void setRowNumberVisible(boolean _rowNumberVisible)
setRowNumberVisible
in interface DataTableModel
_rowNumberVisible
- public void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
value
- rowIndex
- columnIndex
- public boolean isRowNumberVisible()
isRowNumberVisible
in interface DataTableModel
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
columnIndex
-
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
rowIndex
- columnIndex
-
public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
columnIndex
-
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
rowIndex
- columnIndex
-
public void remove(javax.swing.table.TableModel tableModel)
remove
in interface DataTableModel
tableModel
- public void clear()
clear
in interface DataTableModel
public void add(javax.swing.table.TableModel tableModel)
add
in interface DataTableModel
tableModel
- public void addTableModelListener(javax.swing.event.TableModelListener l)
addTableModelListener
in interface javax.swing.table.TableModel
l
- public void removeTableModelListener(javax.swing.event.TableModelListener l)
removeTableModelListener
in interface javax.swing.table.TableModel
l
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |