Class TabStop
java.lang.Object
javafx.scene.text.TabStop
This class encapsulates an immutable single tab stop within the
TabStopPolicy
.- Since:
- 25
-
Constructor Summary
ConstructorsConstructorDescriptionTabStop
(double position) Constructs a new tab stop with the specified position. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
Returns the position, in pixels, of the tab.
-
Constructor Details
-
TabStop
public TabStop(double position) Constructs a new tab stop with the specified position.- Parameters:
position
- the position in pixels
-
-
Method Details
-
getPosition
public final double getPosition()Returns the position, in pixels, of the tab.- Returns:
- the position of the tab
-