org.argouml.uml
Class TMResults

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byorg.argouml.uml.TMResults
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class TMResults
extends javax.swing.table.AbstractTableModel

TMResults implements a default table model which is used by Find and Goto Operations in order to display search results. It defines a default table model with columns and can resolve found objects to strings.

See Also:
Serialized Form

Field Summary
(package private)  java.util.Vector _diagrams
           
(package private)  java.util.Vector _rowObjects
           
private static java.lang.String BUNDLE
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TMResults()
           
 
Method Summary
 java.lang.Class getColumnClass(int c)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int c)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void setTarget(java.util.Vector results, java.util.Vector diagrams)
           
 void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUNDLE

private static final java.lang.String BUNDLE
See Also:
Constant Field Values

_rowObjects

java.util.Vector _rowObjects

_diagrams

java.util.Vector _diagrams
Constructor Detail

TMResults

public TMResults()
Method Detail

setTarget

public void setTarget(java.util.Vector results,
                      java.util.Vector diagrams)

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

public java.lang.String getColumnName(int c)

getColumnClass

public java.lang.Class getColumnClass(int c)

isCellEditable

public boolean isCellEditable(int row,
                              int col)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int rowIndex,
                       int columnIndex)


ArgoUML © 1996-2004 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook