protected class MapPaintDialog.StylesModel extends AbstractTableModel implements MapPaintStyles.MapPaintSylesUpdateListener
Modifier and Type | Field and Description |
---|---|
(package private) Class<?>[] |
columnClasses |
(package private) List<StyleSource> |
data |
listenerList
Constructor and Description |
---|
StylesModel() |
Modifier and Type | Method and Description |
---|---|
void |
ensureSelectedIsVisible()
Make sure the first of the selected entry is visible in the
views of this model.
|
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
private StyleSource |
getRow(int i) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int row,
int column) |
void |
mapPaintStyleEntryUpdated(int idx) |
void |
mapPaintStylesUpdated()
MapPaintSylesUpdateListener interface
|
void |
setValueAt(Object aValue,
int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
List<StyleSource> data
Class<?>[] columnClasses
public StylesModel()
private StyleSource getRow(int i)
public int getColumnCount()
getColumnCount
in interface TableModel
public int getRowCount()
getRowCount
in interface TableModel
public Object getValueAt(int row, int column)
getValueAt
in interface TableModel
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public Class<?> getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public void setValueAt(Object aValue, int row, int column)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public void ensureSelectedIsVisible()
public void mapPaintStylesUpdated()
mapPaintStylesUpdated
in interface MapPaintStyles.MapPaintSylesUpdateListener
public void mapPaintStyleEntryUpdated(int idx)
mapPaintStyleEntryUpdated
in interface MapPaintStyles.MapPaintSylesUpdateListener