Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.dialogs.preferences
Class PreferenceTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by cytoscape.dialogs.preferences.PreferenceTableModel
All Implemented Interfaces:
Serializable, TableModel

public class PreferenceTableModel
extends AbstractTableModel

See Also:
Serialized Form

Constructor Summary
PreferenceTableModel()
          Creates a new PreferenceTableModel object.
 
Method Summary
 void addProperty(String[] val)
          DOCUMENT ME!
 void clearVector()
          DOCUMENT ME!
 void deleteProperty(String key)
          DOCUMENT ME!
 int getColumnCount()
          DOCUMENT ME!
 String getColumnName(int col)
          DOCUMENT ME!
 String getProperty(String key)
          DOCUMENT ME!
 String getProperty(String key, String defaultValue)
          DOCUMENT ME!
 int getRowCount()
          DOCUMENT ME!
 Object getValueAt(int row, int col)
          DOCUMENT ME!
 void loadProperties()
          DOCUMENT ME!
 void restore(Properties restoreFromProps)
          DOCUMENT ME!
 void save(Properties saveToProps)
          DOCUMENT ME!
 void setProperty(String key, String value)
          DOCUMENT ME!
 void sort()
          DOCUMENT ME!
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferenceTableModel

public PreferenceTableModel()
Creates a new PreferenceTableModel object.

Method Detail

loadProperties

public void loadProperties()
DOCUMENT ME!


getProperty

public String getProperty(String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

getProperty

public String getProperty(String key,
                          String defaultValue)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
defaultValue - DOCUMENT ME!
Returns:
DOCUMENT ME!

setProperty

public void setProperty(String key,
                        String value)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
value - DOCUMENT ME!

deleteProperty

public void deleteProperty(String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!

addProperty

public void addProperty(String[] val)
DOCUMENT ME!

Parameters:
val - DOCUMENT ME!

getColumnName

public String getColumnName(int col)
DOCUMENT ME!

Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel
Parameters:
col - DOCUMENT ME!
Returns:
DOCUMENT ME!

clearVector

public void clearVector()
DOCUMENT ME!


save

public void save(Properties saveToProps)
DOCUMENT ME!

Parameters:
saveToProps - DOCUMENT ME!

restore

public void restore(Properties restoreFromProps)
DOCUMENT ME!

Parameters:
restoreFromProps - DOCUMENT ME!

getColumnCount

public int getColumnCount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getValueAt

public Object getValueAt(int row,
                         int col)
DOCUMENT ME!

Parameters:
row - DOCUMENT ME!
col - DOCUMENT ME!
Returns:
DOCUMENT ME!

getRowCount

public int getRowCount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

sort

public void sort()
DOCUMENT ME!


www.cytoscape.org