public class WidthTableModel extends DefaultTableModel implements Internationalization
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
columnFixed |
protected Vector |
columnName |
protected String |
NAME_COLUMN |
protected ResourceBundle |
resources |
protected String |
SET_COLUMN |
protected String |
WIDTH_COLUMN |
protected Hashtable |
widths |
columnIdentifiers, dataVectorlistenerListDEBUG_LANGUAGE| Constructor and Description |
|---|
WidthTableModel(ResourceBundle res) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated.
|
Object |
getValueAt(int row,
int col) |
Hashtable |
getWidthColumn() |
boolean |
isCellEditable(int row,
int col) |
void |
setColumnWidth(Hashtable h,
Hashtable hF) |
void |
setComponentLocale(Locale l) |
void |
setResourceBundle(ResourceBundle resources)
Sets the language resource bundle.
|
void |
setValueAt(Object value,
int row,
int col) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCountaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprotected String NAME_COLUMN
protected String WIDTH_COLUMN
protected String SET_COLUMN
protected Hashtable widths
protected Vector columnName
protected ResourceBundle resources
protected Vector columnFixed
public WidthTableModel(ResourceBundle res)
public Hashtable getWidthColumn()
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class DefaultTableModelpublic Class getColumnClass(int column)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic int getColumnCount()
getColumnCount in interface TableModelgetColumnCount in class DefaultTableModelpublic int getRowCount()
getRowCount in interface TableModelgetRowCount in class DefaultTableModelpublic Object getValueAt(int row, int col)
getValueAt in interface TableModelgetValueAt in class DefaultTableModelpublic void setValueAt(Object value, int row, int col)
setValueAt in interface TableModelsetValueAt in class DefaultTableModelpublic boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class DefaultTableModelpublic void setComponentLocale(Locale l)
setComponentLocale in interface Internationalizationpublic void setResourceBundle(ResourceBundle resources)
InternationalizationsetResourceBundle in interface Internationalizationresources - the new language bundle.public Vector getTextsToTranslate()
InternationalizationgetTextsToTranslate in interface InternationalizationCopyright © 2016 Imatia Innovation S.L.. All rights reserved.