Package | Description |
---|---|
fr.cnes.genius.highLevel |
Package containing classes for the highLevel GENIUS widgets.
|
fr.cnes.genius.interval |
Package containing classes used to define validity intervals for real numbers.
|
fr.cnes.genius.lowLevel |
Package containing the low level widgets.
|
fr.cnes.genius.main |
Package containing the core elements of the GENIUS library.
|
fr.cnes.genius.sqlite |
$Id: package-info.java 2191 2017-10-02 14:13:51Z jjct $
HISTORIQUE
VERSION:1.7:DM:DM-207:22/09/2017: Initial version of the sqlite storage system.
|
fr.cnes.genius.table |
Package containing the GTables classes.
|
fr.cnes.genius.unit |
Package containing classes used to define units and conversions.
|
Modifier and Type | Method and Description |
---|---|
GUnit |
GEntryReal.getCurrentUnit()
Return the currently selected unit.
|
protected GUnit |
GEntryRealVector.getUnitInConfig() |
protected GUnit |
GEntryVectorAbstract.getUnitInConfig()
Get the unit in configuration file.
|
GUnit[] |
GEntryReal.getUnitsArray()
Method to get the the units as an array or null if it has not units.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GEntryVectorAbstract.updateIntervalMessage(GUnit currentUnit,
GEnvironment.Format currentFormat)
Updates the interval message with units and format requested.
|
protected void |
GEntryNumberAbstract.updateIntervalMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Updates the interval message taking into account the current unit and message of the entry.
|
protected void |
GEntryVectorAbstract.updateStatus(GUnit currentUnit,
int fracDigits)
Update the status information of the vector, comparing the values against the intervals.
|
Constructor and Description |
---|
GEntryConstant(String label,
double initialValue,
GUnit[] units,
GConstantSelector constantSelector)
Constructor.
|
GEntryConstant(String label,
double initialValue,
GUnit[] units,
String buttonTitle,
String dialogTitle,
String[] labelList,
double[] valueList,
String unitString)
Constructor.
|
GEntryConstant(String widgetId,
String label,
double initialValue,
GUnit[] units,
GConstantSelector constantSelector)
Constructor.
|
GEntryConstant(String widgetId,
String label,
double initialValue,
GUnit[] units,
String buttonTitle,
String dialogTitle,
String[] labelList,
double[] valueList,
String unitString)
Constructor.
|
GEntryReal(String label,
double value,
GUnit[] units)
Constructor.
|
GEntryReal(String widgetId,
String label,
double memoryValue,
GUnit[] units)
Constructor.
|
GEntryRealVector(String name,
double[] valueArray,
GUnit[] unitArray)
Constructor.
|
GEntryRealVector(String name,
List<Double> valueList,
GUnit[] unitArray)
Constructor.
|
GEntryRealVector(String widgetId,
String name,
double[] valueArray,
GUnit[] unitArray)
Constructor.
|
GEntryRealVector(String widgetId,
String name,
List<Double> valueList,
GUnit[] unitArray)
Constructor.
|
GSliderRealWithLabel(String label,
String orientation,
double minVal,
double maxVal,
double initVal,
double spacing,
int fracDigits,
GUnit[] units)
Constructor.
|
GSliderRealWithLabel(String widgetId,
String label,
String orientation,
double minVal,
double maxVal,
double initVal,
double spacing,
int fracDigits,
GUnit[] units)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
GIntervalFormatDuration.update(GDateUtils.GDateFormat format,
GUnit unit)
Update the class attributes.
|
void |
GInterval.updateMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Update the interval message using the unit, and format provided.
|
void |
GIntervalEmptyString.updateMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Update the interval message using the unit, and format provided.
|
void |
GIntervalList.updateMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Update the interval message using the unit, and format provided.
|
abstract void |
GIntervalAbstract.updateMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Update the interval message using the unit, and format provided.
|
void |
GIntervalDate.updateMessage(GUnit currentUnit,
GIntervalFormatAbstract formatter)
Update the interval message using the unit, and format provided.
|
Constructor and Description |
---|
GIntervalFormatDuration(GDateUtils.GDateFormat format,
GUnit unit)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GUnit |
GDateField.getCurrentUnit()
Returns the current unit.
|
Modifier and Type | Method and Description |
---|---|
static String |
GDateField.formatDuration(double duration,
GDateUtils.GDateFormat format,
GUnit unit)
Format duration.
|
static String |
GDateField.formatDurationFrac(double duration,
GUnit unit)
Format duration.
|
static double |
GDateField.parseDuration(String stringDuration,
GUnit unit)
Parse duration.
|
static Double |
GDateField.parseDurationFrac(String stringDuration,
GUnit inputUnit)
Parse duration frac.
|
void |
GDateField.setCurrentUnit(GUnit durationUnit)
Set current unit.
|
void |
GDateField.setDefaultUnit(GUnit unit)
Set default unit.
|
void |
GTime.setUnit(GUnit durationUnit)
Setter for the duration unit.
|
Modifier and Type | Method and Description |
---|---|
GUnit |
GComponent.getGUnitInConfigFile()
Gets the GUnit to use to save the component in the configuration file.
|
Modifier and Type | Method and Description |
---|---|
void |
GComponent.setGUnitInConfigFile(GUnit unit)
Sets the GUnit to use to save the component in the configuration file.
|
Modifier and Type | Method and Description |
---|---|
GUnit |
ColumnInfo.getUnit() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
ResultReader.getColumnsWithUnit(String tableName,
ColumnInfo column,
GUnit unit)
Get the columns information converted to the given unit.
|
List<Object> |
ResultReader.getColumnsWithUnit(String tableName,
ColumnInfo column,
GUnit unit,
String sortColumnName)
Get the columns information converted to the given unit.
|
List<Object> |
ResultReader.getColumnsWithUnit(String tableName1,
String tableName2,
ColumnInfo column,
GUnit unit,
String sortColumn)
Get the columns information converted to the given unit joining the results of 2 tables simultaneously.
|
Object |
ResultReader.getRecord(String tableName,
ColumnInfo columnInfo,
GUnit unit,
int index)
Get the record corresponding to the index from the sql table.
|
List<Object[]> |
ResultReader.getXYColumnsWithUnit(String tableName,
ColumnInfo xColumn,
GUnit xUnit,
ColumnInfo yColumn,
GUnit yUnit)
Get the X and Y columns information converted to their given units.
|
Modifier and Type | Method and Description |
---|---|
GUnit |
GTableModel.getDataCurrentUnit()
Return the header current unit.
|
GUnit |
GTableModel.getDataUnitInConfigFile()
Get the unit of the data in the configuration file.
|
GUnit |
GTableModel.getHeaderCurrentUnit()
Return the header current unit.
|
GUnit |
GTableModel.getHeaderUnitInConfigFile()
Get the unit of the header in the configuration file.
|
Modifier and Type | Method and Description |
---|---|
void |
GTable.setColumnHeaderUnit(GUnit newUnit)
Set the unit of the column headers.
|
void |
GTable.setDataUnit(GUnit newUnit)
Set the unit of the table data.
|
void |
GTableModel.setDataUnit(GUnit newUnit)
Set the data unit.
|
void |
GTableModel.setDataUnitInConfigFile(GUnit newUnit)
Set the unit in the configuration file for the data.
|
void |
GTableModel.setHeaderUnit(GUnit newUnit)
Set the header unit.
|
void |
GTableModel.setHeaderUnitInConfigFile(GUnit newUnit)
Set the unit in the configuration file for the header.
|
void |
GTable.setRowHeaderUnit(GUnit newUnit)
Set the unit of the row headers.
|
Constructor and Description |
---|
GTable(double[][] data,
double[] absData,
double[] ordData,
GUnit rowHeaderUnit,
GUnit columnHeaderUnit,
GUnit dataUnit)
Constructor.
|
GTable(int numberOfRows,
int numberOfColums,
GUnit rowHeaderUnit,
GUnit columnHeaderUnit,
GUnit dataUnit)
Constructor.
|
GTable(String widgetId,
double[][] data,
double[] absData,
double[] ordData,
GUnit rowHeaderUnit,
GUnit columnHeaderUnit,
GUnit dataUnit)
Constructor.
|
GTable(String widgetId,
int numberOfRows,
int numberOfColums,
GUnit rowHeaderUnit,
GUnit columnHeaderUnit,
GUnit dataUnit,
Double rowHeaderDefaultValue,
Double columnHeaderDefaultValue,
Double dataDefaultValue)
Constructor.
|
GTable2D(double[] absData,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
double[] ordData,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
double[][] data,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(double[] absData,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
double[] ordData,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
double[][] data,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(double[] absData,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
double[] ordData,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
double[][] data,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
double[] absData,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
double[] ordData,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
double[][] data,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
double[] absData,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
double[] ordData,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
double[][] data,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
double[] absData,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
double[] ordData,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
double[][] data,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList)
Constructor.
|
GTable2D(String widgetId,
int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList,
Double rowHeaderDefaultValue,
Double columnHeaderDefaultValue,
Double dataDefaultValue)
Constructor.
|
GTable2D(String widgetId,
int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList,
Double rowHeaderDefaultValue,
Double columnHeaderDefaultValue,
Double dataDefaultValue)
Constructor.
|
GTable2D(String widgetId,
int numberOfRows,
int numberOfColums,
String rowHeaderTitle,
GUnit[] rowHeaderUnitList,
String columnHeaderTitle,
GUnit[] columnHeaderUnitList,
String dataTitle,
GUnit[] dataUnitList,
Double rowHeaderDefaultValue,
Double columnHeaderDefaultValue,
Double dataDefaultValue)
Constructor.
|
GTableModel(boolean isDataEditable,
int rowsNumber,
int columnsNumber,
GUnit headerUnit,
GUnit dataUnit,
double headerDefaultValue,
double dataDefaultValue)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
GMetricUnit
Cette classe gére la saisie et les conversions d'unités.
|
class |
GPercentUnit
Class in charge of managing the conversions between the "%" and the "‰".
|
class |
GTemperatureUnit
Class for the management of the temperature units.
|
Modifier and Type | Method and Description |
---|---|
GUnit |
GUnitList.get(int rank)
Get the unit at requested position.
|
GUnit[] |
GUnitList.getArray()
Get the list of units as an array.
|
GUnit |
GUnitList.getByName(String unitName)
Returns the unit, given its name, if it is contained in the units list.
|
GUnit |
GUnitList.getFirst()
Returns the first unit in the list or null if the list is empty.
|
static GUnit |
GUnitFactory.getGUnit(String unitName)
Get a GUnit object from the unit name.
|
static GUnit[] |
GUnitFactory.getGUnitArray(String... unitNameList)
Builds a GUnit array from the unit names.
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
GUnit.convertToUnit(BigDecimal value,
GUnit destUnit)
Converts the units of value to unit.
|
BigDecimal |
GPercentUnit.convertToUnit(BigDecimal value,
GUnit destUnit)
Converts the units of value to unit.
|
BigDecimal |
GMetricUnit.convertToUnit(BigDecimal value,
GUnit destUnit)
Converts the units of value to unit.
|
BigDecimal |
GTemperatureUnit.convertToUnit(BigDecimal value,
GUnit destUnit)
Converts the units of value to unit.
|
double |
GUnit.convertToUnit(double value,
GUnit destUnit)
Converts the units of value to unit.
|
double |
GPercentUnit.convertToUnit(double value,
GUnit destUnit)
Converts the units of value to unit.
|
double |
GMetricUnit.convertToUnit(double value,
GUnit destUnit)
Converts the units of value to unit.
|
double |
GTemperatureUnit.convertToUnit(double value,
GUnit destUnit)
Converts the units of value to unit.
|
boolean |
GUnit.isCompatible(GUnit unit)
Determines if unit is compatible with the GUnit object.
|
boolean |
GPercentUnit.isCompatible(GUnit unit)
Determines if unit is compatible with the GUnit object.
|
boolean |
GMetricUnit.isCompatible(GUnit unit)
Determines if unit is compatible with the GUnit object.
|
boolean |
GTemperatureUnit.isCompatible(GUnit unit)
Determines if unit is compatible with the GUnit object.
|
Constructor and Description |
---|
GUnitList(GUnit[] unitArray)
Default constructor.
|
Copyright © 2024. All rights reserved.