org.thdl.tib.scanner
Class DictionaryTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--org.thdl.tib.scanner.DictionaryTableModel
All Implemented Interfaces:
Serializable, TableModel

public class DictionaryTableModel
extends AbstractTableModel

Stores the words being displayed in a DictionaryTable.

Author:
Andrés Montano Pellegrini
See Also:
DictionaryTable, Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DictionaryTableModel(org.thdl.tib.scanner.Word[] array)
           
 
Method Summary
 void activateTibetan(boolean activate)
           
 Class getColumnClass(int c)
           
 int getColumnCount()
           
 int getRowCount()
           
 Object getValueAt(int row, int column)
           
 void newSearch(org.thdl.tib.scanner.Token[] token)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryTableModel

public DictionaryTableModel(org.thdl.tib.scanner.Word[] array)
Method Detail

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

activateTibetan

public void activateTibetan(boolean activate)

getValueAt

public Object getValueAt(int row,
                         int column)

getColumnClass

public Class getColumnClass(int c)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

newSearch

public void newSearch(org.thdl.tib.scanner.Token[] token)


These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo