uic.themes
Class UICSliderUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.SliderUI
          extended by javax.swing.plaf.basic.BasicSliderUI
              extended by uic.themes.UICSliderUI

public class UICSliderUI
extends BasicSliderUI


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSliderUI
BasicSliderUI.ActionScroller, BasicSliderUI.ChangeHandler, BasicSliderUI.ComponentHandler, BasicSliderUI.FocusHandler, BasicSliderUI.PropertyChangeHandler, BasicSliderUI.ScrollListener, BasicSliderUI.TrackListener
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicSliderUI
changeListener, componentListener, contentRect, focusInsets, focusListener, focusRect, insetCache, labelRect, leftToRightCache, MAX_SCROLL, MIN_SCROLL, NEGATIVE_SCROLL, POSITIVE_SCROLL, propertyChangeListener, scrollListener, scrollTimer, slider, thumbRect, tickRect, trackBuffer, trackListener, trackRect
 
Constructor Summary
UICSliderUI()
           
 
Method Summary
protected  BasicSliderUI.TrackListener createTrackListener(JSlider slider)
          Override to provide our own TrackListener.
static ComponentUI createUI(JComponent c)
           
 void installUI(JComponent c)
           
 void mouseWheelSlot(int rotation, int units)
           
protected  void scrollDueToClickInTrack(int dir)
           
 void setThumbLocation(int x, int y)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicSliderUI
calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateThumbLocation, calculateThumbSize, calculateTickRect, calculateTrackBuffer, calculateTrackRect, createChangeListener, createComponentListener, createFocusListener, createPropertyChangeListener, createScrollListener, drawInverted, getFocusColor, getHeightOfHighValueLabel, getHeightOfLowValueLabel, getHeightOfTallestLabel, getHighestValueLabel, getHighlightColor, getLowestValueLabel, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, getShadowColor, getThumbSize, getTickLength, getWidthOfHighValueLabel, getWidthOfLowValueLabel, getWidthOfWidestLabel, installDefaults, installKeyboardActions, installListeners, isDragging, paint, paintFocus, paintHorizontalLabel, paintLabels, paintMajorTickForHorizSlider, paintMajorTickForVertSlider, paintMinorTickForHorizSlider, paintMinorTickForVertSlider, paintThumb, paintTicks, paintTrack, paintVerticalLabel, recalculateIfInsetsChanged, recalculateIfOrientationChanged, scrollByBlock, scrollByUnit, uninstallKeyboardActions, uninstallListeners, uninstallUI, valueForXPosition, valueForYPosition, xPositionForValue, yPositionForValue
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UICSliderUI

public UICSliderUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

setThumbLocation

public void setThumbLocation(int x,
                             int y)
Overrides:
setThumbLocation in class BasicSliderUI

installUI

public void installUI(JComponent c)
Overrides:
installUI in class BasicSliderUI

mouseWheelSlot

public void mouseWheelSlot(int rotation,
                           int units)

scrollDueToClickInTrack

protected void scrollDueToClickInTrack(int dir)
Overrides:
scrollDueToClickInTrack in class BasicSliderUI

createTrackListener

protected BasicSliderUI.TrackListener createTrackListener(JSlider slider)
Override to provide our own TrackListener.

Overrides:
createTrackListener in class BasicSliderUI


Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence