Package PamView.sliders
Class PamSliderUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SliderUI
javax.swing.plaf.basic.BasicSliderUI
PamView.sliders.PamSliderUI
- Direct Known Subclasses:
PamRangeSliderUI
-
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
MAX_SCROLL, MIN_SCROLL, NEGATIVE_SCROLL, POSITIVE_SCROLL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paint
(Graphics g, JComponent c) void
void
paintThumb
(Graphics g, Rectangle thumbBounds, Color fillColour, Color lineColour) void
setThumbSizes
(int width, int height) Set the sizes of the thumbsMethods inherited from class javax.swing.plaf.basic.BasicSliderUI
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, installUI, paintFocus, paintLabels, paintTicks, paintTrack, scrollByBlock, scrollByUnit, setThumbLocation, uninstallUI, valueForXPosition, valueForYPosition
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
PamSliderUI
-
-
Method Details
-
setThumbSizes
public void setThumbSizes(int width, int height) Set the sizes of the thumbs- Parameters:
width
-height
-
-
paint
- Overrides:
paint
in classBasicSliderUI
-
paintThumb
- Overrides:
paintThumb
in classBasicSliderUI
-
paintThumb
-