uic.themes
Class UICSliderUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.SliderUI
          extended byjavax.swing.plaf.basic.BasicSliderUI
              extended byuic.themes.UICSliderUI

public class UICSliderUI
extends BasicSliderUI


Nested Class Summary
 
Nested classes 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, 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)

installUI

public void installUI(JComponent c)

mouseWheelSlot

public void mouseWheelSlot(int rotation,
                           int units)

scrollDueToClickInTrack

protected void scrollDueToClickInTrack(int dir)

createTrackListener

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



Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence