jmri.jmrit.symbolicprog
Class IndexedCvTableModel

Show UML class diagram
java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by jmri.jmrit.symbolicprog.IndexedCvTableModel
All Implemented Interfaces:
ActionListener, PropertyChangeListener, Serializable, EventListener, TableModel

Deprecated. since 3.7.1

@Deprecated
public class IndexedCvTableModel
extends AbstractTableModel
implements ActionListener, PropertyChangeListener

Table data model for display of IndexedCvValues in symbolic programmer. This represents the contents of a single decoder, so the Programmer used to access it is a data member.

See Also:
Serialized Form

Field Summary
(package private) static org.slf4j.Logger log
          Deprecated.  
(package private) static int MAXCVNUM
          Deprecated.  
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
IndexedCvTableModel(JLabel status, Programmer pProgrammer)
          Deprecated.  
 
Method Summary
 void actionPerformed(ActionEvent e)
          Deprecated.  
 int addIndxCV(String cvName, String piCv, int piVal, String siCv, int siVal, String iCv, boolean readOnly, boolean infoOnly, boolean writeOnly)
          Deprecated. return is the current row or the row of an existing Indexed CV
 HashMap<String,CvValue> allIndxCvMap()
          Deprecated.  
 Vector<CvValue> allIndxCvVector()
          Deprecated.  
 boolean decoderDirty()
          Deprecated.  
 void dispose()
          Deprecated.  
 Class<?> getColumnClass(int col)
          Deprecated.  
 int getColumnCount()
          Deprecated.  
 String getColumnName(int col)
          Deprecated.  
 int getCvByName(String name)
          Deprecated.  
 CvValue getCvByNumber(int row)
          Deprecated.  
 CvValue getCvByRow(int row)
          Deprecated.  
 CvValue getMatchingIndexedCV(String name)
          Deprecated. Find the existing IndexedCV that matches a particular name
 String getName(int row)
          Deprecated.  
 Programmer getProgrammer()
          Deprecated. Gives access to the programmer used to reach these Indexed CVs, so you can check on mode, capabilities, etc.
 int getRowCount()
          Deprecated.  
 JLabel getStatusLabel()
          Deprecated.  
 String getValString(int row)
          Deprecated.  
 Object getValueAt(int row, int col)
          Deprecated.  
 void indexedCompare()
          Deprecated.  
 void indexedRead()
          Deprecated.  
 void indexedWrite()
          Deprecated.  
 boolean isCellEditable(int row, int col)
          Deprecated.  
 void propertyChange(PropertyChangeEvent e)
          Deprecated.  
 void setProgrammer(Programmer p)
          Deprecated.  
 void setValueAt(Object value, int row, int col)
          Deprecated.  
 
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

MAXCVNUM

static final int MAXCVNUM
Deprecated. 
See Also:
Constant Field Values

log

static org.slf4j.Logger log
Deprecated. 
Constructor Detail

IndexedCvTableModel

public IndexedCvTableModel(JLabel status,
                           Programmer pProgrammer)
Deprecated. 
Method Detail

allIndxCvVector

public Vector<CvValue> allIndxCvVector()
Deprecated. 

allIndxCvMap

public HashMap<String,CvValue> allIndxCvMap()
Deprecated. 

getStatusLabel

public JLabel getStatusLabel()
Deprecated. 

getMatchingIndexedCV

public CvValue getMatchingIndexedCV(String name)
Deprecated. 
Find the existing IndexedCV that matches a particular name


getProgrammer

public Programmer getProgrammer()
Deprecated. 
Gives access to the programmer used to reach these Indexed CVs, so you can check on mode, capabilities, etc.

Returns:
Programmer object for the Indexed CVs

setProgrammer

public void setProgrammer(Programmer p)
Deprecated. 

getRowCount

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

getColumnCount

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

getColumnName

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

getColumnClass

public Class<?> getColumnClass(int col)
Deprecated. 
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

isCellEditable

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

getName

public String getName(int row)
Deprecated. 

getValString

public String getValString(int row)
Deprecated. 

getCvByName

public int getCvByName(String name)
Deprecated. 

getCvByRow

public CvValue getCvByRow(int row)
Deprecated. 

getCvByNumber

public CvValue getCvByNumber(int row)
Deprecated. 

getValueAt

public Object getValueAt(int row,
                         int col)
Deprecated. 
Specified by:
getValueAt in interface TableModel

setValueAt

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

actionPerformed

public void actionPerformed(ActionEvent e)
Deprecated. 
Specified by:
actionPerformed in interface ActionListener

indexedRead

public void indexedRead()
Deprecated. 

indexedWrite

public void indexedWrite()
Deprecated. 

indexedCompare

public void indexedCompare()
Deprecated. 

propertyChange

public void propertyChange(PropertyChangeEvent e)
Deprecated. 
Specified by:
propertyChange in interface PropertyChangeListener

addIndxCV

public int addIndxCV(String cvName,
                     String piCv,
                     int piVal,
                     String siCv,
                     int siVal,
                     String iCv,
                     boolean readOnly,
                     boolean infoOnly,
                     boolean writeOnly)
Deprecated. 
return is the current row or the row of an existing Indexed CV


decoderDirty

public boolean decoderDirty()
Deprecated. 

dispose

public void dispose()
Deprecated. 


Copyright © 1997-2014 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads