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