public class ProgressIndicatorSkin
extends <any>
ProgressIndicator
control.ProgressIndicator
Modifier and Type | Class and Description |
---|---|
private class |
ProgressIndicatorSkin.DeterminateIndicator
*
Support classes *
*
|
private class |
ProgressIndicatorSkin.IndeterminateSpinner |
Modifier and Type | Field and Description |
---|---|
(package private) Duration |
CLIPPED_DELAY |
private ProgressIndicator |
control |
private ProgressIndicatorSkin.DeterminateIndicator |
determinateIndicator |
private java.lang.String |
DONE
DONE string is just used to know the size of Done as that is the biggest text we need to allow for
|
private static <any> |
INDETERMINATE_SEGMENT_COUNT |
private IntegerProperty |
indeterminateSegmentCount
The number of segments in the spinner.
|
(package private) Animation |
indeterminateTransition |
private static <any> |
PROGRESS_COLOR
*
Stylesheet Handling *
*
|
private <any> |
progressColor
The colour of the progress segment.
|
private static <any> |
SPIN_ENABLED |
private BooleanProperty |
spinEnabled
True if the progress indicator should rotate as well as animate opacity.
|
private ProgressIndicatorSkin.IndeterminateSpinner |
spinner |
private static java.util.List<<any>> |
STYLEABLES |
(package private) Duration |
UNCLIPPED_DELAY |
Constructor and Description |
---|
ProgressIndicatorSkin(ProgressIndicator control)
Creates a new ProgressIndicatorSkin instance, installing the necessary child
nodes into the Control
children list. |
Modifier and Type | Method and 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) |
(package private) void |
createIndeterminateTimeline() |
void |
dispose() |
static java.util.List<<any>> |
getClassCssMetaData()
Returns the CssMetaData associated with this class, which may include the
CssMetaData of its superclasses.
|
java.util.List<<any>> |
getCssMetaData() |
(package private) Paint |
getProgressColor() |
(package private) void |
initialize()
*
Private implementation *
*
|
protected void |
layoutChildren(double x,
double y,
double w,
double h) |
(package private) void |
pauseTimeline(boolean pause) |
(package private) void |
updateAnimation() |
(package private) void |
updateProgress() |
private final java.lang.String DONE
final Duration CLIPPED_DELAY
final Duration UNCLIPPED_DELAY
private ProgressIndicatorSkin.IndeterminateSpinner spinner
private ProgressIndicatorSkin.DeterminateIndicator determinateIndicator
private ProgressIndicator control
Animation indeterminateTransition
private <any> progressColor
private IntegerProperty indeterminateSegmentCount
private final BooleanProperty spinEnabled
private static final <any> PROGRESS_COLOR
private static final <any> INDETERMINATE_SEGMENT_COUNT
private static final <any> SPIN_ENABLED
private static final java.util.List<<any>> STYLEABLES
public ProgressIndicatorSkin(ProgressIndicator control)
children
list.control
- The control that this skin should be installed onto.Paint getProgressColor()
public void dispose()
protected void layoutChildren(double x, double y, double w, double h)
protected double computeMinWidth(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 computePrefWidth(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 computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
void initialize()
void updateProgress()
void createIndeterminateTimeline()
void pauseTimeline(boolean pause)
void updateAnimation()
public static java.util.List<<any>> getClassCssMetaData()
public java.util.List<<any>> getCssMetaData()