org.freehep.application
Class PropertyUtilities.PropertyTable

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.freehep.application.PropertyUtilities.PropertyTable
All Implemented Interfaces:
Serializable, Comparator, TableModel
Enclosing class:
PropertyUtilities

public static class PropertyUtilities.PropertyTable
extends AbstractTableModel
implements Comparator

Creates a TableModel from a property set

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Method Summary
 int compare(Object o1, Object o2)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 int getRowCount()
           
 Object getValueAt(int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

getRowCount

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

getColumnCount

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

getValueAt

public Object getValueAt(int row,
                         int column)
Specified by:
getValueAt in interface TableModel

getColumnName

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


Copyright © 2000-2006 FreeHEP. All Rights Reserved.