public class AquaRangeSliderUI
extends AquaSliderUI
| Modifier and Type | Class and Description |
|---|---|
protected class |
AquaRangeSliderUI.RangeTrackListener |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hover |
protected static int |
MOUSE_HANDLE_BOTH |
protected static int |
MOUSE_HANDLE_LOWER |
protected static int |
MOUSE_HANDLE_MAX |
protected static int |
MOUSE_HANDLE_MIDDLE |
protected static int |
MOUSE_HANDLE_MIN |
protected static int |
MOUSE_HANDLE_NONE |
protected static int |
MOUSE_HANDLE_UPPER |
protected boolean |
pressed1 |
protected boolean |
pressed2 |
protected boolean |
rollover1 |
protected boolean |
rollover2 |
protected boolean |
second |
| Constructor and Description |
|---|
AquaRangeSliderUI(JSlider jSlider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustSnapHighValue() |
protected Point |
adjustThumbForHighValue() |
protected void |
calculateThumbLocation() |
protected BasicSliderUI.TrackListener |
createTrackListener(JSlider slider) |
static ComponentUI |
createUI(JComponent c) |
protected int |
getMouseHandle(int x,
int y) |
protected static boolean |
isActive(JComponent jcomponent) |
void |
paint(Graphics g,
JComponent c) |
void |
paintThumb(Graphics g) |
protected void |
restoreThumbForLowValue(Point p) |
void |
scrollByBlock(int direction) |
void |
scrollByUnit(int direction) |
protected void |
setMousePressed(int handle) |
protected void |
setMouseReleased(int handle) |
protected void |
setMouseRollover(int handle) |
protected static final int MOUSE_HANDLE_NONE
protected static final int MOUSE_HANDLE_MIN
protected static final int MOUSE_HANDLE_MAX
protected static final int MOUSE_HANDLE_MIDDLE
protected static final int MOUSE_HANDLE_LOWER
protected static final int MOUSE_HANDLE_UPPER
protected static final int MOUSE_HANDLE_BOTH
protected boolean hover
protected boolean second
protected boolean rollover1
protected boolean pressed1
protected boolean rollover2
protected boolean pressed2
public AquaRangeSliderUI(JSlider jSlider)
public static ComponentUI createUI(JComponent c)
public void paint(Graphics g, JComponent c)
protected static boolean isActive(JComponent jcomponent)
protected void restoreThumbForLowValue(Point p)
protected Point adjustThumbForHighValue()
protected void adjustSnapHighValue()
protected void calculateThumbLocation()
protected BasicSliderUI.TrackListener createTrackListener(JSlider slider)
protected int getMouseHandle(int x,
int y)
public void paintThumb(Graphics g)
protected void setMouseRollover(int handle)
protected void setMousePressed(int handle)
protected void setMouseReleased(int handle)
public void scrollByBlock(int direction)
public void scrollByUnit(int direction)
Copyright © 2017. All rights reserved.