Index

A B C D F G I K L M N P Q R S T U V 
All Classes|All Packages

A

allowNegativesProperty() - Method in class com.dlsc.unitfx.NumberInputField
Boolean property that tells the control to allow introducing a negative number.
allowNegativesProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Boolean property that tells the control to allow introducing a negative quantity.
autoFixValueProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Boolean property used to automatically convert the QuantityInputControl.valueProperty() when the QuantityInputControl.unitProperty() is changed.

B

baseUnitProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
Represents the system base unit, which is the default one for the control.
bindBooleanToPseudoclass(Node, ObservableValue<Boolean>, PseudoClass) - Static method in class com.dlsc.unitfx.util.ControlsUtil
Binds a boolean property to a pseudo class.
bindBooleanToStyleClass(Node, ObservableValue<Boolean>, String) - Static method in class com.dlsc.unitfx.util.ControlsUtil
Binds a boolean property to a style class in the given node.

C

calculatePointOnCircle(Point2D, double, double) - Static method in class com.dlsc.unitfx.util.ControlsUtil
Calculates the x,y position of the given angle in relation with the circle represented by the middle point and radius.
CARDINAL_STEP - Static variable in interface com.dlsc.unitfx.util.Constants
 
CELSIUS - Static variable in class com.dlsc.unitfx.util.Units
 
CENTIMETRE - Static variable in class com.dlsc.unitfx.util.Units
 
com.dlsc.unitfx - module com.dlsc.unitfx
 
com.dlsc.unitfx - package com.dlsc.unitfx
 
com.dlsc.unitfx.skins - package com.dlsc.unitfx.skins
 
com.dlsc.unitfx.util - package com.dlsc.unitfx.util
 
computeMinHeight(double, double, double, double, double) - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
computeMinWidth(double, double, double, double, double) - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
computePrefHeight(double, double, double, double, double) - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
computePrefWidth(double, double, double, double, double) - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
Constants - Interface in com.dlsc.unitfx.util
 
ControlsUtil - Class in com.dlsc.unitfx.util
Utility methods for JavaFX controls.
convertNumberToText(Double) - Method in class com.dlsc.unitfx.DoubleInputField
 
convertNumberToText(Integer) - Method in class com.dlsc.unitfx.IntegerInputField
 
convertNumberToText(T) - Method in class com.dlsc.unitfx.NumberInputField
Converts the input number type object to string.
convertTextToNumber(String) - Method in class com.dlsc.unitfx.DoubleInputField
 
convertTextToNumber(String) - Method in class com.dlsc.unitfx.IntegerInputField
 
convertTextToNumber(String) - Method in class com.dlsc.unitfx.NumberInputField
Converts the text to the input field number type object.
createDefaultSkin() - Method in class com.dlsc.unitfx.CustomTextField
 
createDefaultSkin() - Method in class com.dlsc.unitfx.QuantityInputField
 
