net.agmodel.resData
Class ResourceTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--net.agmodel.resData.ResourceTableModel
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
ResourceLocaleModel, ResourceSupervisorModel, ResourceTransDetailModel, ResourceTranslatorModel, ResourceUserModel

public abstract class ResourceTableModel
extends AbstractTableModel

Title: Description: Copyright: Copyright (c) 2002 Company:

See Also:
Serialized Form

Field Summary
protected  String[] colHeading
           
protected  Map detailMap
           
protected  boolean editKey
           
protected  boolean editKeyTr
           
protected  String editLanguage
           
protected  boolean editValue
           
protected  String fileSetID
           
protected  int maxCol
           
protected  int maxRow
           
protected  String[] resItemDescription
           
protected  String[] resItemKey
           
protected  String sessionID
           
protected  String[][] viewResItem
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ResourceTableModel()
           
 
Method Summary
 String[] getColHeadingName()
           
 int getColumnCount()
           
 String getColumnName(int i)
           
(package private) abstract  boolean getEdit()
           
(package private) abstract  String getEditLanguage()
           
 Map getLanguageDetail()
           
 int getRowCount()
           
abstract  Object getValueAt(int row, int col)
           
abstract  boolean isCellEditable(int row, int col)
           
 void removeTableModelListener(TableModelListener l)
           
abstract  void setValueAt(Object value, int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionID

protected String sessionID

resItemKey

protected String[] resItemKey

resItemDescription

protected String[] resItemDescription

editLanguage

protected String editLanguage

colHeading

protected String[] colHeading

detailMap

protected Map detailMap

fileSetID

protected String fileSetID

maxRow

protected int maxRow

maxCol

protected int maxCol

viewResItem

protected String[][] viewResItem

editKey

protected boolean editKey

editValue

protected boolean editValue

editKeyTr

protected boolean editKeyTr
Constructor Detail

ResourceTableModel

public ResourceTableModel()
Method Detail

getColHeadingName

public String[] getColHeadingName()

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int i)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getLanguageDetail

public Map getLanguageDetail()

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Specified by:
removeTableModelListener in interface TableModel
Overrides:
removeTableModelListener in class AbstractTableModel

getEditLanguage

abstract String getEditLanguage()

getValueAt

public abstract Object getValueAt(int row,
                                  int col)

getEdit

abstract boolean getEdit()

isCellEditable

public abstract boolean isCellEditable(int row,
                                       int col)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

setValueAt

public abstract void setValueAt(Object value,
                                int row,
                                int col)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel