public class TableInteractionsModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
TableInteractionsModel(RegulatoryGraph graph,
List v_ok)
default constructor
|
TableInteractionsModel(RegulatoryNode no)
constructor with GsNodeRegulationData
|
Modifier and Type | Method and Description |
---|---|
List |
getActivesEdges(int row)
get the active(s) Edge(s) of the interaction at the row row.
|
Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
LogicalParameterList |
getInteractions()
get all interactions
|
LogicalParameter |
getParameter(int row) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
moveElementAt(int index,
int to) |
void |
removeInteractions(int row)
remove Interactions at index row
|
void |
removeInteractions(int[] selectedrows)
remove a selection of rows
|
void |
setActivesEdges(int row,
List edgeIndex)
Set the active Edge of an interaction
|
void |
setActivesEdges(int row,
List edgeIndex,
int value)
Set the active Edge of an interaction
|
void |
setNode(RegulatoryNode no)
set the current node
|
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public TableInteractionsModel(RegulatoryGraph graph, List v_ok)
graph
- v_ok
- public TableInteractionsModel(RegulatoryNode no)
no
- the currently selected nodepublic int getColumnCount()
TableModel.getColumnCount()
public int getRowCount()
TableModel.getRowCount()
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
TableModel.isCellEditable(int, int)
public Class getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
TableModel.getColumnClass(int)
public Object getValueAt(int rowIndex, int columnIndex)
TableModel.getValueAt(int, int)
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
TableModel.setValueAt(java.lang.Object, int, int)
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
TableModel.getColumnName(int)
public LogicalParameterList getInteractions()
public void removeInteractions(int row)
row
- the row of the interaction, which will be removedpublic void setNode(RegulatoryNode no)
no
- the current nodepublic List getActivesEdges(int row)
row
- public void setActivesEdges(int row, List edgeIndex)
row
- edgeIndex
- public void setActivesEdges(int row, List edgeIndex, int value)
row
- edgeIndex
- value
- public void removeInteractions(int[] selectedrows)
selectedrows
- public boolean moveElementAt(int index, int to)
index
- to
- public LogicalParameter getParameter(int row)
Copyright © 2005–2020. All rights reserved.