|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JSlider
eu.hansolo.custom.RangeSlider
public class RangeSlider extends JSlider
| Nested Class Summary | |
|---|---|
static enum |
RangeSlider.ThumbDesign
|
static enum |
RangeSlider.ThumbShape
|
static enum |
RangeSlider.TrackWidth
|
| Field Summary | |
|---|---|
private boolean |
darkTrack
|
private int |
lowerValue
|
private Color |
rangeColor
|
private boolean |
rangeSelectionEnabled
|
private boolean |
rangeVisible
|
private RangeSlider.ThumbDesign |
thumbDesign
@author Gerrit Grunwald |
private RangeSlider.ThumbShape |
thumbShape
@author Gerrit Grunwald |
private RangeSlider.TrackWidth |
trackWidth
@author Gerrit Grunwald |
private int |
upperValue
|
| Fields inherited from class JSlider | |
|---|---|
| CENTER, TOP, LEFT, BOTTOM, RIGHT, NORTH, NORTH_EAST, EAST, SOUTH_EAST, SOUTH, SOUTH_WEST, WEST, NORTH_WEST, HORIZONTAL, VERTICAL, LEADING, TRAILING, NEXT, PREVIOUS, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT |
| Fields inherited from class JComponent | |
|---|---|
| WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT |
| Constructor Summary | |
RangeSlider()
|
|
RangeSlider(int min, int max)
|
|
| Method Summary | |
|---|---|
int
|
getLowerValue()
|
Color
|
getRangeColor()
|
RangeSlider.ThumbDesign
|
getThumbDesign()
|
RangeSlider.ThumbShape
|
getThumbShape()
|
RangeSlider.TrackWidth
|
getTrackWidth()
|
int
|
getUpperValue()
|
int
|
getValue()
|
private void
|
initSlider()
|
boolean
|
isDarkTrack()
|
boolean
|
isRangeSelectionEnabled()
|
boolean
|
isRangeVisible()
|
void
|
setDarkTrack(boolean DARK_TRACK)
|
void
|
setLowerValue(int LOWER_VALUE)
|
void
|
setOrientation(int orientation)
|
void
|
setRangeColor(Color RANGE_COLOR)
|
void
|
setRangeSelectionEnabled(boolean RANGE_SELECTION_ENABLED)
|
void
|
setRangeVisible(boolean RANGE_VISIBLE)
|
void
|
setThumbDesign(RangeSlider.ThumbDesign THUMB_DESIGN)
|
void
|
setThumbShape(RangeSlider.ThumbShape THUMB_SHAPE)
|
void
|
setTrackWidth(RangeSlider.TrackWidth TRACK_DESIGN)
|
void
|
setUpperValue(int UPPER_VALUE)
|
void
|
setValue(int value)
|
void
|
updateUI()
|
RangeSlider
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
RangeSlider
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
RangeSlider
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
RangeSlider[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
RangeSlider[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
RangeSlider[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Field Detail |
|---|
private boolean darkTrack
private int lowerValue
private Color rangeColor
private boolean rangeSelectionEnabled
private boolean rangeVisible
private RangeSlider.ThumbDesign thumbDesign
private RangeSlider.ThumbShape thumbShape
private RangeSlider.TrackWidth trackWidth
private int upperValue
| Constructor Detail |
|---|
public RangeSlider()
public RangeSlider(int min, int max)
| Method Detail |
|---|
public int getLowerValue()
public Color getRangeColor()
public RangeSlider.ThumbDesign getThumbDesign()
public RangeSlider.ThumbShape getThumbShape()
public RangeSlider.TrackWidth getTrackWidth()
public int getUpperValue()
@Override public int getValue()
private void initSlider()
public boolean isDarkTrack()
public boolean isRangeSelectionEnabled()
public boolean isRangeVisible()
public void setDarkTrack(boolean DARK_TRACK)
public void setLowerValue(int LOWER_VALUE)
@Override public void setOrientation(int orientation)
public void setRangeColor(Color RANGE_COLOR)
public void setRangeSelectionEnabled(boolean RANGE_SELECTION_ENABLED)
public void setRangeVisible(boolean RANGE_VISIBLE)
public void setThumbDesign(RangeSlider.ThumbDesign THUMB_DESIGN)
public void setThumbShape(RangeSlider.ThumbShape THUMB_SHAPE)
public void setTrackWidth(RangeSlider.TrackWidth TRACK_DESIGN)
public void setUpperValue(int UPPER_VALUE)
@Override public void setValue(int value)
@Override public void updateUI()
RangeSlider valueOf(String name)
RangeSlider valueOf(String name)
RangeSlider valueOf(String name)
RangeSlider[] values()
RangeSlider[] values()
RangeSlider[] values()
Groovy Documentation