Uses of Class
io.github.tonywasher.joceanus.oceanus.decimal.OceanusUnits
Packages that use OceanusUnits
Package
Description
Package that provides a Decimal implementation in many ways similar to that provided by
BigDecimal, except that the class is mutable, allowing for much faster arithmetic.
Handles mapping to/from database.
Service definition for SpreadSheet PlugIns.
Prometheus sheets is a package that simply maps data-types to and from backup spreadsheets.
Field API classes.
Tethys Table Manager API.
Field core classes.
-
Uses of OceanusUnits in io.github.tonywasher.joceanus.oceanus.decimal
Methods in io.github.tonywasher.joceanus.oceanus.decimal that return OceanusUnitsModifier and TypeMethodDescriptionOceanusDecimalParser.createUnitsFromDouble(Double pValue) create Units from double.static OceanusUnitsOceanusUnits.getWholeUnits(long pValue) Construct a new Units by setting the value explicitly.OceanusDecimalParser.parseUnitsValue(String pValue) Parse Units value.Methods in io.github.tonywasher.joceanus.oceanus.decimal with parameters of type OceanusUnitsModifier and TypeMethodDescriptionvoidOceanusUnits.addUnits(OceanusUnits pValue) Add units to the value.OceanusDecimalFormatter.formatUnits(OceanusUnits pUnits) Format Units value.voidOceanusUnits.subtractUnits(OceanusUnits pValue) Subtract units from the value.OceanusPrice.unitsAtPrice(OceanusUnits pUnits) calculate the value of specified units at this price.OceanusMoney.valueAtWeight(OceanusUnits pWeight, OceanusUnits pTotal) calculate the value of this money at a given proportion (i.e. weight/total).Constructors in io.github.tonywasher.joceanus.oceanus.decimal with parameters of type OceanusUnitsModifierConstructorDescriptionOceanusUnits(OceanusUnits pUnits) Construct a new Units by copying another units. -
Uses of OceanusUnits in io.github.tonywasher.joceanus.prometheus.database
Methods in io.github.tonywasher.joceanus.prometheus.database that return OceanusUnitsModifier and TypeMethodDescriptionPrometheusTableDefinition.getUnitsValue(MetisDataItem.MetisDataFieldId pId, OceanusDataFormatter pFormatter) Get Units value for column.PrometheusColumnDefinition.PrometheusUnitsColumn.getValue(OceanusDataFormatter pFormatter) Obtain the value.Methods in io.github.tonywasher.joceanus.prometheus.database with parameters of type OceanusUnitsModifier and TypeMethodDescription(package private) voidPrometheusColumnDefinition.PrometheusUnitsColumn.setValue(OceanusUnits pValue) Set the value. -
Uses of OceanusUnits in io.github.tonywasher.joceanus.prometheus.service.sheet
Methods in io.github.tonywasher.joceanus.prometheus.service.sheet that return OceanusUnitsModifier and TypeMethodDescriptionabstract OceanusUnitsPrometheusSheetCell.getUnits()Obtain units value of the cell. -
Uses of OceanusUnits in io.github.tonywasher.joceanus.prometheus.sheets
Methods in io.github.tonywasher.joceanus.prometheus.sheets that return OceanusUnitsModifier and TypeMethodDescriptionprotected OceanusUnitsPrometheusSheetDataItem.loadUnits(int pOffset) Access a units value from the WorkSheet. -
Uses of OceanusUnits in io.github.tonywasher.joceanus.tethys.api.field
Methods in io.github.tonywasher.joceanus.tethys.api.field that return OceanusUnitsModifier and TypeMethodDescriptiondefault OceanusUnitsTethysUIDataEditField.TethysUIUnitsEditField.getCastValue(Object pValue) -
Uses of OceanusUnits in io.github.tonywasher.joceanus.tethys.api.table
Method parameters in io.github.tonywasher.joceanus.tethys.api.table with type arguments of type OceanusUnitsModifier and TypeMethodDescriptionTethysUITableColumn.TethysUITableUnitsColumn.setValidator(BiFunction<OceanusUnits, R, String> pValidator) -
Uses of OceanusUnits in io.github.tonywasher.joceanus.tethys.core.field
Methods in io.github.tonywasher.joceanus.tethys.core.field that return OceanusUnitsModifier and TypeMethodDescriptionTethysUICoreDataEditConverter.TethysUICoreUnitsEditConverter.parseEditedValue(String pValue) Methods in io.github.tonywasher.joceanus.tethys.core.field with parameters of type OceanusUnitsModifier and TypeMethodDescriptionTethysUICoreDataEditConverter.TethysUICoreUnitsEditConverter.formatDisplayValue(OceanusUnits pValue)