Class FVSliderUI


public class FVSliderUI extends BasicSliderUI
Custom UI for a slider that dynamically adjusts the thumb height based on the size of the given JScrollPane and {JTable}. Note: This is used instead of a {link BasicScrollBarUI} instance because of the complexity of trying to adjust the thumb size of a JScrollBar that is not attached to a JScrollPane instance.
  • Constructor Details

  • Method Details

    • calculateThumbSize

      protected void calculateThumbSize()
      This is the method that the base class uses to determine thumb size. We override so it can be determined by the size of the table and the viewport.
      Overrides:
      calculateThumbSize in class BasicSliderUI