createQuantity(Number, Unit<Q>) - Static method in class com.dlsc.unitfx.util.QuantitiesUtil
Creates a new quantity instance using the given value and the given unit.
CustomTextField - Class in com.dlsc.unitfx
A custom text field that allows the application to set nodes on the left-hand and right-hand side of the field (e.g.
CustomTextField() - Constructor for class com.dlsc.unitfx.CustomTextField
 
CustomTextFieldSkin - Class in com.dlsc.unitfx.skins
 
CustomTextFieldSkin(TextField) - Constructor for class com.dlsc.unitfx.skins.CustomTextFieldSkin
 

D

DEGREE - Static variable in class com.dlsc.unitfx.util.Units
 
distance(double, double) - Static method in class com.dlsc.unitfx.util.ControlsUtil
Calculates the distance between two angles in degrees, the result is a number between 0 - 180.
DoubleInputField - Class in com.dlsc.unitfx
Concrete implementation of NumberInputField for collecting Double type numbers.
DoubleInputField() - Constructor for class com.dlsc.unitfx.DoubleInputField
 

F

FOOT - Static variable in class com.dlsc.unitfx.util.Units
 

G

getAvailableUnits() - Method in class com.dlsc.unitfx.QuantityInputControl
The list of available units supported within the control, this is the list of units the user has available to select from.
getBaseUnit() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property baseUnit.
getIndex(double, double) - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
getInstance() - Static method in class com.dlsc.unitfx.util.Units
 
getLeft() - Method in class com.dlsc.unitfx.CustomTextField
Gets the value of the property left.
getMaximumValue() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property maximumValue.
getMaximumValue() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property maximumValue.
getMinimumValue() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property minimumValue.
getMinimumValue() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property minimumValue.
getName() - Method in class com.dlsc.unitfx.util.Units
 
getNumberOfDecimals() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property numberOfDecimals.
getNumberOfDecimals() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property numberOfDecimals.
getNumberOfIntegers() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property numberOfIntegers.
getNumberOfIntegers() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property numberOfIntegers.
getPrecision() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property precision.
getPrecisionQuantity() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property precisionQuantity.
getPrecisionUnit() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property precisionUnit.
getRight() - Method in class com.dlsc.unitfx.CustomTextField
Gets the value of the property right.
getUnit() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property unit.
getUnits(Class<Q>) - Method in class com.dlsc.unitfx.util.Units
Allows to get the list of units registered for the given quantity type.
getUnitStringConverter() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property unitStringConverter.
getUserAgentStylesheet() - Method in class com.dlsc.unitfx.QuantityInputField
 
getValidator() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property validator.
getValue() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property value.
getValue() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property value.
getValueQuantity() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property valueQuantity.
getValueValidator() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property valueValidator.
GRAM - Static variable in class com.dlsc.unitfx.util.Units
 

I

INCH - Static variable in class com.dlsc.unitfx.util.Units
 
IntegerInputField - Class in com.dlsc.unitfx
Concrete implementation of NumberInputField for collecting Integer type numbers.
IntegerInputField() - Constructor for class com.dlsc.unitfx.IntegerInputField
 
invalidProperty() - Method in class com.dlsc.unitfx.NumberInputField
Property that indicates whether the value is valid after being validated by validator.
invalidProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Property that indicates when the value entered violates restrictions of minimum and maximum values.
isAllowNegatives() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property allowNegatives.
isAllowNegatives() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property allowNegatives.
isAutoFixValue() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property autoFixValue.
isInvalid() - Method in class com.dlsc.unitfx.NumberInputField
Gets the value of the property invalid.
isInvalid() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property invalid.
isReadOnly() - Method in class com.dlsc.unitfx.QuantityInputControl
Gets the value of the property readOnly.
isValueDirty() - Method in class com.dlsc.unitfx.QuantityInputField
Gets the value of the property valueDirty.

K

KELVIN - Static variable in class com.dlsc.unitfx.util.Units
 
KILOGRAM - Static variable in class com.dlsc.unitfx.util.Units
 
KILOMETRE - Static variable in class com.dlsc.unitfx.util.Units
 
KILOMETRE_PER_HOUR - Static variable in class com.dlsc.unitfx.util.Units
 
KNOT - Static variable in class com.dlsc.unitfx.util.Units
 

L

layoutChildren(double, double, double, double) - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
layoutChildren(double, double, double, double) - Method in class com.dlsc.unitfx.skins.QuantityInputFieldSkin
 
leftProperty() - Method in class com.dlsc.unitfx.CustomTextField
Stores the node shown on the left-hand side of the text field.
leftProperty() - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 

M

MAX_DEGREE - Static variable in interface com.dlsc.unitfx.util.Constants
 
maximumValueProperty() - Method in class com.dlsc.unitfx.NumberInputField
The maximum value that can be entered in this field.
maximumValueProperty() - Method in class com.dlsc.unitfx.QuantityInputField
The maximum value that can be entered in this field.
METRE - Static variable in class com.dlsc.unitfx.util.Units
 
METRE_PER_SECOND - Static variable in class com.dlsc.unitfx.util.Units
 
MILLIGRAM - Static variable in class com.dlsc.unitfx.util.Units
 
MILLIMETRE - Static variable in class com.dlsc.unitfx.util.Units
 
minimumValueProperty() - Method in class com.dlsc.unitfx.NumberInputField
The minimum value that can be entered in this field.
minimumValueProperty() - Method in class com.dlsc.unitfx.QuantityInputField
The minimum value that can be entered in this field.

N

NAUTICAL_MILE - Static variable in class com.dlsc.unitfx.util.Units
 
NumberInputField<T extends Number> - Class in com.dlsc.unitfx
Base control to number inputs, defines all base functionality to collect any object whose class is child of Number.
NumberInputField() - Constructor for class com.dlsc.unitfx.NumberInputField
Instances a new number input with with null value, no validator and allowing negatives.
numberOfDecimalsProperty() - Method in class com.dlsc.unitfx.NumberInputField
The maximum digits in the decimal part of the number.
numberOfDecimalsProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
The maximum digits in the decimal part of the number.
numberOfIntegersProperty() - Method in class com.dlsc.unitfx.NumberInputField
The maximum digits in the integer part of the number.
numberOfIntegersProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
The maximum digits in the integer part of the number.

P

precisionProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Integer used to truncate the value entered by the user and calculate the quantity.
precisionQuantityProperty() - Method in class com.dlsc.unitfx.QuantityInputField
precisionUnitProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Represents the system base unit, which is the default one for the control.

Q

QuantitiesUtil - Class in com.dlsc.unitfx.util
Utility class that allows to manipulate quantity objects.
QuantityInputControl<Q extends javax.measure.Quantity<Q>> - Class in com.dlsc.unitfx
Base class for any quantity input control that allows to enter Unit of Measurement quantity based on a JSR-363 specification.
QuantityInputControl() - Constructor for class com.dlsc.unitfx.QuantityInputControl
Instances a new input field with no available units, null value and no precision.
QuantityInputField<Q extends javax.measure.Quantity<Q>> - Class in com.dlsc.unitfx
Concrete implementation of QuantityInputControl that uses a NumberInputField to let users enter values.
QuantityInputField() - Constructor for class com.dlsc.unitfx.QuantityInputField
Instances a new input field with no available units, null value and no precision.
QuantityInputFieldSkin<Q extends javax.measure.Quantity<Q>> - Class in com.dlsc.unitfx.skins
 
QuantityInputFieldSkin(QuantityInputField<Q>) - Constructor for class com.dlsc.unitfx.skins.QuantityInputFieldSkin
 

R

readOnlyProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
Boolean property used to restrict the edition in the control.
restoreValueProperty() - Method in class com.dlsc.unitfx.QuantityInputField
rightProperty() - Method in class com.dlsc.unitfx.CustomTextField
Stores the node shown on the right-hand side of the text field.
rightProperty() - Method in class com.dlsc.unitfx.skins.CustomTextFieldSkin
 
rotation(double, double) - Static method in class com.dlsc.unitfx.util.ControlsUtil
Calculates the rotation, which means the signed distance between two angles.
roundQuantity(Quantity<Q>, Quantity<Q>) - Static method in class com.dlsc.unitfx.util.QuantitiesUtil
Applies a rounding mechanism that returns the nearest value according to the precision.

S

setAllowNegatives(boolean) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property allowNegatives.
setAllowNegatives(boolean) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property allowNegatives.
setAutoFixValue(boolean) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property autoFixValue.
setBaseUnit(Unit<Q>) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property baseUnit.
setLeft(Node) - Method in class com.dlsc.unitfx.CustomTextField
Sets the value of the property left.
setMaximumValue(Double) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property maximumValue.
setMaximumValue(T) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property maximumValue.
setMinimumValue(Double) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property minimumValue.
setMinimumValue(T) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property minimumValue.
setNumberOfDecimals(int) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property numberOfDecimals.
setNumberOfDecimals(int) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property numberOfDecimals.
setNumberOfIntegers(int) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property numberOfIntegers.
setNumberOfIntegers(int) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property numberOfIntegers.
setPrecision(Double) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property precision.
setPrecisionUnit(Unit<Q>) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property precisionUnit.
setReadOnly(boolean) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property readOnly.
setRight(Node) - Method in class com.dlsc.unitfx.CustomTextField
Sets the value of the property right.
setUnit(Unit<Q>) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property unit.
setUnitStringConverter(StringConverter<Unit<Q>>) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property unitStringConverter.
setValidator(Predicate<T>) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property validator.
setValue(Double) - Method in class com.dlsc.unitfx.QuantityInputControl
Sets the value of the property value.
setValue(T) - Method in class com.dlsc.unitfx.NumberInputField
Sets the value of the property value.
setValueValidator(Predicate<Double>) - Method in class com.dlsc.unitfx.QuantityInputField
Sets the value of the property valueValidator.

T

truncateQuantity(Quantity<Q>, Quantity<Q>) - Static method in class com.dlsc.unitfx.util.QuantitiesUtil
Truncates the given quantity value to the given precision, meaning that the value is floor rounded always.

U

unitProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
The selected type for the quantity value.
Units - Class in com.dlsc.unitfx.util
Customized system of units that incorporates all available units in all dimensions supported by the QuantityInputField.
unitStringConverterProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
String converter that allows customization of unit label on the skin.

V

validatorProperty() - Method in class com.dlsc.unitfx.NumberInputField
Stores a validator object for the value converted from text entered.
valueDirtyProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Boolean property that indicates when the value and the valueQuantity are different because after a precision was applied.
valueProperty() - Method in class com.dlsc.unitfx.NumberInputField
The number value representation of the text written.
valueProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
Represents the quantitative amount in the specific unit.
valueQuantityProperty() - Method in class com.dlsc.unitfx.QuantityInputControl
Represents the quantity which is the combination of QuantityInputControl.valueProperty() and QuantityInputControl.unitProperty().
valueValidatorProperty() - Method in class com.dlsc.unitfx.QuantityInputField
Stores a validator object for the value converted from text entered.
A B C D F G I K L M N P Q R S T U V 
All Classes|All Packages