protected static class SourceEditor.IconPathTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
data |
private DefaultListSelectionModel |
selectionModel |
listenerList| Constructor and Description |
|---|
IconPathTableModel(DefaultListSelectionModel selectionModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(String path) |
int |
getColumnCount() |
List<String> |
getIconPaths() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeSelected() |
void |
setIconPaths(Collection<String> paths) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
protected void |
sort() |
void |
updatePath(int pos,
String path) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListenerprivate DefaultListSelectionModel selectionModel
public IconPathTableModel(DefaultListSelectionModel selectionModel)
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic void setIconPaths(Collection<String> paths)
public void updatePath(int pos, String path)
public void removeSelected()
protected void sort()
public List<String> getIconPaths()