|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.panel.ProcessModel
public class ProcessModel
Class implementing a model of the process. This class is used by the process panel to generate a temporal text mining process.
Constructor Summary | |
---|---|
ProcessModel()
Constructor that initializes cocnfiguration of operations and creates new lists to hold process information. |
Method Summary | |
---|---|
void |
addOperation(int index)
Method to add an operation to the process. |
void |
addTableModelListener(javax.swing.event.TableModelListener arg0)
Method for adding a table model listener. |
java.lang.Class |
getColumnClass(int c)
Method returning the class type of a column. |
int |
getColumnCount()
Method returning the number of columns. |
java.lang.String |
getColumnName(int arg0)
Method returning name of column. |
OperationConfig |
getOpConfig()
|
Operation |
getOperation(int index)
Method returning a specific operation given by its index. |
java.util.ArrayList |
getPossibleOperations()
Method for retrieving the description of the possible operations. |
java.util.ArrayList |
getProcess()
Method for getting the chosen process. |
int |
getRowCount()
Method returning the number of rows. |
java.lang.Object |
getValueAt(int row,
int column)
Method returning the value of a cell. |
boolean |
isCellEditable(int row,
int column)
Method returning wether the cell is editable or not. |
void |
removeOperation(int index)
Method for removing an operation from the process given by its index. |
void |
removeTableModelListener(javax.swing.event.TableModelListener arg0)
Method for removing a table model listener. |
void |
setValueAt(java.lang.Object value,
int row,
int column)
Method setting the value of a cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessModel()
Method Detail |
---|
public OperationConfig getOpConfig()
public void addOperation(int index)
index
- The operation indexpublic Operation getOperation(int index)
index
- The index
public void removeOperation(int index)
index
- The operation indexpublic java.util.ArrayList getPossibleOperations()
public java.util.ArrayList getProcess()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int arg0)
getColumnName
in interface javax.swing.table.TableModel
public java.lang.Class getColumnClass(int c)
getColumnClass
in interface javax.swing.table.TableModel
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int row, int column)
getValueAt
in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object value, int row, int column)
setValueAt
in interface javax.swing.table.TableModel
public void addTableModelListener(javax.swing.event.TableModelListener arg0)
addTableModelListener
in interface javax.swing.table.TableModel
public void removeTableModelListener(javax.swing.event.TableModelListener arg0)
removeTableModelListener
in interface javax.swing.table.TableModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |