|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.devaki.nextobjects.ui.workspace.models.LicenseEdit.ObjectLicenseTableModel
This class define a model to edit the object columns
Field Summary |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
LicenseEdit.ObjectLicenseTableModel()
|
Method Summary | |
void |
addLicense(org.apache.maven.project.License pDependency)
Add a dependency |
java.lang.Class |
getColumnClass(int i)
Return the class of the column at the specified index |
int |
getColumnCount()
Return the number of columns |
java.lang.String |
getColumnName(int i)
Return the name of the column at the specified index |
int |
getColumnSize(int i)
Return the size of the column at the specified index |
java.util.Vector |
getLicenses()
Return the data contained in the JTable |
int |
getRowCount()
Return the number of lines |
java.lang.Object |
getValueAt(int row,
int col)
Return the value at the specified row and column |
void |
insertLicense(org.apache.maven.project.License pLicense,
int i)
Add a field at a particular index |
boolean |
isCellEditable(int row,
int col)
Return that every cell is editable |
void |
removeField(int i)
Remove a field at a particular index |
void |
resetLicenses()
Reset the TableModel to its old values |
void |
setLicenses(java.util.Vector pData)
Set data in the JTable |
void |
setValueAt(java.lang.Object value,
int row,
int col)
Set the specified value at the specified row and column |
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 |
Constructor Detail |
public LicenseEdit.ObjectLicenseTableModel()
Method Detail |
public final java.util.Vector getLicenses()
public final void resetLicenses()
public final void setLicenses(java.util.Vector pData)
pData
- the columnspublic final void addLicense(org.apache.maven.project.License pDependency)
pDependency
- the columnpublic final void insertLicense(org.apache.maven.project.License pLicense, int i)
pLicense
- the columni
- indexpublic final void removeField(int i)
i
- indexpublic final int getColumnCount()
public final int getRowCount()
public final java.lang.String getColumnName(int i)
i
- index
public final java.lang.Class getColumnClass(int i)
i
- index
public final int getColumnSize(int i)
i
- index
public final java.lang.Object getValueAt(int row, int col)
row
- row indexcol
- column index
public final void setValueAt(java.lang.Object value, int row, int col)
value
- valuerow
- row indexcol
- column indexpublic final boolean isCellEditable(int row, int col)
row
- row indexcol
- column index
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |