JIDE 3.5.15

com.jidesoft.plaf.aqua
Class AquaRangeSliderUI

java.lang.Object
  extended by AquaSliderUI
      extended by com.jidesoft.plaf.aqua.AquaRangeSliderUI

public class AquaRangeSliderUI
extends AquaSliderUI


Nested Class Summary
protected  class AquaRangeSliderUI.RangeTrackListener
           
 
Field Summary
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 Summary
AquaRangeSliderUI(JSlider jSlider)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOUSE_HANDLE_NONE

protected static final int MOUSE_HANDLE_NONE
See Also:
Constant Field Values

MOUSE_HANDLE_MIN

protected static final int MOUSE_HANDLE_MIN
See Also:
Constant Field Values

MOUSE_HANDLE_MAX

protected static final int MOUSE_HANDLE_MAX
See Also:
Constant Field Values

MOUSE_HANDLE_MIDDLE

protected static final int MOUSE_HANDLE_MIDDLE
See Also:
Constant Field Values

MOUSE_HANDLE_LOWER

protected static final int MOUSE_HANDLE_LOWER
See Also:
Constant Field Values

MOUSE_HANDLE_UPPER

protected static final int MOUSE_HANDLE_UPPER
See Also:
Constant Field Values

MOUSE_HANDLE_BOTH

protected static final int MOUSE_HANDLE_BOTH
See Also:
Constant Field Values

hover

protected boolean hover

second

protected boolean second

rollover1

protected boolean rollover1

pressed1

protected boolean pressed1

rollover2

protected boolean rollover2

pressed2

protected boolean pressed2
Constructor Detail

AquaRangeSliderUI

public AquaRangeSliderUI(JSlider jSlider)
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paint

public void paint(Graphics g,
                  JComponent c)

isActive

protected static boolean isActive(JComponent jcomponent)

restoreThumbForLowValue

protected void restoreThumbForLowValue(Point p)

adjustThumbForHighValue

protected Point adjustThumbForHighValue()

adjustSnapHighValue

protected void adjustSnapHighValue()

calculateThumbLocation

protected void calculateThumbLocation()

createTrackListener

protected BasicSliderUI.TrackListener createTrackListener(JSlider slider)

getMouseHandle

protected int getMouseHandle(int x,
                             int y)

paintThumb

public void paintThumb(Graphics g)

setMouseRollover

protected void setMouseRollover(int handle)

setMousePressed

protected void setMousePressed(int handle)

setMouseReleased

protected void setMouseReleased(int handle)

scrollByBlock

public void scrollByBlock(int direction)

scrollByUnit

public void scrollByUnit(int direction)

JIDE 3.5.15