public class EnhancedSwingWorkerTableModel extends AbstractTableModel
EnhancedSwingWorker,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
MULTITHREAD |
listenerList| Constructor and Description |
|---|
EnhancedSwingWorkerTableModel(Preferences pPrefs) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String pKey) |
void |
commit() |
Class<?> |
getColumnClass(int pIdx) |
int |
getColumnCount() |
String |
getColumnName(int pIdx) |
Map.Entry<Integer,Integer> |
getDelayRange(String pKey) |
int |
getRowCount() |
Object |
getValueAt(int pRow,
int pCol) |
boolean |
isCellEditable(int pRow,
int pCol) |
boolean |
isMultithreadEnabled(String pKey) |
void |
remove(String pKey) |
void |
rollback() |
void |
setDelayRange(String pKey,
Map.Entry<Integer,Integer> pRange)
Creates pref node if necessary.
|
void |
setMultithreadEnabled(String pKey,
boolean pMultithread)
Creates pref node if necessary.
|
void |
setValueAt(Object pVal,
int pRow,
int pCol)
If MIN/MAX is null, delay is infinite.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic static final String MULTITHREAD
public EnhancedSwingWorkerTableModel(Preferences pPrefs)
public void add(String pKey)
public void remove(String pKey)
NoSuchElementException - If pKey does not exist.public void setDelayRange(String pKey, Map.Entry<Integer,Integer> pRange)
public boolean isMultithreadEnabled(String pKey)
public void setMultithreadEnabled(String pKey, boolean pMultithread)
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int pRow, int pCol)
public Class<?> getColumnClass(int pIdx)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int pIdx)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic boolean isCellEditable(int pRow,
int pCol)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object pVal, int pRow, int pCol)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic void commit()
throws BackingStoreException
BackingStoreExceptionpublic void rollback()
Copyright © 2023. All rights reserved.