java.lang.Object
io.github.palexdev.materialfx.beans.PositionBean
- Direct Known Subclasses:
TransitionPositionBean
Simple bean that keeps track of two coordinates, x and y.
Both are JavaFX properties to allow dynamic uses.
-
Property Summary
PropertiesTypePropertyDescriptionThe x coordinate property.The y coordinate property -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetX()Gets the value of the property x.doublegetY()Gets the value of the property y.inthashCode()static PositionBeanof(double x, double y) voidsetX(double xPosition) Sets the value of the property x.voidsetY(double yPosition) Sets the value of the property y.toString()The x coordinate property.The y coordinate property
-
Property Details
-
x
The x coordinate property.- See Also:
-
y
The y coordinate property- See Also:
-
-
Constructor Details
-
PositionBean
public PositionBean() -
PositionBean
public PositionBean(double x, double y)
-
-
Method Details
-
of
-
equals
-
hashCode
public int hashCode() -
toString
-
getX
public double getX()Gets the value of the property x.- Property description:
- The x coordinate property.
-
xProperty
The x coordinate property.- See Also:
-
setX
public void setX(double xPosition) Sets the value of the property x.- Property description:
- The x coordinate property.
-
getY
public double getY()Gets the value of the property y.- Property description:
- The y coordinate property
-
yProperty
The y coordinate property- See Also:
-
setY
public void setY(double yPosition) Sets the value of the property y.- Property description:
- The y coordinate property
-