| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final SegmentSkin. | |
| private boolean | |
| private final DoubleProperty | |
| private double | |
| private double | |
| private final double | |
| private Timeline | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private double | |
| private int | |
| private boolean | |
| private void | layoutCell(double contentX, double contentY, double contentWidth, double contentHeight, double x, double y, double offset, Segment<T, S> segment, Callback<Segment<T, S>, SegmentCell<S>> cellFactory, ObservableList<S> items, int index, int position)
|
| protected void | layoutChildren(double
the x position contentX, double the y position contentY, double the width contentWidth, double the height contentHeight)Overrides javafx. Called during the layout pass of the scenegraph. |
| private void | layoutChildrenHorizontally(double contentX, double contentY, double contentWidth, double contentHeight, Segment<T, S> tumbler, Callback<Segment<T, S>, SegmentCell<S>> cellFactory, ObservableList<S> items, double cellSize)
|
| private void | layoutChildrenVertically(double contentX, double contentY, double contentWidth, double contentHeight, Segment<T, S> tumbler, Callback<Segment<T, S>, SegmentCell<S>> cellFactory, ObservableList<S> items, double cellSize)
|
| private void | |
| private void | |
| private void | |
| private void |
| dragging | back to summary |
|---|---|
| private boolean dragging | |
| fixerService | back to summary |
|---|---|
| private final SegmentSkin. | |
| inertia | back to summary |
|---|---|
| private boolean inertia | |
| location | back to summary |
|---|---|
| private final DoubleProperty location | |
| mouseStartX | back to summary |
|---|---|
| private double mouseStartX | |
| mouseStartY | back to summary |
|---|---|
| private double mouseStartY | |
| STEPS | back to summary |
|---|---|
| private final double STEPS | |
| timeline | back to summary |
|---|---|
| private Timeline timeline | |
| updatingValue | back to summary |
|---|---|
| private boolean updatingValue | |
| SegmentSkin | back to summary |
|---|---|
| public SegmentSkin(Segment<T, S> control) | |
| getIndexForLocation | back to summary |
|---|---|
| private int getIndexForLocation() | |
| getOffset | back to summary |
|---|---|
| private double getOffset() | |
| getValueIndexForLocation | back to summary |
|---|---|
| private int getValueIndexForLocation() | |
| isInertia | back to summary |
|---|---|
| private boolean isInertia() | |
| layoutCell | back to summary |
|---|---|
| private void layoutCell(double contentX, double contentY, double contentWidth, double contentHeight, double x, double y, double offset, Segment<T, S> segment, Callback<Segment<T, S>, SegmentCell<S>> cellFactory, ObservableList<S> items, int index, int position) | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| layoutChildrenHorizontally | back to summary |
|---|---|
| private void layoutChildrenHorizontally(double contentX, double contentY, double contentWidth, double contentHeight, Segment<T, S> tumbler, Callback<Segment<T, S>, SegmentCell<S>> cellFactory, ObservableList<S> items, double cellSize) | |
| layoutChildrenVertically | back to summary |
|---|---|
| private void layoutChildrenVertically(double contentX, double contentY, double contentWidth, double contentHeight, Segment<T, S> tumbler, Callback<Segment<T, S>, SegmentCell<S>> cellFactory, ObservableList<S> items, double cellSize) | |
| scrollTo | back to summary |
|---|---|
| private void scrollTo(double loc) | |
| scrollToAnimated | back to summary |
|---|---|
| private void scrollToAnimated(double loc) | |
| scrollToCurrentValue | back to summary |
|---|---|
| private void scrollToCurrentValue() | |
| snapLocation | back to summary |
|---|---|
| private void snapLocation() | |
| Modifier and Type | Field and Description |
|---|---|
| private final SegmentSkin |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Task | createTask()
Implements abstract javafx. Invoked after the Service is started on the JavaFX Application Thread. |
| segmentSkin | back to summary |
|---|---|
| private final SegmentSkin<?, ?> segmentSkin | |
| FixerService | back to summary |
|---|---|
| pack-priv FixerService(SegmentSkin<?, ?> skin) | |
| createTask | back to summary |
|---|---|
| protected Task Implements abstract javafx. Doc from javafx. Invoked after the Service is started on the JavaFX Application Thread. Implementations should save off any state into final variables prior to creating the Task, since accessing properties defined on the Service within the background thread code of the Task will result in exceptions. For example:
If the Task is a pre-defined class (as opposed to being an anonymous class), and if it followed the recommended best-practice, then there is no need to save off state prior to constructing the Task since its state is completely provided in its constructor.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SegmentSkin |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Void | call()
Implements abstract javafx. Invoked when the Task is executed, the call method must be overridden and implemented by subclasses. |
| segmentSkin | back to summary |
|---|---|
| private final SegmentSkin<?, ?> segmentSkin | |
| FixerTask | back to summary |
|---|---|
| pack-priv FixerTask(SegmentSkin<?, ?> skin) | |
| call | back to summary |
|---|---|
| protected Void call() throws Exception Implements abstract javafx. Doc from javafx. Invoked when the Task is executed, the call method must be overridden and implemented by subclasses. The call method actually performs the background thread logic. Only the updateProgress, updateMessage, updateValue and updateTitle methods of Task may be called from code within this method. Any other interaction with the Task from the background thread will result in runtime exceptions. | |