public class SpeciesAbleBatchRowHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SpeciesAbleBatchRowHelper.ShowSpeciesDecoratorPopupListener |
protected static class |
SpeciesAbleBatchRowHelper.SpeciesDecoratorListener<R extends Serializable,T extends org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<R>> |
| Modifier and Type | Field and Description |
|---|---|
static String |
SPECIES_DECORATOR |
static String |
SPECIES_DECORATOR_INDEX |
| Constructor and Description |
|---|
SpeciesAbleBatchRowHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <F extends SpeciesAbleBatchFrequency> |
getFrequenciesTotalWeight(Collection<F> frequency)
Calcule le poids total des mensurations.
|
static <E extends SpeciesAbleBatch> |
getIndexToInsert(List<E> rows,
E newRow,
SpeciesSortMode sortMode,
SpeciesBatchDecorator decorator) |
static org.jdesktop.swingx.table.TableColumnExt |
getSpeciesColumn(org.jdesktop.swingx.JXTable table) |
static TuttiDecorator<Species> |
getSpeciesColumnDecorator(org.jdesktop.swingx.table.TableColumnExt tableColumn) |
static <R extends Serializable,T extends org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<R>> |
installSpeciesColumnComparatorPopup(org.jdesktop.swingx.JXTable table,
org.jdesktop.swingx.table.TableColumnExt speciesColumn,
SpeciesSortableRowModel optionalModel,
String... tips) |
static <R extends SpeciesAbleBatch> |
sortSpeciesRows(SpeciesBatchDecoratorComparator comparator,
SpeciesBatchDecorator decorator,
List<R> rows,
SpeciesSortMode speciesSortMode) |
public static final String SPECIES_DECORATOR
public static final String SPECIES_DECORATOR_INDEX
public static <E extends SpeciesAbleBatch> int getIndexToInsert(List<E> rows, E newRow, SpeciesSortMode sortMode, SpeciesBatchDecorator decorator)
public static TuttiDecorator<Species> getSpeciesColumnDecorator(org.jdesktop.swingx.table.TableColumnExt tableColumn)
public static <R extends Serializable,T extends org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<R>> void installSpeciesColumnComparatorPopup(org.jdesktop.swingx.JXTable table, org.jdesktop.swingx.table.TableColumnExt speciesColumn, SpeciesSortableRowModel optionalModel, String... tips)
public static <R extends SpeciesAbleBatch> void sortSpeciesRows(SpeciesBatchDecoratorComparator comparator, SpeciesBatchDecorator decorator, List<R> rows, SpeciesSortMode speciesSortMode)
public static org.jdesktop.swingx.table.TableColumnExt getSpeciesColumn(org.jdesktop.swingx.JXTable table)
public static <F extends SpeciesAbleBatchFrequency> Float getFrequenciesTotalWeight(Collection<F> frequency)
null, idem si l'une des mensurations n'a pas de poids.Copyright © 2012–2015 Ifremer. All rights reserved.