public class EnhancedSwingWorkerTableModel extends AbstractTableModel
EnhancedSwingWorker
,
Serialized FormModifier 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, removeTableModelListener
public 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 TableModel
getColumnClass
in class AbstractTableModel
public String getColumnName(int pIdx)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public boolean isCellEditable(int pRow, int pCol)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object pVal, int pRow, int pCol)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public void commit() throws BackingStoreException
BackingStoreException
public void rollback()
Copyright © 2023. All rights reserved.