Class UnitVectorProperty3dfx
- java.lang.Object
-
- javafx.beans.binding.ObjectExpression<T>
-
- javafx.beans.property.ReadOnlyObjectProperty<T>
-
- javafx.beans.property.ObjectProperty<T>
-
- javafx.beans.property.ObjectPropertyBase<T>
-
- javafx.beans.property.SimpleObjectProperty<Vector3dfx>
-
- org.arakhne.afc.math.geometry.d3.dfx.UnitVectorProperty3dfx
-
- All Implemented Interfaces:
javafx.beans.Observable
,javafx.beans.property.Property<Vector3dfx>
,javafx.beans.property.ReadOnlyProperty<Vector3dfx>
,javafx.beans.value.ObservableObjectValue<Vector3dfx>
,javafx.beans.value.ObservableValue<Vector3dfx>
,javafx.beans.value.WritableObjectValue<Vector3dfx>
,javafx.beans.value.WritableValue<Vector3dfx>
- Direct Known Subclasses:
ReadOnlyUnitVectorWrapper
public class UnitVectorProperty3dfx extends javafx.beans.property.SimpleObjectProperty<Vector3dfx>
A JavaFX property that is representing a unit vector.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:49
- Author:
- Stéphane GALLAND, Thomas PIOTROWSKI
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- mathfx
-
-
Constructor Summary
Constructors Constructor Description UnitVectorProperty3dfx(Object bean, String name, GeomFactory3dfx factory)
Construct a property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3dfx
get()
GeomFactory3dfx
getGeomFactory()
Replies the geometry factory associated to this property.double
getX()
Replies the x coordinate of the vector.double
getY()
Replies the y coordinate of the vector.double
getZ()
Replies the z coordinate of the vector.void
set(double x, double y, double z)
Change the coordinates of the vector.void
set(Vector3dfx newValue)
javafx.beans.property.ReadOnlyDoubleProperty
xProperty()
Replies the x property.javafx.beans.property.ReadOnlyDoubleProperty
yProperty()
Replies the y property.javafx.beans.property.ReadOnlyDoubleProperty
zProperty()
Replies the z property.-
Methods inherited from class javafx.beans.property.ObjectPropertyBase
addListener, addListener, bind, fireValueChangedEvent, invalidated, isBound, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.property.ObjectProperty
bindBidirectional, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.binding.ObjectExpression
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
-
-
-
-
Constructor Detail
-
UnitVectorProperty3dfx
public UnitVectorProperty3dfx(Object bean, String name, GeomFactory3dfx factory)
Construct a property.- Parameters:
bean
- the owner of the property.name
- the name of the property.factory
- the factory to use.
-
-
Method Detail
-
getGeomFactory
public GeomFactory3dfx getGeomFactory()
Replies the geometry factory associated to this property.- Returns:
- the geometry factory.
-
get
public Vector3dfx get()
- Specified by:
get
in interfacejavafx.beans.value.ObservableObjectValue<Vector3dfx>
- Specified by:
get
in interfacejavafx.beans.value.WritableObjectValue<Vector3dfx>
- Overrides:
get
in classjavafx.beans.property.ObjectPropertyBase<Vector3dfx>
-
set
public void set(Vector3dfx newValue)
- Specified by:
set
in interfacejavafx.beans.value.WritableObjectValue<Vector3dfx>
- Overrides:
set
in classjavafx.beans.property.ObjectPropertyBase<Vector3dfx>
-
set
public void set(double x, double y, double z)
Change the coordinates of the vector.- Parameters:
x
- x coordinate of the vector.y
- y coordinate of the vector.z
- z coordinate of the vector.
-
getX
public double getX()
Replies the x coordinate of the vector.- Returns:
- the x coordinate of the vector.
-
getY
public double getY()
Replies the y coordinate of the vector.- Returns:
- the y coordinate of the vector.
-
getZ
public double getZ()
Replies the z coordinate of the vector.- Returns:
- the z coordinate of the vector.
-
xProperty
@Pure public javafx.beans.property.ReadOnlyDoubleProperty xProperty()
Replies the x property.- Returns:
- the x property.
-
yProperty
@Pure public javafx.beans.property.ReadOnlyDoubleProperty yProperty()
Replies the y property.- Returns:
- the y property.
-
zProperty
@Pure public javafx.beans.property.ReadOnlyDoubleProperty zProperty()
Replies the z property.- Returns:
- the z property.
-
-