|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
gui.models.InfoRepresentationModel
public class InfoRepresentationModel
Modèle contenant les informations sur une représentation. Les infos listées sont :
AbstractTableModel,
JTable,
Serialized Form| Constructor Summary | |
|---|---|
InfoRepresentationModel(Piece p,
Representation r)
Consruit un modèle avec les informations associées à un représentation. |
|
| Method Summary | |
|---|---|
int |
getColumnCount()
Renvoie le nombre de colonnes. |
java.lang.String |
getColumnName(int col)
Renvoie le nom de la colonne d'indice col |
int |
getRowCount()
Renvoie le nombre de colonnes. |
java.lang.Object |
getValueAt(int parm1,
int parm2)
renvoie la valeur de la cellule. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InfoRepresentationModel(Piece p,
Representation r)
p - La piece associé à cette lister - La représentation dont on veut lister les informations| Method Detail |
|---|
public int getColumnCount()
public java.lang.Object getValueAt(int parm1,
int parm2)
parm1 - l'indice de ligneparm2 - l'indice de la colonnepublic int getRowCount()
public java.lang.String getColumnName(int col)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcol - L'indice de la colonne
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||