Class TLcdBasicRangeSliderUI

java.lang.Object
javax.swing.plaf.ComponentUI
com.luciad.gui.swing.TLcdBasicRangeSliderUI
Direct Known Subclasses:
TLcdAquaRangeSliderUI, TLcdMetalRangeSliderUI, TLcdMotifRangeSliderUI, TLcdNimbusRangeSliderUI, TLcdWindowsRangeSliderUI, TLcdWindowsXPRangeSliderUI

public abstract class TLcdBasicRangeSliderUI extends ComponentUI
TLcdBasicRangeSliderUI
  • Field Details Link icon

    • fSlider Link icon

      protected TLcdRangeSlider fSlider
    • fDarkShadowColor Link icon

      protected static Color fDarkShadowColor
    • fTickLength Link icon

      protected final int fTickLength
      See Also:
    • RANGE_MIN_DOWN Link icon

      protected static final int RANGE_MIN_DOWN
      See Also:
    • RANGE_MIN_DOWN_ADJUST_MAX Link icon

      protected static final int RANGE_MIN_DOWN_ADJUST_MAX
      See Also:
    • RANGE_MIN_UP Link icon

      protected static final int RANGE_MIN_UP
      See Also:
    • RANGE_MIN_UP_ADJUST_MAX Link icon

      protected static final int RANGE_MIN_UP_ADJUST_MAX
      See Also:
    • RANGE_MAX_DOWN Link icon

      protected static final int RANGE_MAX_DOWN
      See Also:
    • RANGE_MAX_DOWN_ADJUST_MIN Link icon

      protected static final int RANGE_MAX_DOWN_ADJUST_MIN
      See Also:
    • RANGE_MAX_UP Link icon

      protected static final int RANGE_MAX_UP
      See Also:
    • RANGE_MAX_UP_ADJUST_MIN Link icon

      protected static final int RANGE_MAX_UP_ADJUST_MIN
      See Also:
    • RANGE_LEFT Link icon

      protected static final int RANGE_LEFT
      See Also:
    • RANGE_RIGHT Link icon

      protected static final int RANGE_RIGHT
      See Also:
    • TRACK_TICK_SPACING Link icon

      protected static final int TRACK_TICK_SPACING
      See Also:
    • fFocus Link icon

      protected final FocusListener fFocus
    • fMouse Link icon

      protected final MouseListener fMouse
    • fTickRect Link icon

      protected Rectangle fTickRect
      The rectangle in which the ticks should be rendered.
    • fMinThumb Link icon

      protected Rectangle fMinThumb
      The rectangle in which the minimum value thumb is rendered.
    • fMaxThumb Link icon

      protected Rectangle fMaxThumb
      The rectangle in which the maximum value thumb is rendered.
    • fRangeRect Link icon

      protected Rectangle fRangeRect
      The rectangle in which the range between the minimum and maximum thumb is rendered.
    • fFocusRect Link icon

      protected Rectangle fFocusRect
    • fContentRect Link icon

      protected Rectangle fContentRect
    • fLabelRect Link icon

      protected Rectangle fLabelRect
    • fTrackRect Link icon

      protected Rectangle fTrackRect
    • fSliderRect Link icon

      protected Rectangle fSliderRect
    • fFocusInsets Link icon

      protected Insets fFocusInsets
    • fInsetCache Link icon

      protected Insets fInsetCache
    • fLeftSliderIcon Link icon

      protected Icon fLeftSliderIcon
    • fRightSliderIcon Link icon

      protected Icon fRightSliderIcon
    • fTopSliderIcon Link icon

      protected Icon fTopSliderIcon
    • fBottomSliderIcon Link icon

      protected Icon fBottomSliderIcon
    • fMotion Link icon

      protected final MouseMotionListener fMotion
    • fChange Link icon

      protected final ChangeListener fChange
    • fComponent Link icon

      protected final ComponentListener fComponent
    • fProperty Link icon

      protected final PropertyChangeListener fProperty
    • fMoveCursor Link icon

      protected boolean fMoveCursor
    • fDragMin Link icon

      protected boolean fDragMin
    • fDragMax Link icon

      protected boolean fDragMax
    • fDragRange Link icon

      protected boolean fDragRange
    • leftSpace Link icon

      protected int leftSpace
    • rightSpace Link icon

      protected int rightSpace
    • fTrackBuffer Link icon

      protected int fTrackBuffer
    • fShadowColor Link icon

      protected Color fShadowColor
    • fHighlightColor Link icon

      protected Color fHighlightColor
    • fFocusColor Link icon

      protected Color fFocusColor
  • Constructor Details Link icon

    • TLcdBasicRangeSliderUI Link icon

      public TLcdBasicRangeSliderUI()
  • Method Details Link icon

    • installUI Link icon

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • installDefaults Link icon

      protected void installDefaults(TLcdRangeSlider slider)
    • uninstallUI Link icon

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class ComponentUI
    • getFocusColor Link icon

      public Color getFocusColor()
    • getHighlightColor Link icon

      public Color getHighlightColor()
    • getShadowColor Link icon

      public Color getShadowColor()
    • getMinimumSize Link icon

      public Dimension getMinimumSize(JComponent c)
      Overrides:
      getMinimumSize in class ComponentUI
    • getPreferredSize Link icon

      public Dimension getPreferredSize(JComponent c)
      Overrides:
      getPreferredSize in class ComponentUI
    • recalculateIfInsetsChanged Link icon

      protected void recalculateIfInsetsChanged()
    • paintFocus Link icon

      public void paintFocus(Graphics g)
    • paintLabels Link icon

      public void paintLabels(Graphics g)
    • paintHorizontalLabel Link icon

      protected void paintHorizontalLabel(Graphics g, double value, Component label)
      Called for every label in the label table. Used to draw the labels for horizontal sliders. The graphics have been translated to labelRect.y already.
      See Also:
    • paintVerticalLabel Link icon

      protected void paintVerticalLabel(Graphics g, double value, Component label)
      Called for every label in the label table. Used to draw the labels for vertical sliders. The graphics have been translated to labelRect.x already.
      See Also:
    • installListeners Link icon

      protected void installListeners(TLcdRangeSlider s)
    • uninstallListeners Link icon

      protected void uninstallListeners(TLcdRangeSlider s)
    • calculateGeometry Link icon

      protected void calculateGeometry()
    • calculateLabelRect Link icon

      protected void calculateLabelRect()
    • calculateRangeRect Link icon

      protected void calculateRangeRect()
    • calculateFocusRect Link icon

      protected void calculateFocusRect()
      Calculates and sets the rectangle to paint the focus line.
    • calculateContentRect Link icon

      protected void calculateContentRect()
      Calculates and sets the content rectangle, i.e. the area in which the components elements can be rendered.
    • calculateThumbSize Link icon

      protected void calculateThumbSize()
    • calculateSliderRect Link icon

      protected void calculateSliderRect()
    • getThumbSize Link icon

      protected Dimension getThumbSize()
    • calculateThumbLocation Link icon

      protected void calculateThumbLocation()
    • calculateTrackBuffer Link icon

      protected void calculateTrackBuffer()
    • calculateTrackRect Link icon

      protected void calculateTrackRect()
    • calculateTickRect Link icon

      protected void calculateTickRect()
    • getTickLength Link icon

      protected int getTickLength()
    • getHeightOfTallestLabel Link icon

      protected int getHeightOfTallestLabel()
    • getWidthOfWidestLabel Link icon

      protected int getWidthOfWidestLabel()
    • getWidthOfHighValueLabel Link icon

      protected int getWidthOfHighValueLabel()
    • getHighestValueLabel Link icon

      protected Component getHighestValueLabel()
    • xPositionForValue Link icon

      protected int xPositionForValue(double value)
    • yPositionForValue Link icon

      protected int yPositionForValue(double value)
    • installKeyboardActions Link icon

      protected void installKeyboardActions(TLcdRangeSlider slider)
    • uninstallKeyboardActions Link icon

      protected void uninstallKeyboardActions(TLcdRangeSlider slider)
    • paint Link icon

      public void paint(Graphics g, JComponent c)
      Overrides:
      paint in class ComponentUI
    • paintTrack Link icon

      protected void paintTrack(Graphics g)
    • paintTicks Link icon

      protected void paintTicks(Graphics g)
    • paintMinorTickForHorizSlider Link icon

      protected void paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
    • paintMajorTickForHorizSlider Link icon

      protected void paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
    • paintMinorTickForVertSlider Link icon

      protected void paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
    • paintMajorTickForVertSlider Link icon

      protected void paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
    • paintRange Link icon

      protected abstract void paintRange(Graphics g)
    • paintThumbs Link icon

      protected void paintThumbs(Graphics g)