- java.lang.Object
-
- javafx.scene.control.SkinBase<RangeSlider>
-
- impl.org.controlsfx.skin.RangeSliderSkin
-
- All Implemented Interfaces:
Skin<RangeSlider>
public class RangeSliderSkin extends SkinBase<RangeSlider>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RangeSliderSkin.FocusedChild
-
Constructor Summary
Constructors Constructor Description RangeSliderSkin(RangeSlider rangeSlider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected void
layoutChildren(double x, double y, double w, double h)
void
lowThumbDragged(MouseEvent e, double position)
void
lowThumbPressed(MouseEvent e, double position)
void
lowThumbReleased(MouseEvent e)
When lowThumb is released lowValueChanging should be set to false.void
setSelectedValue(Callback<Void,RangeSliderSkin.FocusedChild> c)
void
trackRelease(MouseEvent e, double position)
-
Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Constructor Detail
-
RangeSliderSkin
public RangeSliderSkin(RangeSlider rangeSlider)
-
-
Method Detail
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h)
- Overrides:
layoutChildren
in classSkinBase<RangeSlider>
-
computeMinWidth
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMinWidth
in classSkinBase<RangeSlider>
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMinHeight
in classSkinBase<RangeSlider>
-
computePrefWidth
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computePrefWidth
in classSkinBase<RangeSlider>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computePrefHeight
in classSkinBase<RangeSlider>
-
computeMaxWidth
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMaxWidth
in classSkinBase<RangeSlider>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMaxHeight
in classSkinBase<RangeSlider>
-
setSelectedValue
public void setSelectedValue(Callback<Void,RangeSliderSkin.FocusedChild> c)
-
trackRelease
public void trackRelease(MouseEvent e, double position)
-
lowThumbPressed
public void lowThumbPressed(MouseEvent e, double position)
- Parameters:
position
- The mouse position on track with 0.0 being beginning of track and 1.0 being the end
-
lowThumbDragged
public void lowThumbDragged(MouseEvent e, double position)
- Parameters:
position
- The mouse position on track with 0.0 being beginning of track and 1.0 being the end
-
lowThumbReleased
public void lowThumbReleased(MouseEvent e)
When lowThumb is released lowValueChanging should be set to false.
-
-