TabStop (JavaFX 27)
Description: declaration: module: javafx.graphics, package: javafx.scene.text, class: TabStop

# Class TabStop

java.lang.Object
javafx.scene.text.TabStop

public final class TabStop extends Object
This class encapsulates an immutable single tab stop within the `TabStopPolicy`.

Since:
  25

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TabStop(double position)`
  Constructs a new tab stop with the specified position.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final double`
  `getPosition()`
  Returns the position, in pixels, of the tab.

  ### Methods declared in class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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