public class SpeciesFrequencyTableModel extends org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>
| Modifier and Type | Field and Description |
|---|---|
static org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> |
LENGTH_STEP |
static org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> |
NUMBER |
protected PropertyChangeListener |
onLengthStepChangedListener |
protected PropertyChangeListener |
onNumberChangedListener |
protected PropertyChangeListener |
onWeightChangedListener |
protected org.jfree.data.xy.XYSeries |
series |
static org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> |
WEIGHT |
protected WeightUnit |
weightUnit
Weight unit.
|
createEmptyRowIsEmpty, createNewRow, identifiers, noneEditableCols, rowslistenerList| Constructor and Description |
|---|
SpeciesFrequencyTableModel(WeightUnit weightUnit,
org.jdesktop.swingx.table.TableColumnModelExt columnModel,
SpeciesFrequencyUIModel uiModel) |
| Modifier and Type | Method and Description |
|---|---|
SpeciesFrequencyRowModel |
createNewRow() |
SpeciesFrequencyRowModel |
createNewRow(boolean attachListeners) |
void |
decrementNumberForLengthStep(Float lengthStep) |
protected void |
onBeforeRowsChanged(List<SpeciesFrequencyRowModel> oldRows) |
protected void |
onRowAdded(int rowIndex,
SpeciesFrequencyRowModel row) |
protected void |
onRowRemoved(int rowIndex,
SpeciesFrequencyRowModel row) |
protected void |
onRowsChanged(List<SpeciesFrequencyRowModel> newRows) |
protected void |
onRowUpdated(int rowIndex,
SpeciesFrequencyRowModel row) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex,
org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> propertyName,
SpeciesFrequencyRowModel entry) |
addNewRow, addNewRow, addNewRow, collectShell, fireTableCellUpdated, fireTableRowsInserted, fireTableRowUpdatedShell, getCell, getColumnCount, getColumnIndex, getColumnName, getEntry, getIdentifier, getRowCount, getRowIndex, getRows, getValueAt, isCellEditable, isCellEditable, isCreateEmptyRowIsEmpty, isCreateNewRow, isFirstRow, isLastRow, moveDown, moveUp, removeRow, setNoneEditableCols, setRows, setValueAt, updateRowaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerpublic static final org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> LENGTH_STEP
public static final org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> NUMBER
public static final org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> WEIGHT
protected final WeightUnit weightUnit
protected transient PropertyChangeListener onLengthStepChangedListener
protected transient PropertyChangeListener onWeightChangedListener
protected transient PropertyChangeListener onNumberChangedListener
protected final org.jfree.data.xy.XYSeries series
public SpeciesFrequencyTableModel(WeightUnit weightUnit, org.jdesktop.swingx.table.TableColumnModelExt columnModel, SpeciesFrequencyUIModel uiModel)
public SpeciesFrequencyRowModel createNewRow()
createNewRow in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>public SpeciesFrequencyRowModel createNewRow(boolean attachListeners)
public void setValueAt(Object aValue, int rowIndex, int columnIndex, org.nuiton.jaxx.application.swing.table.ColumnIdentifier<SpeciesFrequencyRowModel> propertyName, SpeciesFrequencyRowModel entry)
setValueAt in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>protected void onRowAdded(int rowIndex,
SpeciesFrequencyRowModel row)
onRowAdded in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>protected void onRowUpdated(int rowIndex,
SpeciesFrequencyRowModel row)
onRowUpdated in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>protected void onRowRemoved(int rowIndex,
SpeciesFrequencyRowModel row)
onRowRemoved in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>protected void onBeforeRowsChanged(List<SpeciesFrequencyRowModel> oldRows)
onBeforeRowsChanged in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>protected void onRowsChanged(List<SpeciesFrequencyRowModel> newRows)
onRowsChanged in class org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<SpeciesFrequencyRowModel>public void decrementNumberForLengthStep(Float lengthStep)
Copyright © 2012–2015 Ifremer. All rights reserved.