com.poscoict.glueframework.tester
Class GlueParamTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.poscoict.glueframework.tester.GlueParamTableModel
All Implemented Interfaces:
Serializable, TableModel

public class GlueParamTableModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
GlueParamTableModel()
           
GlueParamTableModel(Object[] columnNames)
           
GlueParamTableModel(Object[][] data, Object[] columnNames)
           
 
Method Summary
 void addNullRow()
           
 void deleteRows(int[] selectedRows)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 int getRowCount()
           
 Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void setData(Object[][] data)
           
 void setNumRows(int rowCount)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueParamTableModel

public GlueParamTableModel()

GlueParamTableModel

public GlueParamTableModel(Object[] columnNames)

GlueParamTableModel

public GlueParamTableModel(Object[][] data,
                           Object[] columnNames)
Method Detail

setData

public void setData(Object[][] data)

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

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

getValueAt

public Object getValueAt(int row,
                         int col)

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

isCellEditable

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

setNumRows

public void setNumRows(int rowCount)

addNullRow

public void addNullRow()

deleteRows

public void deleteRows(int[] selectedRows)


Copyright © 2013–2017 POSCO ICT. All rights reserved.