|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
org.argouml.uml.ui.SourcePathTableModel
The table model for source path settings. This class contains functionality to load the source path settings from the model.
Field Summary | |
private static Logger |
LOG
Logger. |
(package private) static int |
MODEL_ELEMENT_COLUMN
Index of the column where model element objects are placed. |
(package private) static int |
NAME_COLUMN
Index of the column where the model element names are placed. |
(package private) static int |
SOURCE_PATH_COLUMN
Index of the column where the source paths for the model elements are placed. |
(package private) static int |
TYPE_COLUMN
Index of the column where the types of the model elements are placed. |
Fields inherited from class javax.swing.table.DefaultTableModel |
columnIdentifiers, dataVector |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
SourcePathTableModel(SourcePathController srcPathCtrl)
Creates a new instance of SourcePathTableModel. |
Method Summary | |
String |
getMEName(int rowIndex)
For the specified row, get the model element (ME) name. |
String |
getMESourcePath(int rowIndex)
For the specified row get the, get the source path. |
String |
getMEType(int rowIndex)
For the specified row, get the ME type. |
Object |
getModelElement(int rowIndex)
For the specified row, get the model element (ME). |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
The only editable cells are the ones in the source path column. |
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
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 |
Field Detail |
static final int MODEL_ELEMENT_COLUMN
static final int NAME_COLUMN
static final int TYPE_COLUMN
static final int SOURCE_PATH_COLUMN
private static final Logger LOG
Constructor Detail |
public SourcePathTableModel(SourcePathController srcPathCtrl)
Method Detail |
public boolean isCellEditable(int rowIndex, int columnIndex)
DefaultTableModel.isCellEditable(int, int)
public Object getModelElement(int rowIndex)
rowIndex
- the row index where the ME data is located
public String getMEName(int rowIndex)
rowIndex
- the row index where the ME data is located
public String getMEType(int rowIndex)
rowIndex
- the row index where the ME data is located
public String getMESourcePath(int rowIndex)
rowIndex
- the row index where the ME data is located
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |