|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdluploadclient.FileListTableModel
public class FileListTableModel
Modèle de la table des fichiers
Copyright 2008, Maurer Gilles
This file is part of Client dl.free.fr.
Client dl.free.fr is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Client dl.free.fr is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Client dl.free.fr. If not, see
Constructor Summary | |
---|---|
FileListTableModel(Vector<String> columnNames,
Vector<UploadFile> data)
Constructeur par défaut |
Method Summary | |
---|---|
void |
addTableModelListener(TableModelListener l)
|
Class<?> |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
|
String |
getColumnName(int columnIndex)
|
int |
getRowCount()
|
Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
void |
removeAt(int index)
Permet de supprimer l'élément à l'index index |
void |
removeTableModelListener(TableModelListener l)
|
void |
setValueAt(Object value,
int rowIndex,
int columnIndex)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileListTableModel(Vector<String> columnNames, Vector<UploadFile> data)
columnNames
- Nom des différentes colonnes du tableaudata
- Tableau des fichiers dans le tableauMethod Detail |
---|
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
public int getRowCount()
getRowCount
in interface TableModel
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
public void addTableModelListener(TableModelListener l)
addTableModelListener
in interface TableModel
public void removeTableModelListener(TableModelListener l)
removeTableModelListener
in interface TableModel
public void setValueAt(Object value, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
public void removeAt(int index)
index
- Index de l'élément à supprimer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |