Class TableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--TableModel

public class TableModel
extends AbstractTableModel

Insert the type's description here. Creation date: (17.04.2001 18:59:50)

Author:
:

Constructor Summary
TableModel()
          TableModel constructor comment.

Method Summary
 voidadd(Object val)
          Insert the method's description here.
 voidaddUnique(Object val, String id)
           
 intgetColumnCount()
          getColumnCount method comment.
 StringgetColumnName(int col)
          Insert the method's description here.
 java.util.VectorgetData()
          Insert the method's description here.
 intgetRowCount()
          getRowCount method comment.
 java.lang.String[]getRowNames()
          Insert the method's description here.
 ObjectgetValueAt(int arg1, int arg2)
          getValueAt method comment.
 booleanisCellEditable(int row, int col)
          Insert the method's description here.
 voidremoveAll()
          Insert the method's description here.
 voidremoveAllElements()
          Insert the method's description here.
 voidremoveValueAt(int row, int col)
           
 voidsetData(java.util.Vector newData)
          Insert the method's description here.
 voidsetRowNames(java.lang.String[] newRowNames)
          Insert the method's description here.
 voidsetValueAt(Object val, int row, int col)
          Insert the method's description here.

Methods inherited from class javax.swing.table.AbstractTableModel
findColumn, getColumnClass, addTableModelListener, removeTableModelListener, fireTableDataChanged, fireTableStructureChanged, fireTableRowsInserted, fireTableRowsUpdated, fireTableRowsDeleted, fireTableCellUpdated, fireTableChanged, getListeners

Methods inherited from class java.lang.Object
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait

Constructor Detail

TableModel

public TableModel()
TableModel constructor comment.
Method Detail

add

public void add(Object val)
Insert the method's description here. Creation date: (24.04.2001 17:27:38)
Parameters:
val - java.lang.Object

addUnique

public void addUnique(Object val, String id)

getColumnCount

public int getColumnCount()
getColumnCount method comment.

getColumnName

public String getColumnName(int col)
Insert the method's description here. Creation date: (17.04.2001 19:07:03)
Parameters:
col - int
Returns: java.lang.String

getData

public java.util.Vector getData()
Insert the method's description here. Creation date: (17.04.2001 19:00:46)
Returns: java.lang.Object[]

getRowCount

public int getRowCount()
getRowCount method comment.

getRowNames

public java.lang.String[] getRowNames()
Insert the method's description here. Creation date: (17.04.2001 19:01:07)
Returns: java.lang.String[]

getValueAt

public Object getValueAt(int arg1, int arg2)
getValueAt method comment.

isCellEditable

public boolean isCellEditable(int row, int col)
Insert the method's description here. Creation date: (17.04.2001 20:00:31)
Parameters:
row - int
col - int
Returns: boolean

removeAll

public void removeAll()
Insert the method's description here. Creation date: (15.05.2001 16:50:32)

removeAllElements

public void removeAllElements()
Insert the method's description here. Creation date: (15.05.2001 16:50:32)

removeValueAt

public void removeValueAt(int row, int col)

setData

public void setData(java.util.Vector newData)
Insert the method's description here. Creation date: (24.04.2001 17:22:53)
Parameters:
newData - java.util.Vector

setRowNames

public void setRowNames(java.lang.String[] newRowNames)
Insert the method's description here. Creation date: (17.04.2001 19:01:07)
Parameters:
newRowNames - java.lang.String[]

setValueAt

public void setValueAt(Object val, int row, int col)
Insert the method's description here. Creation date: (17.04.2001 19:08:20)
Parameters:
val - java.lang.Object
row - int
col - int

Association Links

to Class java.util.Vector

Räume

to Class java.util.Hashtable

to Class java.lang.String

Spaltennamen