Package com.bric.multislider
Class AquaMultiThumbSliderUi<T>
java.lang.Object
javax.swing.plaf.ComponentUI
com.bric.multislider.MultiThumbSliderUi<T>
com.bric.multislider.DefaultMultiThumbSliderUi<T>
com.bric.multislider.AquaMultiThumbSliderUi<T>
- All Implemented Interfaces:
MouseListener,MouseMotionListener,EventListener
-
Nested Class Summary
Nested classes/interfaces inherited from class com.bric.multislider.MultiThumbSliderUi
MultiThumbSliderUi.State, MultiThumbSliderUi.Thumb -
Field Summary
Fields inherited from class com.bric.multislider.DefaultMultiThumbSliderUi
FOCUS_PADDING, trackHighlightColorFields inherited from class com.bric.multislider.MultiThumbSliderUi
animatingRunnable, animatingThread, compListener, DEPTH, focusListener, indication, keyListener, MAX_LENGTH, MIN_LENGTH, mouseInside, mouseIsDown, PREF_LENGTH, propertyListener, slider, THUMB_SHAPE_PROPERTY, thumbIndications, thumbPositions, thumbShapeListener, trackRect -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Rectangleprotected intReturn the typical height of a horizontally oriented slider, or the width of the vertically oriented slider.protected DimensiongetThumbSize(int thumbIndex) protected voidprotected voidpaintThumb(Graphics2D g, int thumbIndex, float selected) protected voidMethods inherited from class com.bric.multislider.DefaultMultiThumbSliderUi
getTrackOutline, isTrackHighlightActive, paintThumbs, paintTick, paintTrackHighlightMethods inherited from class com.bric.multislider.MultiThumbSliderUi
addThumb, calculateGeometry, getMaximumSize, getMinimumSize, getPreferredSize, getProperty, getThumb, getThumbCenter, getThumbCenter, getThumbShape, getThumbShape, installUI, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, uninstallUI, updateIndication, validatePositionsMethods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Constructor Details
-
AquaMultiThumbSliderUi
-
-
Method Details
-
getPreferredComponentDepth
protected int getPreferredComponentDepth()Description copied from class:MultiThumbSliderUiReturn the typical height of a horizontally oriented slider, or the width of the vertically oriented slider.- Overrides:
getPreferredComponentDepthin classDefaultMultiThumbSliderUi<T>- Returns:
- the typical height of a horizontally oriented slider, or the width of the vertically oriented slider.
-
paintFocus
- Overrides:
paintFocusin classDefaultMultiThumbSliderUi<T>
-
getThumbSize
- Overrides:
getThumbSizein classDefaultMultiThumbSliderUi<T>
-
paintTrack
- Overrides:
paintTrackin classDefaultMultiThumbSliderUi<T>
-
calculateTrackRect
- Overrides:
calculateTrackRectin classDefaultMultiThumbSliderUi<T>
-
paintThumb
- Overrides:
paintThumbin classDefaultMultiThumbSliderUi<T>
-