Module MaterialFX

Class MFXSliderSkin.TickData

java.lang.Object
io.github.palexdev.materialfx.skins.MFXSliderSkin.TickData
Enclosing class:
MFXSliderSkin

protected static class MFXSliderSkin.TickData extends Object
Support class to the MFXSliderSkin.LayoutData class, simple bean which contains info about the slider's major ticks such as: the tick Node, the value represented by the tick and its x position.
  • Constructor Details

    • TickData

      protected TickData()
  • Method Details

    • getTick

      public Node getTick()
      Returns:
      the tick Node
    • getTickVal

      public double getTickVal()
      Returns:
      the value represented by the tick
    • getX

      public double getX()
      Returns:
      the tick's x position
    • halfTickHeight

      public double halfTickHeight()
      Returns:
      half the tick's height
    • halfTickWidth

      public double halfTickWidth()
      Returns:
      half the tick's width