wt.templateutil.table
Class PropertiesTableModel

java.lang.Object
  extended bywt.templateutil.table.PropertiesTableModel
All Implemented Interfaces:
TableModel

public class PropertiesTableModel
extends Object
implements TableModel


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private static String versionID
           
 
Constructor Summary
PropertiesTableModel()
           
 
Method Summary
 void addTableModelListener(TableModelListener l)
           
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void removeTableModelListener(TableModelListener l)
           
 void setValueAt(Object value, int rowIndex, int columnIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values
Constructor Detail

PropertiesTableModel

public PropertiesTableModel()
Method Detail

addTableModelListener

public void addTableModelListener(TableModelListener l)
Specified by:
addTableModelListener in interface TableModel
Parameters:
l -

getColumnClass

public Class getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Parameters:
columnIndex -
Returns:
Class

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel
Returns:
int

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel
Parameters:
columnIndex -
Returns:
String

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel
Returns:
int

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel
Parameters:
rowIndex -
columnIndex -
Returns:
Object

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Parameters:
rowIndex -
columnIndex -
Returns:
boolean

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Specified by:
removeTableModelListener in interface TableModel
Parameters:
l -

setValueAt

public void setValueAt(Object value,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Parameters:
value -
rowIndex -
columnIndex -