JHotDraw 7.6

org.jhotdraw.gui.plaf.palette
Class PaletteColorSliderUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.SliderUI
          extended by javax.swing.plaf.basic.BasicSliderUI
              extended by org.jhotdraw.color.ColorSliderUI
                  extended by org.jhotdraw.gui.plaf.palette.PaletteColorSliderUI

public class PaletteColorSliderUI
extends ColorSliderUI

PaletteColorSliderUI.

Version:
$Id$
Author:
Werner Randelshofer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.color.ColorSliderUI
ColorSliderUI.CSUIPropertyChangeHandler, ColorSliderUI.TrackListener
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSliderUI
javax.swing.plaf.basic.BasicSliderUI.ActionScroller, javax.swing.plaf.basic.BasicSliderUI.ChangeHandler, javax.swing.plaf.basic.BasicSliderUI.ComponentHandler, javax.swing.plaf.basic.BasicSliderUI.FocusHandler, javax.swing.plaf.basic.BasicSliderUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicSliderUI.ScrollListener
 
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
PaletteColorSliderUI(javax.swing.JSlider b)
          Creates a new instance.
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
           
protected  javax.swing.Icon getThumbIcon()
           
 
Methods inherited from class org.jhotdraw.color.ColorSliderUI
calculateThumbLocation, calculateTickRect, calculateTrackRect, createPropertyChangeListener, createTrackListener, getMinimumHorizontalSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, getThumbSize, getTickLength, installDefaults, paintColorTrack, paintFocus, paintMajorTickForHorizSlider, paintMajorTickForVertSlider, paintMinorTickForHorizSlider, paintMinorTickForVertSlider, paintThumb, paintTicks, paintTrack
 
Methods inherited from class javax.swing.plaf.basic.BasicSliderUI
calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateThumbSize, calculateTrackBuffer, createChangeListener, createComponentListener, createFocusListener, createScrollListener, drawInverted, getBaseline, getBaselineResizeBehavior, getFocusColor, getHeightOfHighValueLabel, getHeightOfLowValueLabel, getHeightOfTallestLabel, getHighestValue, getHighestValueLabel, getHighlightColor, getLowestValue, getLowestValueLabel, getMaximumSize, getMinimumSize, getShadowColor, getWidthOfHighValueLabel, getWidthOfLowValueLabel, getWidthOfWidestLabel, installKeyboardActions, installListeners, installUI, isDragging, labelsHaveSameBaselines, paint, paintHorizontalLabel, paintLabels, paintVerticalLabel, recalculateIfInsetsChanged, recalculateIfOrientationChanged, scrollByBlock, scrollByUnit, scrollDueToClickInTrack, setThumbLocation, uninstallKeyboardActions, uninstallListeners, uninstallUI, valueForXPosition, valueForYPosition, xPositionForValue, yPositionForValue, 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

PaletteColorSliderUI

public PaletteColorSliderUI(javax.swing.JSlider b)
Creates a new instance.

Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)

getThumbIcon

protected javax.swing.Icon getThumbIcon()
Overrides:
getThumbIcon in class ColorSliderUI

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.