void
|
calculateContentRect()
|
void
|
calculateFocusRect()
|
void
|
calculateGeometry()
|
void
|
calculateLabelRect()
|
void
|
calculateThumbLocation()
|
void
|
calculateThumbSize()
|
void
|
calculateTickRect()
|
void
|
calculateTrackBuffer()
|
void
|
calculateTrackRect()
|
ChangeListener
|
createChangeListener(JSlider slider)
|
ComponentListener
|
createComponentListener(JSlider slider)
|
FocusListener
|
createFocusListener(JSlider slider)
|
PropertyChangeListener
|
createPropertyChangeListener(JSlider slider)
|
BasicSliderUI.ScrollListener
|
createScrollListener(JSlider slider)
|
BasicSliderUI.TrackListener
|
createTrackListener(JSlider slider)
|
static
ComponentUI
|
createUI(JComponent b)
|
boolean
|
drawInverted()
|
int
|
getBaseline(JComponent c, int width, int height)
Returns the baseline.
|
Component.BaselineResizeBehavior
|
getBaselineResizeBehavior(JComponent c)
Returns an enum indicating how the baseline of the component
changes as the size changes.
|
Color
|
getFocusColor()
|
int
|
getHeightOfHighValueLabel()
|
int
|
getHeightOfLowValueLabel()
|
int
|
getHeightOfTallestLabel()
|
Integer
|
getHighestValue()
Returns the biggest value that has an entry in the label table.
|
Component
|
getHighestValueLabel()
Returns the label that corresponds to the lowest slider value in the label table.
|
Color
|
getHighlightColor()
|
Integer
|
getLowestValue()
Returns the smallest value that has an entry in the label table.
|
Component
|
getLowestValueLabel()
Returns the label that corresponds to the highest slider value in the label table.
|
Dimension
|
getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for
the look and feel.
|
Dimension
|
getMinimumHorizontalSize()
|
Dimension
|
getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for
the look and feel.
|
Dimension
|
getMinimumVerticalSize()
|
Dimension
|
getPreferredHorizontalSize()
|
Dimension
|
getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for
the look and feel.
|
Dimension
|
getPreferredVerticalSize()
|
Color
|
getShadowColor()
|
Dimension
|
getThumbSize()
|
int
|
getTickLength()
Gets the height of the tick area for horizontal sliders and the width of the
tick area for vertical sliders.
|
int
|
getWidthOfHighValueLabel()
|
int
|
getWidthOfLowValueLabel()
|
int
|
getWidthOfWidestLabel()
|
void
|
installDefaults(JSlider slider)
|
void
|
installKeyboardActions(JSlider slider)
|
void
|
installListeners(JSlider slider)
|
void
|
installUI(JComponent c)
Configures the specified component appropriate for the look and feel.
|
boolean
|
isDragging()
Returns true if the user is dragging the slider.
|
boolean
|
labelsHaveSameBaselines()
Returns true if all the labels from the label table have the same
baseline.
|
void
|
paint(Graphics g, JComponent c)
Paints the specified component appropriate for the look and feel.
|
void
|
paintFocus(Graphics g)
|
void
|
paintHorizontalLabel(Graphics g, int value, Component label)
Called for every label in the label table.
|
void
|
paintLabels(Graphics g)
|
void
|
paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
|
void
|
paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
|
void
|
paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
|
void
|
paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
|
void
|
paintThumb(Graphics g)
|
void
|
paintTicks(Graphics g)
|
void
|
paintTrack(Graphics g)
|
void
|
paintVerticalLabel(Graphics g, int value, Component label)
Called for every label in the label table.
|
void
|
recalculateIfInsetsChanged()
|
void
|
recalculateIfOrientationChanged()
|
void
|
scrollByBlock(int direction)
|
void
|
scrollByUnit(int direction)
|
void
|
scrollDueToClickInTrack(int dir)
This function is called when a mousePressed was detected in the track, not
in the thumb.
|
void
|
setThumbLocation(int x, int y)
|
void
|
uninstallKeyboardActions(JSlider slider)
|
void
|
uninstallListeners(JSlider slider)
|
void
|
uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during
installUI .
|
int
|
valueForXPosition(int xPos)
Returns a value give an x position.
|
int
|
valueForYPosition(int yPos)
Returns a value give a y position.
|
int
|
xPositionForValue(int value)
|
int
|
yPositionForValue(int value, int trackY, int trackHeight)
Returns the y location for the specified value.
|
int
|
yPositionForValue(int value)
|